// Numbas version: finer_feedback_settings
{"name": "Regnerekkefolge2_alt", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["list", "a", "b", "c", "d", "ans1", "f", "h", "g", "ans2", "base", "sub", "diff", "subs", "diffs", "num", "tsub", "denom", "ans3"], "name": "Regnerekkefolge2_alt", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "", "rulesets": {}, "parts": [{"stepsPenalty": "1", "prompt": "
$\\var{d}+\\var{a}\\cdot(\\var{b})^\\var{c}=$ [[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "Riktig regnerekkefølge er potenser før multiplikasjon/divisjon og multiplikasjon/divisjon før addisjon/subtraksjon, det vil si
\n\n\n\n$\\var{d}+\\var{a}\\cdot(\\var{b})^\\var{c}$ | \n$=$ | \n$\\var{d}+\\var{a}\\cdot\\var{b^c}$ | \n
\n\n | \n$=$ | \n$\\var{d}+\\var{a*b^c}$ | \n
\n\n | \n$=$ | \n$\\var{ans1}$ | \n
\n\n
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{ans1}", "minValue": "{ans1}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"stepsPenalty": "1", "prompt": "$(\\var{d}+\\var{c})^2+\\var{h}\\cdot(\\var{f}-\\var{g})=$ [[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "Riktig regnerekkefølge er parenteser, potenser, multiplikasjon/divisjon og til sist addisjon/subtraksjon, det vil si
\n\n\n\n$(\\var{d}+\\var{a})^2+\\var{h}\\cdot (\\var{f}-\\var{g})$ | \n\n $=$ \n | \n$\\var{d+a}^2+\\var{h}\\cdot (\\var{f-g})$ | \n
\n\n\n\n\n | \n\n $=$ \n$=$ \n | \n\n $\\var{ans2a}+(\\var{ans2b})$ \n$\\var{ans2}$ \n | \n
\n\n
\n", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"allowFractions": true, "variableReplacements": [], "maxValue": "{ans2}", "minValue": "{ans2}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "", "variable_groups": [{"variables": ["list2", "ans2a", "ans2b"], "name": "Unnamed group"}], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"subs": {"definition": "sub^2", "templateType": "anything", "group": "Ungrouped variables", "name": "subs", "description": ""}, "ans1": {"definition": "a*b^c+d", "templateType": "anything", "group": "Ungrouped variables", "name": "ans1", "description": ""}, "ans2": {"definition": "h*(f-g)+(d+a)^2", "templateType": "anything", "group": "Ungrouped variables", "name": "ans2", "description": ""}, "ans3": {"definition": "base+a", "templateType": "anything", "group": "Ungrouped variables", "name": "ans3", "description": ""}, "list2": {"definition": "shuffle(2..4)[0..3]", "templateType": "anything", "group": "Unnamed group", "name": "list2", "description": ""}, "num": {"definition": "subs-diffs", "templateType": "anything", "group": "Ungrouped variables", "name": "num", "description": ""}, "diff": {"definition": "base-sub", "templateType": "anything", "group": "Ungrouped variables", "name": "diff", "description": ""}, "sub": {"definition": "random(1..3)", "templateType": "anything", "group": "Ungrouped variables", "name": "sub", "description": ""}, "denom": {"definition": "-base+tsub", "templateType": "anything", "group": "Ungrouped variables", "name": "denom", "description": ""}, "ans2b": {"definition": "h*(f-g)", "templateType": "anything", "group": "Unnamed group", "name": "ans2b", "description": ""}, "tsub": {"definition": "2*sub", "templateType": "anything", "group": "Ungrouped variables", "name": "tsub", "description": ""}, "base": {"definition": "list2[1]", "templateType": "anything", "group": "Ungrouped variables", "name": "base", "description": ""}, "ans2a": {"definition": "(d+a)^2", "templateType": "anything", "group": "Unnamed group", "name": "ans2a", "description": ""}, "a": {"definition": "list[0]", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "diffs": {"definition": "diff^2", "templateType": "anything", "group": "Ungrouped variables", "name": "diffs", "description": ""}, "c": {"definition": "2", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "(-1)*random(2..3)", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "list[1]", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "g": {"definition": "random(5..7)", "templateType": "anything", "group": "Ungrouped variables", "name": "g", "description": ""}, "f": {"definition": "list[2]", "templateType": "anything", "group": "Ungrouped variables", "name": "f", "description": ""}, "h": {"definition": "list2[2]", "templateType": "anything", "group": "Ungrouped variables", "name": "h", "description": ""}, "list": {"definition": "shuffle(2..5)[0..4]", "templateType": "anything", "group": "Ungrouped variables", "name": "list", "description": ""}}, "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Ida Friestad Pedersen", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/792/"}]}]}], "contributors": [{"name": "Ida Friestad Pedersen", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/792/"}]}