Retext
GeminiAI AssistantQuiz Creation

Gemini Quiz Creation Prompt Template

You get a quiz that tests the specific learning objectives, with clear questions, plausible wrong answers, and a correct answer key. This version is set up for Gemini: attach files or images the prompt refers to, or paste the text below the instructions. Below you'll find the prompt, how to run it in Gemini, a worked example and answers to common questions.

Installs as a snippet — type ;quiz to paste this prompt anywhere on your Mac.
Prompt Template
Create a quiz.

## Quiz
Subject and level: [e.g. 6th grade science]
Topic: [e.g. the water cycle]
Learning objectives: [what students should know or be able to do]
Source material: [paste the lesson notes or reading, so questions match what was taught]

## Format
Number and types of questions: [e.g. 8 multiple choice, 2 short answer]
Time allowed: [e.g. 15 minutes]

## Instructions
- Each question maps to one learning objective.
- Multiple choice: four options, one clearly correct, three plausible wrong answers based on common mistakes.
- No trick questions, no "all of the above," no negatives like "which is NOT" unless I ask.
- Mix recall questions with questions that ask students to apply an idea.
- Base questions only on the source material.

## Output format
1. The quiz, ready to print
2. Answer key with a one-line explanation for each answer
3. Which objective each question tests

Context
- Reference material: [paste it below, or attach the file]

How to use this prompt

  1. 1

    Open Gemini

    Start a new chat in Gemini and paste the prompt.

  2. 2

    Give it context

    Attach files or images the prompt refers to, or paste the text below the instructions.

  3. 3

    Review and iterate

    Reply in the same chat to refine the result.

  4. 4

    Save what you repeat

    For a prompt you run often, save it as a Gem with custom instructions.

Working in Gemini

  • •Gemini accepts images and files as well as text, so attach a screenshot when the task is visual.
  • •Ask for the exact output format; otherwise answers tend to come with extra headings and summaries.
  • •If you use Google Docs or Sheets, ask for output you can paste straight in, such as a table.

Worked example

What you give it

Subject: 6th grade science.
Topic: the water cycle.
Objectives: name the main stages; explain what drives evaporation; apply the cycle to a real example.
Source: evaporation, condensation, precipitation, collection; the sun's heat drives evaporation; plants release water vapor (transpiration).
Format: 3 multiple choice.

What a good answer looks like (shortened)

1. Quiz
1. What process turns water vapor into the tiny droplets that form clouds?
a) Evaporation  b) Condensation  c) Precipitation  d) Collection

2. What provides the energy that drives evaporation?
a) Wind  b) The moon  c) The sun's heat  d) Ocean currents

3. On a hot morning, a puddle on the playground is gone by lunch. Where did most of the water go?
a) It soaked into the ground only  b) It turned into water vapor in the air  c) It froze  d) Plants drank all of it

2. Answer key
1. b. Condensation is vapor cooling into liquid droplets.
2. c. The sun heats water, turning it into vapor.
3. b. Heat evaporated the water into the air. (Some may soak in, but the question asks about a hot morning.)

3. Objectives: Q1 stages, Q2 what drives evaporation, Q3 apply to a real example.

Tips for better results

  • •List Learning objectives explicitly. Section 3 of the output then shows you at a glance whether the quiz covers all of them.
  • •Read each multiple-choice question and ask whether a strong student could argue for a second answer. Rewrite any that are ambiguous.
  • •Ask for the exact output format; otherwise answers tend to come with extra headings and summaries.
  • •Avoid this: Using answer choices where two could be argued as correct, which leads to disputes and unfair scores.

Get the free prompt pack

Our best coding prompts in one Markdown file, delivered by email. The templates here stay free either way — the pack just saves you the copying.

Variations

Online quiz import

Change Output format to: one question per line in the format Question | A | B | C | D | Correct letter.

Short answer with rubric

Change Format to 3 short-answer questions and add: a 3-point rubric for each, with an example full-credit answer.

Two versions

Add this line to Instructions: Make Version A and Version B with the same objectives but different questions, to reduce copying.

Save it as a Retext snippet

Retext is a free text expander for Mac. Save this prompt once, then type ;quiz in any app (ChatGPT, Claude, your editor, a browser tab) and the full prompt is pasted in.

  1. Click Add to Retext. The prompt installs as a snippet with the trigger ;quiz.
  2. Change the trigger in Retext if you prefer a different one.
  3. Type the trigger wherever you want the prompt, then fill in the brackets.

Frequently asked questions

How do I write good wrong answers for multiple choice?

Base them on mistakes students actually make, like confusing evaporation and condensation. Wrong answers that are obviously silly make the question too easy and tell you nothing.

Does Gemini need the material pasted in?

Attach or paste anything the prompt refers to. It can't see your files unless you share them in the chat.

Can I trust an AI-written answer key?

Check it, especially for questions where wording matters. The explanations in the answer key make it faster to spot a wrong or ambiguous answer.

How do I reuse this prompt without copying it every time?

Click Add to Retext to save it as a snippet. Then type ;quiz in any Mac app, including your AI tool, and the full prompt is pasted in.

Related Templates

Get the free prompt pack

Our best coding prompts in one Markdown file, delivered by email. The templates here stay free either way — the pack just saves you the copying.