Egypt › Secondary › First Secondary Grade › Programming and Artificial Intelligence › Unit ١٣: Generative AI

Lesson ٧: Developing a Quiz Application

First Secondary GradeProgramming and Artificial IntelligenceSecond Termالدرس ٧٣٠ دقيقة

فيديو الشرح

الفيديو قيد الإنتاج، وسيظهر هنا فور اعتماده.

ماذا ستتعلم؟

اختبر استعدادك أولًا

١. In the question "What does a quiz application do?" the options are: ١) Asks questions, takes answers, checks them and shows a score ٢) Prints papers ٣) Charges phones ٤) Plays music only. What is the number of the correct answer?
٢. In the question "What is the first step in developing a quiz app?" the options are: ١) Choosing colors only ٢) Planning: questions, kinds and scoring ٣) Buying a computer ٤) Deleting files. What is the number of the correct answer?
٣. In the question "Which language checks answers and counts the score?" the options are: ١) HTML ٢) CSS ٣) JavaScript ٤) DNS. What is the number of the correct answer?

الشرح خطوة بخطوة

Level ١: We explore together

Lesson topic: Developing a Quiz Application. Our final project in this unit is a small quiz application on a web page.

The story: A quiz app asks questions, takes answers, checks them and shows a score. We plan the app first: how many questions, what kinds, and how the score is counted. Then we build it with HTML for the questions, CSS for the look, and JavaScript for checking and scoring. We can ask AI to write the first code, then we test every question and fix mistakes. In this lesson we learn the steps of developing a small quiz application.

أخطاء شائعة وتصحيحها

أمثلة محلولة متدرجة

Easy · مثال ١

What four jobs does a quiz app do?

  1. نقرأ السؤال معًا بهدوء.
  2. Ask, take, check, ...
الإجابة: Asks questions, takes answers, checks them and shows a score
Easy · مثال ٢

What is the first step of developing the app?

  1. نقرأ السؤال معًا بهدوء.
  2. Before any code.
الإجابة: Planning the questions, their kinds and the scoring
Easy · مثال ٣

Which language counts the score?

  1. نقرأ السؤال معًا بهدوء.
  2. The logic language.
الإجابة: JavaScript
Medium · مثال ٤

Write a mini plan for a three-question geography quiz.

  1. نقرأ السؤال معًا بهدوء.
  2. Questions, kind, scoring.
الإجابة: Example: three multiple-choice questions about capitals, one point per correct answer, score shown out of three at the end
Medium · مثال ٥

Why is planning first cheaper than fixing later?

  1. نقرأ السؤال معًا بهدوء.
  2. Rebuilds cost more.
الإجابة: Because changing the plan early costs minutes, while rebuilding a coded app after a bad start costs much more time
Medium · مثال ٦

List a testing checklist of four items for your quiz app.

  1. نقرأ السؤال معًا بهدوء.
  2. Questions, checks, score, refresh.
الإجابة: Every question appears correctly; every answer is checked correctly; the score counts right; the app still works after refreshing the page
Medium · مثال ٧

How do we use AI honestly in this project?

  1. نقرأ السؤال معًا بهدوء.
  2. Draft help, human testing.
الإجابة: We let AI write the first code from our plan, then we test and fix it ourselves and take responsibility for the result
Advanced · مثال ٨

Design the full flow of a five-question quiz app: data, events, scoring rule, and one fairness feature.

  1. نقرأ السؤال معًا بهدوء.
  2. Data plus behavior plus rule.
الإجابة: Data: five questions each with four options and one correct answer; events: the visitor picks an option per question and clicks finish; scoring: one point per correct answer shown out of five; fairness: the visitor can review which answers were wrong after finishing
Error analysis · مثال ٩

Your friend says: "Testing is optional if AI wrote the code." Is this correct?

  1. نقرأ السؤال معًا بهدوء.
  2. Who is responsible?
الإجابة: Wrong, testing is a duty; the human developer is responsible for the app even when AI writes the first code

الخريطة الذهنية

Developing a Quiz ApplicationUnit ١٣: Generative AI
▼
Asks questions, takes answers, checks them and shows a scoreWhat does a quiz application do?
Planning: questions, kinds and scoringWhat is the first step in developing a quiz app?
JavaScriptFrom the lesson questions
HTMLWhich language shows the questions on the page?

إنفوجرافيك: Lesson map: words of the day

Lesson map: words of the day
اضغط على أي صف لترى الفكرة.
The key ideas of the lesson in order
We review the questions after one day, then after three days

تدريبات متنوعة مع الإجابات والتفسير

اكتب الإجابة أو اختر ثم اضغط. بعد كل سؤال يظهر الحل مع التفسير.

A) I choose the answer

١. The answer "Planning: questions, kinds and scoring" to the question "What is the first step in developing a quiz app?" is correct.
٢. Which question has the answer "JavaScript"?
٣. Which question has the answer "The developer with AI help when needed"?
٤. Which question has the answer "Clear questions, correct checking, and honest scoring"?
٥. The answer "No need to plan" to the question "Why do we plan before coding the app?" is correct.
٦. Which question has the answer "Writing the first version of the code from our plan"?
٧. The answer "Clear questions, correct checking, and honest scoring" to the question "What makes a quiz app fair?" is correct.
٨. The answer "CSS" to the question "Which language shows the questions on the page?" is correct.

B) I practice and answer

١. The answer "Plays music only" to the question "What does a quiz application do?" is correct.
٢. Which question has the answer "Asks questions, takes answers, checks them and shows a score"?
٣. The answer "Nobody" to the question "Who fixes the mistakes the testing finds?" is correct.
٤. Which question has the answer "Planning: questions, kinds and scoring"?
٥. The answer "Taking the exam for us" to the question "How can AI help in this project?" is correct.
٦. The answer "The audience" to the question "Who fixes the mistakes the testing finds?" is correct.
٧. The answer "SQL" to the question "Which language shows the questions on the page?" is correct.
٨. Which question has the answer "Plan, build with AI help, test and fix, share"?

C) I review and play

١. The answer "Choosing colors only" to the question "What is the first step in developing a quiz app?" is correct.
٢. From the lesson explanation: Then we build it with HTML for the questions, CSS for the look, and JavaScript for checking and scoring.
٣. From the lesson explanation: A quiz app asks questions, takes answers, checks them and shows a score.
٤. The answer "The printer" to the question "Who fixes the mistakes the testing finds?" is correct.
٥. The answer "Share, plan, build, test" to the question "Order the steps: test and fix, plan, build with AI help, share." is correct.
٦. The answer "JavaScript" to the question "Which language checks answers and counts the score?" is correct.
٧. The answer "HTML" to the question "Which language checks answers and counts the score?" is correct.
٨. From the lesson explanation: What makes a quiz app fair?

ملخص صوتي وقارئ الدرس

قارئ تجريبي يعمل بصوت جهازك (مجاني). ليس تسجيلًا احترافيًا، وجودة الصوت العربي تختلف من جهاز لآخر. التسجيل الصوتي الاحترافي لم يُنتج بعد.

Lesson topic: Developing a Quiz Application. Our final project in this unit is a small quiz application on a web page.

We review the key points of the lesson: What does a quiz application do? -> Asks questions, takes answers, checks them and shows a score; What is the first step in developing a quiz app? -> Planning: questions, kinds and scoring.

We apply what we learned by answering these questions: What does a quiz application do? -> Asks questions, takes answers, checks them and shows a score; What is the first step in developing a quiz app? -> Planning: questions, kinds and scoring; Which language checks answers and counts the score? -> JavaScript.

مسار المراجعة للامتحان

  1. Day one (١٠ minutes): We read levels ١ to ٣ together, then solve exercises (A).
  2. Day two (١٠ minutes): We play the level ٤ games and solve exercises (B).
  3. Day three (١٠ minutes): Exercises (C), then the Level One test.
  4. Before the school exam: We repeat the Level Three test and look at the common mistakes.

اختبارات بثلاثة مستويات

Level One Test: The Basics

٨ أسئلة. اجب ثم اضغط «أنهِ الاختبار» لترى درجتك.

١. From the lesson explanation: How can AI help in this project?
٢. Which question has the answer "Every question, every answer check, and the final score"?
٣. The answer "Nothing" to the question "How can AI help in this project?" is correct.
٤. The answer "Trick questions only" to the question "What makes a quiz app fair?" is correct.
٥. The answer "Asks questions, takes answers, checks them and shows a score" to the question "What does a quiz application do?" is correct.
٦. The answer "To make it slower" to the question "Why do we plan before coding the app?" is correct.
٧. The answer "Test, share, build, plan" to the question "Order the steps: test and fix, plan, build with AI help, share." is correct.
٨. The answer "Writing the first version of the code from our plan" to the question "How can AI help in this project?" is correct.

المصادر والحقوق

رمز QR هذه الصفحة. يفتح درس «Lesson ٧: Developing a Quiz Application» نفسه.