Files
brainwave/docs/design_handoff_brainwave/samples/mixed-demo.json
T
LaurensBartelds be69db04a5 Add SVG icons and TypeScript configuration files
- Introduced a new favicon.svg file for the application.
- Added icons.svg containing various SVG symbols for UI components.
- Created tsconfig.app.json for frontend TypeScript configuration with ES2023 target and bundler mode.
- Established tsconfig.json to reference app and node configurations.
- Implemented tsconfig.node.json for Node.js specific TypeScript settings.
2026-04-21 22:19:06 +02:00

81 lines
2.3 KiB
JSON

{
"title": "Mixed Demo — Every Question Type",
"subtitle": "A tour of every renderer in the platform",
"timeLimitMinutes": null,
"feedbackMode": "end",
"categories": ["Demo"],
"questions": [
{
"id": "q1",
"type": "multiple-choice",
"category": "Demo",
"points": 1,
"prompt": "Which of the following is the capital of Japan?",
"image": {
"src": "https://images.unsplash.com/photo-1540959733332-eab4deabeeaf?w=800",
"alt": "City skyline",
"caption": "A city skyline — can you identify it?"
},
"choices": [
{ "id": "a", "text": "Kyoto" },
{ "id": "b", "text": "Osaka" },
{ "id": "c", "text": "Tokyo" },
{ "id": "d", "text": "Hiroshima" }
],
"answer": "c",
"explanation": "Tokyo has been Japan's capital since 1868."
},
{
"id": "q2",
"type": "multiple-choice",
"category": "Demo",
"points": 2,
"prompt": "What does the following function return when called with `fib(6)`?",
"code": {
"language": "javascript",
"content": "function fib(n) {\n if (n < 2) return n;\n return fib(n - 1) + fib(n - 2);\n}"
},
"choices": [
{ "id": "a", "text": "5" },
{ "id": "b", "text": "8" },
{ "id": "c", "text": "13" },
{ "id": "d", "text": "6" }
],
"answer": "b",
"explanation": "The Fibonacci sequence is 0, 1, 1, 2, 3, 5, 8 — so fib(6) = 8."
},
{
"id": "q3",
"type": "short-answer",
"category": "Demo",
"points": 1,
"prompt": "In the data table below, which country had the highest GDP growth?",
"table": {
"headers": ["Country", "GDP Growth (%)", "Year"],
"rows": [
["Vietnam", "7.2", "2024"],
["India", "6.8", "2024"],
["Indonesia", "5.1", "2024"],
["Philippines", "5.9", "2024"]
]
},
"answer": "Vietnam",
"caseSensitive": false
},
{
"id": "q4",
"type": "essay",
"category": "Demo",
"points": 5,
"prompt": "Describe a time you solved a difficult problem. What approach did you take?",
"minWords": 50,
"rubric": [
"Specific situation (not generic)",
"Clear problem statement",
"Described methodology",
"Outcome or reflection"
]
}
]
}