// Numbas version: finer_feedback_settings {"name": "Maya-Zahldarstellung", "extensions": [], "custom_part_types": [], "resources": [["question-resources/empty.png", "/srv/numbas/media/question-resources/empty.png"], ["question-resources/mayand00.png", "/srv/numbas/media/question-resources/mayand00.png"], ["question-resources/mayand01.png", "/srv/numbas/media/question-resources/mayand01.png"], ["question-resources/mayand02.png", "/srv/numbas/media/question-resources/mayand02.png"], ["question-resources/mayand03.png", "/srv/numbas/media/question-resources/mayand03.png"], ["question-resources/mayand04.png", "/srv/numbas/media/question-resources/mayand04.png"], ["question-resources/mayand05.png", "/srv/numbas/media/question-resources/mayand05.png"], ["question-resources/mayand06.png", "/srv/numbas/media/question-resources/mayand06.png"], ["question-resources/mayand07.png", "/srv/numbas/media/question-resources/mayand07.png"], ["question-resources/mayand08.png", "/srv/numbas/media/question-resources/mayand08.png"], ["question-resources/mayand09.png", "/srv/numbas/media/question-resources/mayand09.png"], ["question-resources/mayand10.png", "/srv/numbas/media/question-resources/mayand10.png"], ["question-resources/mayand11.png", "/srv/numbas/media/question-resources/mayand11.png"], ["question-resources/mayand12.png", "/srv/numbas/media/question-resources/mayand12.png"], ["question-resources/mayand13.png", "/srv/numbas/media/question-resources/mayand13.png"], ["question-resources/mayand14.png", "/srv/numbas/media/question-resources/mayand14.png"], ["question-resources/mayand15.png", "/srv/numbas/media/question-resources/mayand15.png"], ["question-resources/mayand16.png", "/srv/numbas/media/question-resources/mayand16.png"], ["question-resources/mayand17.png", "/srv/numbas/media/question-resources/mayand17.png"], ["question-resources/mayand18.png", "/srv/numbas/media/question-resources/mayand18.png"], ["question-resources/mayand19.png", "/srv/numbas/media/question-resources/mayand19.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Maya-Zahldarstellung", "tags": [], "metadata": {"description": "

Dechiffrierung von Maya-Zahlen

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

Unten sei ein Auszug aus einem Codex der Maya dargestellt, auf dem drei Zahlenangaben zu finden sind.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
\n
{image('resources/question-resources/'+digits[H[0]])}
\n
 \n
{image('resources/question-resources/'+digits[H[1]])}
\n
 \n
{image('resources/question-resources/'+digits[Hc])}
\n
\n
{image('resources/question-resources/'+digits[T[0]])}
\n
 \n
{image('resources/question-resources/'+digits[T[1]])}
\n
 \n
{image('resources/question-resources/'+digits[Tc])}
\n
\n
{image('resources/question-resources/'+digits[O[0]])}
\n
 \n
{image('resources/question-resources/'+digits[O[1]])}
\n
 \n
{image('resources/question-resources/'+digits[Oc])}
\n
", "advice": "

a) Die Zahlen werden von links nach rechts und unten nach oben gelesen. Die Stellenwerte sind Einer (Unten), 20er (Mitte) und 360er (Oben).

\n

Erste Zahl (Links): $\\qquad\\var{H[0]}\\cdot 360+\\var{T[0]}\\cdot 20+\\var{O[0]}=\\var{a}$

\n

Zweite Zahl (Mitte): $\\quad\\var{H[1]}\\cdot 360+\\var{T[1]}\\cdot 20+\\var{O[1]}=\\var{b}$

\n

Dritte Zahl (Rechts): $\\quad\\var{Hc}\\cdot 360+\\var{Tc}\\cdot 20+\\var{Oc}=\\var{c}$

\n
\n

b) Es gilt {bop[switch]}, es liegt also eine {cstring[switch]}-Aufgabe vor.

", "rulesets": {}, "extensions": [], "variables": {"H": {"name": "H", "group": "Ungrouped variables", "definition": "[random(8..11),random(3..6)]", "description": "", "templateType": "anything"}, "T": {"name": "T", "group": "Ungrouped variables", "definition": "[random(0..5),random(6..8)]\n", "description": "", "templateType": "anything"}, "O": {"name": "O", "group": "Ungrouped variables", "definition": "[random(0..19),random(1..19)]", "description": "", "templateType": "anything"}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "H[0]*360+20*T[0]+O[0]", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "H[1]*360+20*T[1]+O[1]", "description": "", "templateType": "anything"}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "if(switch=1,a-b,a+b)", "description": "", "templateType": "anything"}, "Hc": {"name": "Hc", "group": "Ungrouped variables", "definition": "floor(c/360)", "description": "", "templateType": "anything"}, "Tc": {"name": "Tc", "group": "Ungrouped variables", "definition": "floor((c-Hc*360)/20)", "description": "", "templateType": "anything"}, "Oc": {"name": "Oc", "group": "Ungrouped variables", "definition": "c-Hc*360-Tc*20", "description": "", "templateType": "anything"}, "Test": {"name": "Test", "group": "Ungrouped variables", "definition": "Hc*360+Tc*20+Oc", "description": "", "templateType": "anything"}, "switch": {"name": "switch", "group": "Ungrouped variables", "definition": "random(0..1)", "description": "", "templateType": "anything"}, "digits": {"name": "digits", "group": "Ungrouped variables", "definition": "['mayand00.png','mayand01.png','mayand02.png','mayand03.png','mayand04.png','mayand05.png',\n 'mayand06.png','mayand07.png','mayand08.png','mayand09.png','mayand10.png',\n 'mayand11.png','mayand12.png','mayand13.png','mayand14.png','mayand15.png',\n 'mayand16.png','mayand17.png','mayand18.png','mayand19.png']", "description": "", "templateType": "anything"}, "bstring": {"name": "bstring", "group": "Ungrouped variables", "definition": "['addi','subtra']", "description": "", "templateType": "anything"}, "cstring": {"name": "cstring", "group": "Ungrouped variables", "definition": "['Additions','Subtraktions']", "description": "", "templateType": "anything"}, "dstring": {"name": "dstring", "group": "Ungrouped variables", "definition": "['plus','minus']", "description": "", "templateType": "anything"}, "bop": {"name": "bop", "group": "Ungrouped variables", "definition": "['$'+a+'+'+b+'='+c+'$','$'+a+'-'+b+'='+c+'$']", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["H", "T", "O", "a", "b", "c", "Hc", "Tc", "Oc", "Test", "switch", "digits", "bstring", "cstring", "dstring", "bop"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Welche drei Zahlen sind hier dargestellt?

\n

1. Zahl: [[0]] 2. Zahl: [[1]] 3. Zahl: [[2]]

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "a", "marks": "1.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{a}", "maxValue": "{a}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": 0, "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["eu", "plain-eu"], "correctAnswerStyle": "plain-eu"}, {"type": "numberentry", "useCustomName": true, "customName": "b", "marks": "1.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{b}", "maxValue": "{b}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": 0, "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["eu", "plain-eu"], "correctAnswerStyle": "plain-eu"}, {"type": "numberentry", "useCustomName": true, "customName": "c", "marks": "1.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{c}", "maxValue": "{c}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": 0, "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["eu", "plain-eu"], "correctAnswerStyle": "plain-eu"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Bei der Rechnung handelt es sich um eine [[0]]-Aufgabe.

", "gaps": [{"type": "patternmatch", "useCustomName": true, "customName": "Op", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{bstring[switch]}.*|{dstring[switch]}.*", "displayAnswer": "{cstring[switch]}", "matchMode": "regex"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Andreas Vohns", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3622/"}]}]}], "contributors": [{"name": "Andreas Vohns", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3622/"}]}