⚡0 XP🔥0

Prompts for Teaching and Learning

Lesson 14 of 19 ⏱ 4 min read ✎ 2 exercises ❓ 4-question quiz ▶ Runs Python

Use AI as a tutor and teaching assistant - explain concepts at the right level, use analogies and bilingual explanations, generate quizzes, lesson plans and worksheets, and learn actively without cheating yourself.

AI as a tutor - for learners#

AI can explain any topic, at any level, as many times as you need - without getting tired. Used well, it makes you learn faster. Used badly (copying answers), it stops you from learning at all.

1. Explain at my level#

Explain recursion to me. I know Python functions and loops but this is my
first time seeing recursion. Use a real-life analogy, then a tiny code
example, then trace it step by step. End with one question to check if I
understood.

2. Bilingual explanations#

Explain how a for-loop works with range() in simple English. After each
difficult idea, add a short explanation in Hindi. Keep technical terms
like "loop", "range" and "iteration" in English.
हिंदी में समझें

सीखने के लिए AI सबसे अच्छा personal tutor है - आप उससे बार-बार, बिना झिझक पूछ सकते हैं। कठिन topic को हिंदी में समझाने के लिए भी कह सकते हैं, लेकिन technical शब्द (loop, function, variable) English में ही रखवाएँ - interview और नौकरी में यही शब्द काम आते हैं।

लेकिन सावधान: AI से homework या assignment का जवाब copy करना अपने आप को धोखा देना है। AI से समझें, फिर खुद लिखें। Exam और interview में AI आपके साथ नहीं होगा।

3. Socratic tutor - learn by thinking#

Act as my Socratic tutor for Python. Don't give me the answer directly.
Ask me one guiding question at a time to help me figure out why my code
below prints the wrong total. Only give a hint if I'm stuck twice.

<code>
total = 0
for n in [1, 2, 3]:
    total = n
print(total)
</code>

4. Practice and self-testing#

Quiz me on Python dictionaries. Ask one question at a time, wait for my
answer, tell me if I'm right, and explain any mistake. Increase the
difficulty when I get 2 in a row right. Stop after 8 questions and give
me a summary of my weak areas.

5. Check my work - not do my work#

Here is my solution to the exercise. Don't rewrite it. Tell me:
1. Is it correct for all inputs? If not, which input breaks it?
2. One thing I did well.
3. One improvement, as a hint (not the full code).

AI as a teaching assistant - for trainers and teachers#

Lesson plans#

Create a 60-minute lesson plan for "Python lists" for first-year BCA
students who know variables and loops.

Include: learning objectives (3), warm-up question (5 min),
explanation with 2 examples (20 min), pair activity (15 min),
quick quiz (10 min), homework (2 tasks), and common student mistakes
to watch for.

Quizzes and question papers#

Create 10 MCQs on Python strings for B.Sc. first-year students.
- Mix: 4 easy, 4 medium, 2 hard
- 4 options each (A-D), exactly one correct
- Include code-output questions
- After each question, give the answer and a one-line explanation
- Avoid trick questions and "all of the above"
Common Mistake

AI-generated questions can contain wrong answers or two correct options. Always solve and check them before giving them to students - or run code-output questions in Python to confirm.

▶ Try it YourselfPython
Ctrl + Enter to run

Worksheets, explanations and differentiation#

  • "Create 3 versions of this worksheet: basic, standard and challenge."
  • "Rewrite this explanation for a student who finds maths difficult."
  • "Give 5 real-life Indian examples to explain percentages (shopping, GST, marks, interest, discounts)."
  • "Create a rubric to grade a mini-project: code quality, correctness, documentation, presentation."

NCERT-aligned content (for school classes)#

Using the NCERT Class 9 Science chapter "Matter in Our Surroundings",
create:
1. A summary in 10 key points (simple English)
2. 5 very short answer questions with answers
3. 3 HOTS (higher-order thinking) questions
4. A Hindi glossary of 10 key terms
Use only concepts from this chapter.
Tip

For syllabus-aligned material, paste the actual chapter text or syllabus points into the prompt. This keeps the AI within the syllabus and avoids topics from other boards.

Summary#

  • Learners: ask for level-appropriate and bilingual explanations, Socratic tutoring, quizzes and feedback - not ready-made answers.
  • Teachers: generate lesson plans, quizzes, worksheets, rubrics and differentiated material quickly.
  • Always verify AI-generated questions and answers; run code-output questions.
  • Paste the syllabus or chapter text to keep content aligned.

Practice Exercises

Write your code, then press Check. Your program is tested automatically.

1

Quiz prompt builder

Write quiz_prompt(topic, level, n, difficulty) that returns:

Create N multiple-choice questions on TOPIC for LEVEL students. Difficulty: DIFFICULTY. Each question must have 4 options (A-D), exactly one correct answer, and a one-line explanation.

2

Check an AI-generated quiz

An AI produced a quiz as a list of dicts with options (list) and answer (index). Write invalid_questions(quiz) that returns the 1-based numbers of questions that are invalid: not exactly 4 options, answer index out of range, or duplicate options.

Quick Quiz

Q1.

What is the "Socratic tutor" approach?

Q2.

To generate a good MCQ quiz, you should specify...

Q3.

How should a student use AI for homework?

Q4.

Why ask for explanations in English with Hindi for difficult parts?