Using H5P and AI to create multiple choice quizzes

Prompt for ChatGTP

“Create a multiple choice quiz about your text. Create 10 questions with 4 alternatives for each question. Output the questions with the question on the first line, the alternative answers on the following 4 lines. Prefix the correct answer with a *. Suffix the correct answer with ::: and an explanation for why this was the correct answer. Separate each question with an empty line. Do not add any labels, formatting or numbering. Do not assign letters to the alternatives. Follow the described format precisely as I will be pasting the output into another tool that expects this format.”

An example with a well known simple prompt

“Create a multiple choice quiz about Newtons 3 Laws. Create 10 questions with 4 alternatives for each question. Output the questions with the question on the first line, the alternative answers on the following 4 lines. Prefix the correct answer with a *. Suffix the correct answer with ::: and an explanation for why this was the correct answer. Separate each question with an empty line. Do not add any labels, formatting or numbering. Do not assign letters to the alternatives. Follow the described format precisely as I will be pasting the output into another tool that expects this format.”

This is some of the output which can then be pasted into the text dialogue for an H5P Question set

What does Newton’s first law of motion state?
*An object at rest will remain at rest unless acted upon by an external force::: This describes the principle of inertia, a key aspect of Newton’s first law.
An object in motion will always accelerate regardless of forces acting on it.
For every action, there is an equal and opposite reaction.
Force equals mass times acceleration.

Which of the following best demonstrates Newton’s second law of motion?
*A heavier object requires more force to accelerate than a lighter object::: Newton’s second law is expressed as F = ma, showing the relationship between force, mass, and acceleration.
An object will remain stationary unless a force acts on it.
When a ball rolls into a wall, the wall pushes back with equal force.
A spacecraft remains in motion without additional thrust in space.

What is the formula that represents Newton’s second law?
*F = ma::: This equation defines the relationship between force, mass, and acceleration.
F = m/a
F = m + a
F = m – a

If you double the force on an object while keeping the mass constant, what happens to its acceleration?
*It doubles::: Newton’s second law (F = ma) shows that force and acceleration are directly proportional.
It stays the same.
It is halved.

Licence

Icon for the Creative Commons Attribution-ShareAlike 4.0 International License

H5P and AI by alexblack is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License, except where otherwise noted.

Share This Book