This page demonstrates the H5P-style interactive question types available in this textbook. These questions provide immediate feedback to help students assess their understanding of key concepts.
Question Types Available¶
The following interactive question types are supported:
Multiple Choice (
h5p-multichoice) - Select one or more correct answersTrue/False (
h5p-truefalse) - Evaluate statements as true or falseFill in the Blanks (
h5p-blanks) - Complete sentences with missing words
Example 1: Multiple Choice Question¶
Test your understanding of measurement uncertainty:
Example 2: True/False Question¶
Evaluate this statement about statistical analysis:
Example 3: Fill in the Blanks¶
Complete the following statement about propagation of uncertainty:
Example 4: Multiple Choice with Context¶
Using These Questions in Your Content¶
To add interactive questions to any chapter, use the following directives:
Multiple Choice Syntax¶
```{h5p-multichoice} Question Title
:question: Your question text here
:choices: ["Option 1", "Option 2", "Option 3", "Option 4"]
:correct: 0
:feedback: ["Feedback for option 1", "Feedback for option 2", ...]
```True/False Syntax¶
```{h5p-truefalse} Question Title
:statement: The statement to evaluate
:correct: true
:feedbackTrue: Feedback shown when user selects True
:feedbackFalse: Feedback shown when user selects False
```Fill in the Blanks Syntax¶
```{h5p-blanks} Question Title
:text: Text with *answer* marked using asterisks. Use *option1|option2* for alternatives.
```