// Numbas version: finer_feedback_settings {"name": "INTO Foundation Diagnostic Test (2024)", "metadata": {"description": "

A practice test to get used to the NUMBAS environment.

", "licence": "None specified"}, "duration": 3600, "percentPass": "0", "showQuestionGroupNames": true, "shuffleQuestionGroups": false, "showstudentname": true, "question_groups": [{"name": "Number", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", "", "", "", ""], "variable_overrides": [[], [], [], [], [], []], "questions": [{"name": "Simple arithmetic", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

Evaluate the following.

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"c": {"name": "c", "group": "Ungrouped variables", "definition": "random(50..120)", "description": "", "templateType": "anything", "can_override": false}, "f": {"name": "f", "group": "Ungrouped variables", "definition": "random(2..12)", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(20..50)", "description": "", "templateType": "anything", "can_override": false}, "g": {"name": "g", "group": "Ungrouped variables", "definition": "random(2..12)", "description": "", "templateType": "anything", "can_override": false}, "q": {"name": "q", "group": "Ungrouped variables", "definition": "random(2..10)", "description": "", "templateType": "anything", "can_override": false}, "n": {"name": "n", "group": "Ungrouped variables", "definition": "random(3..20)", "description": "", "templateType": "anything", "can_override": false}, "p": {"name": "p", "group": "Ungrouped variables", "definition": "n*q", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(11..50 except a)", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(11..50)", "description": "", "templateType": "anything", "can_override": false}, "j": {"name": "j", "group": "Ungrouped variables", "definition": "random(-0.9..0.9#0.1 except 0)", "description": "", "templateType": "anything", "can_override": false}, "k": {"name": "k", "group": "Ungrouped variables", "definition": "random(-0.9..0.9#0.1 except 0 except j)", "description": "", "templateType": "anything", "can_override": false}, "n1": {"name": "n1", "group": "Ungrouped variables", "definition": "random(6..12)", "description": "", "templateType": "anything", "can_override": false}, "n2": {"name": "n2", "group": "Ungrouped variables", "definition": "random(-4,-3,-2)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "c-d>10", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "n", "q", "p", "j", "k", "n1", "n2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\var{a}+\\var{b}$

", "minValue": "a+b", "maxValue": "a+b", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\var{c}-\\var{d}$

", "minValue": "c-d", "maxValue": "c-d", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\var{f}\\times\\var{g}$

", "minValue": "f*g", "maxValue": "f*g", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\var{p}\\div\\var{q}$

", "minValue": "{n}", "maxValue": "{n}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\var{j}\\times\\var{k}$

", "minValue": "j*k", "maxValue": "j*k", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\sqrt{\\var{n1^2}}$

", "minValue": "n1", "maxValue": "n1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\sqrt[3]{\\var{n2^3}}$

", "minValue": "n2", "maxValue": "n2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Rounding values", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}], "advice": "", "parts": [{"correctAnswerFraction": false, "type": "numberentry", "allowFractions": false, "minValue": "{a1}", "correctAnswerStyle": "plain", "scripts": {}, "marks": 1, "showCorrectAnswer": true, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "maxValue": "{a1}", "mustBeReduced": false, "showFeedbackIcon": true, "prompt": "

Round $\\var{d1}$ to $\\var{n1}$ decimal places.

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "type": "numberentry", "allowFractions": false, "minValue": "{a2}", "correctAnswerStyle": "plain", "scripts": {}, "marks": 1, "showCorrectAnswer": true, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "maxValue": "{a2}", "mustBeReduced": false, "showFeedbackIcon": true, "prompt": "

Round $\\var{d2}$ to $\\var{n2}$ decimal places.

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "type": "numberentry", "allowFractions": false, "minValue": "{a3}", "correctAnswerStyle": "plain", "scripts": {}, "marks": 1, "showCorrectAnswer": true, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "maxValue": "{a3}", "mustBeReduced": false, "showFeedbackIcon": true, "prompt": "

Round $\\var{d3}$ to $\\var{n3}$ decimal places.

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst"}], "statement": "

Round the following numbers to the specified number of decimal places.

", "rulesets": {}, "variablesTest": {"condition": "n2<>n1 and n3<>n1 and n2<>n3 and isint(a1)<>true and isint(a2)<>true and isint(a3)<>true", "maxRuns": "200"}, "variables": {"d1": {"description": "", "definition": "random(0..1#0.00001)*random(0..1#0.0001)*10^(random(-2..5))", "name": "d1", "templateType": "anything", "group": "Ungrouped variables"}, "n2": {"description": "", "definition": "random(1,2,3)", "name": "n2", "templateType": "anything", "group": "Ungrouped variables"}, "a1": {"description": "", "definition": "precround(d1,n1)", "name": "a1", "templateType": "anything", "group": "Ungrouped variables"}, "d2": {"description": "", "definition": "random(0..1#0.0001)*random(0..1#0.0001)*10^(random(-2..5))", "name": "d2", "templateType": "anything", "group": "Ungrouped variables"}, "a2": {"description": "", "definition": "precround(d2,n2)", "name": "a2", "templateType": "anything", "group": "Ungrouped variables"}, "d3": {"description": "", "definition": "random(0..1#0.0001)*random(0..1#0.0001)*10^(random(-2..5))", "name": "d3", "templateType": "anything", "group": "Ungrouped variables"}, "n3": {"description": "", "definition": "random(1,2,3)", "name": "n3", "templateType": "anything", "group": "Ungrouped variables"}, "n1": {"description": "", "definition": "random(1,2,3)", "name": "n1", "templateType": "anything", "group": "Ungrouped variables"}, "a3": {"description": "", "definition": "precround(d3,n3)", "name": "a3", "templateType": "anything", "group": "Ungrouped variables"}}, "ungrouped_variables": ["d1", "d2", "d3", "n1", "n2", "n3", "a1", "a2", "a3"], "metadata": {"licence": "None specified", "description": ""}, "variable_groups": [], "preamble": {"css": "", "js": ""}, "functions": {}, "tags": [], "type": "question"}, {"name": "Simple ratio", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

Two people decide to split some money between them.

\n

They have £$\\var{(a+b)*n}$ and decide to divide the cash in the ratio $\\var{a}:\\var{b}$.

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2..4)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(a+1..a+2)", "description": "", "templateType": "anything", "can_override": false}, "n": {"name": "n", "group": "Ungrouped variables", "definition": "random(3..9)", "description": "", "templateType": "anything", "can_override": false}, "v1": {"name": "v1", "group": "Ungrouped variables", "definition": "a*n", "description": "", "templateType": "anything", "can_override": false}, "v2": {"name": "v2", "group": "Ungrouped variables", "definition": "b*n", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "n", "v1", "v2"], "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": "

How much does each person get?

\n

£ [[0]]

\n

£ [[1]]

\n

(Input amounts in any order).

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{v1}", "maxValue": "{v1}", "correctAnswerFraction": false, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{v2}", "maxValue": "{v2}", "correctAnswerFraction": false, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": true}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Simple percentages", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}], "metadata": {"description": "", "licence": "None specified"}, "variable_groups": [], "tags": [], "functions": {}, "advice": "", "rulesets": {}, "variables": {"a": {"description": "", "name": "a", "definition": "random(41..99#1)", "templateType": "randrange", "group": "Ungrouped variables"}}, "statement": "

Calculate the following percentages and give the exact answer in decimal form.

", "preamble": {"css": "", "js": ""}, "ungrouped_variables": ["a"], "variablesTest": {"condition": "", "maxRuns": 100}, "parts": [{"vsetrangepoints": 5, "showpreview": true, "showFeedbackIcon": true, "checkvariablenames": false, "variableReplacements": [], "scripts": {}, "expectedvariablenames": [], "variableReplacementStrategy": "originalfirst", "prompt": "

Calculate  10% of {a}.

", "marks": 1, "type": "jme", "answer": "0.1{a}", "checkingtype": "absdiff", "showCorrectAnswer": true, "checkingaccuracy": 0.001, "vsetrange": [0, 1]}, {"vsetrangepoints": 5, "showpreview": true, "showFeedbackIcon": true, "checkvariablenames": false, "variableReplacements": [], "scripts": {}, "expectedvariablenames": [], "variableReplacementStrategy": "originalfirst", "prompt": "

Calculate  5% of {a}.

", "marks": 1, "type": "jme", "answer": "0.05{a}", "checkingtype": "absdiff", "showCorrectAnswer": true, "checkingaccuracy": 0.001, "vsetrange": [0, 1]}, {"vsetrangepoints": 5, "showpreview": true, "showFeedbackIcon": true, "checkvariablenames": false, "variableReplacements": [], "scripts": {}, "expectedvariablenames": [], "variableReplacementStrategy": "originalfirst", "prompt": "

Calculate  15% of {a}.

", "marks": 1, "type": "jme", "answer": "0.15{a}", "checkingtype": "absdiff", "showCorrectAnswer": true, "checkingaccuracy": 0.001, "vsetrange": [0, 1]}], "type": "question"}, {"name": "Fraction Arithmetic with answers in simplest form", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}, {"name": "Amy Barker", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4520/"}], "tags": [], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Give your answer as a fraction in its simplest form. (Type a/b to enter a fraction. For example, 1/2 becomes $\\frac{1}{2}$.)

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"simpleden4": {"name": "simpleden4", "group": "Ungrouped variables", "definition": "den4/gcd(num4,den4)", "description": "", "templateType": "anything", "can_override": false}, "answer4": {"name": "answer4", "group": "Ungrouped variables", "definition": "simplenum4+\"/\"+simpleden4", "description": "", "templateType": "anything", "can_override": false}, "m": {"name": "m", "group": "Ungrouped variables", "definition": "random(2..10) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "z": {"name": "z", "group": "Ungrouped variables", "definition": "random(2..10) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "n": {"name": "n", "group": "Ungrouped variables", "definition": "random(1..m-l) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "qq": {"name": "qq", "group": "Ungrouped variables", "definition": "random(1..rr-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "den3": {"name": "den3", "group": "Ungrouped variables", "definition": "{m}*{multiple_m}", "description": "", "templateType": "anything", "can_override": false}, "den1": {"name": "den1", "group": "Ungrouped variables", "definition": "2*{b}{b}", "description": "

den1

", "templateType": "anything", "can_override": false}, "hh": {"name": "hh", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "p": {"name": "p", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(2..12) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "num4": {"name": "num4", "group": "Ungrouped variables", "definition": "{w}*{z}+{y}*{x}", "description": "", "templateType": "anything", "can_override": false}, "simpleden3": {"name": "simpleden3", "group": "Ungrouped variables", "definition": "den3/gcd(num3,den3)", "description": "", "templateType": "anything", "can_override": false}, "t": {"name": "t", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "l": {"name": "l", "group": "Ungrouped variables", "definition": "random(1..m-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "j": {"name": "j", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "r": {"name": "r", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "ss": {"name": "ss", "group": "Ungrouped variables", "definition": "random(1..tt-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..b-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "answer1": {"name": "answer1", "group": "Ungrouped variables", "definition": "simplenum1+\"/\"+simpleden1", "description": "", "templateType": "anything", "can_override": false}, "pp": {"name": "pp", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "f": {"name": "f", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "gg": {"name": "gg", "group": "Ungrouped variables", "definition": "random(1..hh-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "answer3": {"name": "answer3", "group": "Ungrouped variables", "definition": "simplenum3+\"/\"+simpleden3", "description": "", "templateType": "anything", "can_override": false}, "multiple": {"name": "multiple", "group": "Ungrouped variables", "definition": "random(3,4,5,6,7,8,9)", "description": "", "templateType": "anything", "can_override": false}, "simplenum1": {"name": "simplenum1", "group": "Ungrouped variables", "definition": "num1/gcd(num1,den1)", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(1..f-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "dd": {"name": "dd", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "num2": {"name": "num2", "group": "Ungrouped variables", "definition": "{d}", "description": "", "templateType": "anything", "can_override": false}, "jj": {"name": "jj", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "nn": {"name": "nn", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "multiple_d": {"name": "multiple_d", "group": "Ungrouped variables", "definition": "{multiple}*{d}", "description": "", "templateType": "anything", "can_override": false}, "s": {"name": "s", "group": "Ungrouped variables", "definition": "random(1..t-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "y": {"name": "y", "group": "Ungrouped variables", "definition": "random(1..x-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "aa": {"name": "aa", "group": "Ungrouped variables", "definition": "random(1..bb-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "ii": {"name": "ii", "group": "Ungrouped variables", "definition": "random(1..jj-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "answer2": {"name": "answer2", "group": "Ungrouped variables", "definition": "simplenum2+\"/\"+simpleden2", "description": "", "templateType": "anything", "can_override": false}, "simplenum4": {"name": "simplenum4", "group": "Ungrouped variables", "definition": "num4/gcd(num4,den4)", "description": "", "templateType": "anything", "can_override": false}, "ll": {"name": "ll", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "kk": {"name": "kk", "group": "Ungrouped variables", "definition": "random(1..ll-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "simpleden1": {"name": "simpleden1", "group": "Ungrouped variables", "definition": "den1/gcd(num1,den1)", "description": "", "templateType": "anything", "can_override": false}, "v": {"name": "v", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(1..b-a) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "g": {"name": "g", "group": "Ungrouped variables", "definition": "random(1..f-d) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "simpleden2": {"name": "simpleden2", "group": "Ungrouped variables", "definition": "den2/gcd(num2,den2)", "description": "", "templateType": "anything", "can_override": false}, "num3": {"name": "num3", "group": "Ungrouped variables", "definition": "{l}*multiple_m}-{n}*{m}", "description": "", "templateType": "anything", "can_override": false}, "oo": {"name": "oo", "group": "Ungrouped variables", "definition": "random(1..pp-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "u": {"name": "u", "group": "Ungrouped variables", "definition": "random(1..v-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "h": {"name": "h", "group": "Ungrouped variables", "definition": "random(1..j-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "cc": {"name": "cc", "group": "Ungrouped variables", "definition": "random(1..dd-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "den4": {"name": "den4", "group": "Ungrouped variables", "definition": "{x}*{z}", "description": "", "templateType": "anything", "can_override": false}, "bb": {"name": "bb", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "rr": {"name": "rr", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "num1": {"name": "num1", "group": "Ungrouped variables", "definition": "{a}{c}", "description": "", "templateType": "anything", "can_override": false}, "x": {"name": "x", "group": "Ungrouped variables", "definition": "random(4..10) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "ee": {"name": "ee", "group": "Ungrouped variables", "definition": "random(1..ff-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "den2": {"name": "den2", "group": "Ungrouped variables", "definition": "multiple_d", "description": "", "templateType": "anything", "can_override": false}, "simplenum2": {"name": "simplenum2", "group": "Ungrouped variables", "definition": "num2/gcd(num2,den2)", "description": "", "templateType": "anything", "can_override": false}, "mm": {"name": "mm", "group": "Ungrouped variables", "definition": "random(1..nn-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "k": {"name": "k", "group": "Ungrouped variables", "definition": "random(1..j-h) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "q": {"name": "q", "group": "Ungrouped variables", "definition": "random(1..r-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "simplenum3": {"name": "simplenum3", "group": "Ungrouped variables", "definition": "num3/gcd(num3,den3)", "description": "", "templateType": "anything", "can_override": false}, "tt": {"name": "tt", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "multiple_m": {"name": "multiple_m", "group": "Ungrouped variables", "definition": "random(m*3,m*4,m*5,m*6,m*7)", "description": "", "templateType": "anything", "can_override": false}, "ff": {"name": "ff", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "w": {"name": "w", "group": "Ungrouped variables", "definition": "random(1..3) ", "description": "", "templateType": "anything", "can_override": false}, "o": {"name": "o", "group": "Ungrouped variables", "definition": "random(1..p-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "j", "m", "p", "r", "t", "v", "x", "z", "bb", "dd", "ff", "hh", "jj", "ll", "nn", "pp", "rr", "tt", "h", "k", "l", "n", "o", "q", "s", "u", "w", "y", "aa", "cc", "ee", "gg", "ii", "kk", "mm", "oo", "qq", "ss", "num1", "den1", "simplenum1", "simpleden1", "answer1", "num2", "den2", "simplenum2", "simpleden2", "answer2", "multiple", "multiple_d", "multiple_m", "num3", "den3", "simplenum3", "simpleden3", "answer3", "num4", "den4", "simplenum4", "simpleden4", "answer4"], "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": "

\n

$\\frac{\\var{a}}{\\var{b}} \\times \\frac{\\var{c}}{\\var{2*b}}$

\n

 [[0]]

", "gaps": [{"type": "patternmatch", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{answer1}", "displayAnswer": "{answer1}", "matchMode": "regex"}], "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": "

$\\frac{\\var{d}}{\\var{f}} \\div \\frac{\\var{multiple_d}}{\\var{f}}$

\n

 [[0]]

", "gaps": [{"type": "patternmatch", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{answer2}", "displayAnswer": "{answer2}", "matchMode": "regex"}], "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": "

$\\frac{\\var{l}}{\\var{m}} - \\frac{\\var{n}}{\\var{multiple_m}}$

\n

 [[0]]

", "gaps": [{"type": "patternmatch", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{answer3}", "displayAnswer": "{answer3}", "matchMode": "regex"}], "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": "

$\\frac{\\var{w}}{\\var{x}} + \\frac{\\var{y}}{\\var{z}}$

\n

 [[0]]

", "gaps": [{"type": "patternmatch", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{answer4}", "displayAnswer": "{answer4}", "matchMode": "regex"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Formula for temperature (conversion/substitution)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}, {"name": "Amy Barker", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4520/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

The formula for converting a temperature in Celsius (C) to Fahrenheit (F) is given by:

\n

$F = \\frac{9}{5}C+32$

", "advice": "

a) Plug $\\var{C}^{\\circ}$ in for $C$ in the formula: $F = \\frac{9}{5}\\left(\\var{C}\\right)+32=\\simplify{1.8*{C}+32}^{\\circ}$

\n

b) First, rearrange the formula to make C the subject: $F = \\frac{9}{5}C+32$ becomes $C=\\frac{5}{9}\\left(F-32\\right)$

\n

Next, plug $\\var{F}^{\\circ}$ in for $F$: $C=\\frac{5}{9}\\left(\\var{F}-32\\right)=\\simplify{ 5*({F}-32)/9}^{\\circ}$

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"F": {"name": "F", "group": "Ungrouped variables", "definition": "random(-100..500 except 0)", "description": "", "templateType": "anything", "can_override": false}, "C": {"name": "C", "group": "Ungrouped variables", "definition": "random(-40..300 except 0)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["C", "F"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Convert $\\var{C}^{\\circ}\\textrm{C}$ to Fahrenheit.

", "minValue": "1.8*C+32", "maxValue": "1.8*C+32", "correctAnswerFraction": false, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Convert $\\var{F}^{\\circ}\\textrm{F}$ to Celsius.

\n

(Don't input decimals unless it is exact; use fractions if necessary)

", "minValue": "5*(F-32)/9", "maxValue": "5*(F-32)/9", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": true, "mustBeReducedPC": "50", "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}]}, {"name": "Algebra", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", "", "", "", "", ""], "variable_overrides": [[], [], [], [], [], [], []], "questions": [{"name": "Expanding brackets", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

Multiply out the brackets and select the correct answer.

", "advice": "

(a) To expand the brackets $\\simplify{(x+{a})^2}$ - there are different ways to do this!  You could write it out like this 

\n

\\[ \\simplify{(x+{a})^2} \\equiv \\simplify[!cancelTerms]{(x+{a})(x+{a})} \\equiv \\simplify[basic,collectNumbers]{x^2 + {a}x+{a}x+{a}^2} \\equiv \\simplify{x^2+{2*a}x +{a^2} } \\]

\n

\n

(b) Same process for this part:

\n

\\[ \\simplify{({b}x+{c})^2} \\equiv \\simplify[collectNumbers,!cancelTerms]{({b}x+{c})({b}x+{c})} \\equiv \\simplify[basic,collectNumbers]{{b^2}x^2 + {b*c}x+{b*c}x+{c}^2} \\equiv \\simplify{{b^2}x^2 + {2*b*c}x+{c^2}} \\]

", "rulesets": {}, "variables": {"b": {"name": "b", "group": "Ungrouped variables", "definition": "random(2 .. 10#1)", "description": "", "templateType": "randrange"}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-9 .. 9#1)", "description": "", "templateType": "randrange"}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(-10 .. 10#1)", "description": "", "templateType": "randrange"}}, "variablesTest": {"condition": "a<>0 and b<>0 and c<>0", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "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": "

$\\simplify{(x+{a})^2}$

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["

$\\simplify{x^2 + 2{a}x+{a^2}}$

", "

$\\simplify{x^2 +{a^2}}$

", "

$\\simplify{x^2 +3{a}x+{a}}$

", "

$\\simplify{x^2 -{a^2}}$

"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}, {"type": "1_n_2", "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": "

$\\simplify{({b}x+{c})^2}$

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["

$\\simplify{{b^2}x^2 + 2{b}{c}x+{c^2}}$

", "

$\\simplify{{b^2}x^2 +{c^2}}$

", "

$\\simplify{{b}x^2 + 3{a}{b}x+{c^2}}$

", "

$\\simplify{{b}x^2 - 3{a}x-{c^3}}$

"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Factorise an expression", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}, {"name": "Amy Barker", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4520/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

Factorise the following expression.

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2..9)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(2..9 except a)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-9..9 except 0 except a except b)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c"], "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": "

$\\simplify{{a*b}x+{a*c}x^2+{a}x^3} \\equiv $ [[0]]

\n

(Use the ^ key to enter powers. For example, x^3 gives $x^3$.)

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{a}x({b}+{c}x+x^2)", "answerSimplification": "!alwaysTimes", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": false, "implicitFunctionComposition": true, "caseSensitive": false, "mustmatchpattern": {"pattern": "m_nogather(\n ?;factors*?`+;factors\n `where\n all(map(not numerical_compare(x,expression(\"1\")),x,factors))\n)", "partialCredit": 0, "message": "", "nameToCompare": "", "warningTime": "submission"}, "valuegenerators": [{"name": "x", "value": ""}]}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Simple equations", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}], "ungrouped_variables": ["a", "b", "ans", "c", "ans2"], "statement": "

Solve these equations to find the value of $x$

", "advice": "", "metadata": {"description": "", "licence": "None specified"}, "variable_groups": [], "parts": [{"gaps": [{"notationStyles": ["plain", "en", "si-en"], "correctAnswerFraction": true, "scripts": {}, "correctAnswerStyle": "plain", "allowFractions": true, "minValue": "{ans}", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "mustBeReduced": false, "showFeedbackIcon": true, "maxValue": "{ans}", "variableReplacements": [], "marks": 1, "mustBeReducedPC": 0}], "showFeedbackIcon": true, "scripts": {}, "prompt": "

$\\dfrac{\\var{a}}{x}=\\var{b}$

\n

$x = $ [[0]]

", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showCorrectAnswer": true, "type": "gapfill", "marks": 0}, {"gaps": [{"notationStyles": ["plain", "en", "si-en"], "correctAnswerFraction": true, "scripts": {}, "correctAnswerStyle": "plain", "allowFractions": true, "minValue": "{ans2}", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "mustBeReduced": false, "showFeedbackIcon": true, "maxValue": "{ans2}", "variableReplacements": [], "marks": 1, "mustBeReducedPC": 0}], "showFeedbackIcon": true, "scripts": {}, "prompt": "

$\\sqrt{x}=\\var{c}$

\n

$x = $ [[0]]

", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showCorrectAnswer": true, "type": "gapfill", "marks": 0}], "functions": {}, "rulesets": {}, "variables": {"a": {"group": "Ungrouped variables", "description": "", "name": "a", "definition": "random(2..20)", "templateType": "anything"}, "ans2": {"group": "Ungrouped variables", "description": "", "name": "ans2", "definition": "c^2", "templateType": "anything"}, "b": {"group": "Ungrouped variables", "description": "", "name": "b", "definition": "random(-50..50)", "templateType": "anything"}, "ans": {"group": "Ungrouped variables", "description": "", "name": "ans", "definition": "a/b", "templateType": "anything"}, "c": {"group": "Ungrouped variables", "description": "", "name": "c", "definition": "random(3..15)", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "tags": [], "preamble": {"js": "", "css": ""}, "type": "question"}, {"name": "Solve a linear equation $ax+b = cx+d$", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}], "ungrouped_variables": ["d", "f", "g", "h", "x", "gcd_hfdg", "hf_coprime", "dg_coprime", "finalb"], "parts": [{"variableReplacements": [], "prompt": "

What is the value of $x$?

\n

$x = $ [[0]]

", "variableReplacementStrategy": "originalfirst", "scripts": {}, "gaps": [{"maxValue": "finalb", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "correctAnswerFraction": false, "marks": "2", "mustBeReduced": false, "minValue": "finalb", "scripts": {}, "mustBeReducedPC": 0, "showCorrectAnswer": true, "variableReplacements": [], "allowFractions": false, "type": "numberentry"}], "showFeedbackIcon": true, "marks": 0, "type": "gapfill", "showCorrectAnswer": true}], "rulesets": {}, "variables": {"finalb": {"definition": "hf_coprime/dg_coprime", "group": "Ungrouped variables", "templateType": "anything", "name": "finalb", "description": ""}, "f": {"definition": "random(2..6)", "group": "Ungrouped variables", "templateType": "anything", "name": "f", "description": ""}, "gcd_hfdg": {"definition": "gcd((h+f),(d-g))", "group": "Ungrouped variables", "templateType": "anything", "name": "gcd_hfdg", "description": ""}, "d": {"definition": "random(g+2..8)", "group": "Ungrouped variables", "templateType": "anything", "name": "d", "description": ""}, "h": {"definition": "(x*(d-g))-f", "group": "Ungrouped variables", "templateType": "anything", "name": "h", "description": ""}, "dg_coprime": {"definition": "(d-g)/gcd_hfdg", "group": "Ungrouped variables", "templateType": "anything", "name": "dg_coprime", "description": ""}, "x": {"definition": "random(2..6)", "group": "Ungrouped variables", "templateType": "anything", "name": "x", "description": ""}, "hf_coprime": {"definition": "(h+f)/gcd_hfdg", "group": "Ungrouped variables", "templateType": "anything", "name": "hf_coprime", "description": ""}, "g": {"definition": "random(2..5)", "group": "Ungrouped variables", "templateType": "anything", "name": "g", "description": ""}}, "statement": "

Consider the equation \\[ \\var{d}x-\\var{f}=\\var{g}x+\\var{h} \\]

", "advice": "

We are asked to solve the equation

\n

\\[ \\var{d}x-\\var{f}=\\var{g}x+\\var{h} \\]

\n

In this equation, there are $x$ terms and constant terms on both sides of the equals sign.

\n

To solve this equation, we must rearrange it to get $x$ on its own.

\n

\\begin{align}
\\var{d}x-\\var{f} &= \\var{g}x+\\var{h} \\\\[0.5em]
\\var{d}x-\\var{g}x &= \\var{h}+\\var{f} & \\text{Move } x \\text{ terms to the left, and constant terms to the right.}\\\\[0.5em]
\\simplify{{d-g}*x} &= {\\var{h+f}} & \\text{Collect like terms together.}\\\\[0.5em]
x &=\\frac{\\var{h+f}}{\\var{d-g}} & \\text{Divide both sides by } \\var{d-g} \\text{.} \\\\[0.5em]
x &= \\simplify{{h+f}/{d-g}}
\\end{align}

", "variablesTest": {"condition": "", "maxRuns": 100}, "functions": {}, "tags": [], "preamble": {"js": "", "css": ""}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Solve a simple linear equation algebraically. The unknown appears on both sides of the equation.

"}, "variable_groups": [], "type": "question"}, {"name": "Solutions to equations", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

Which of the following equations has no solutions?

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"n": {"name": "n", "group": "Ungrouped variables", "definition": "random(2..10)", "description": "", "templateType": "anything", "can_override": false}, "p": {"name": "p", "group": "Ungrouped variables", "definition": "random(2..10 except n)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["n", "p"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$0x =\\var{n} $", "$0x =0 $", "$\\var{p}x =\\var{n} $", "$\\var{p}x =0 $"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Simultaneous equations (harder)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}, {"name": "Amy Barker", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4520/"}], "tags": [], "metadata": {"description": "

Solve a pair of simultaneous equations.

", "licence": "None specified"}, "statement": "

Simultaneous equations have two equations with two unknowns.

", "advice": "

We can't immediately eliminate $x$ or $y$ from each equation so there are couple of ways to approach this.  One possibility is to multiply each equation by a constant so that we can do elimination.

\n

For example: multiply the first equation by $\\var{c}$ and the second equation by $\\simplify{-{a}}$:  \\[ \\simplify{ {c}{a}x+{c}{b}y = {c}{b1}} \\\\ \\simplify{ {-a}{c}x+{-a}{d}y = {-a}{b2}} \\] Now we have two equations with the same coefficient on $x$.

\n

We can do elimination (of $x$) by adding the equations. \\[ \\simplify{{c}{b}y + {-a}{d}y} = \\simplify{{c}{b1}} + \\simplify{{-a}{b2} } \\\\ \\simplify{({c}{b}+{-a}{d})y ={c}{b1}+{-a}{b2} }  \\]

\n

Therefore $y=\\var{y}$.

\n

Substitute this value into one of the original equations.  For example, using the first: \\[ \\simplify{ {a}x+{b}{y} = {b1}} \\\\ \\simplify{ {a}x = {b1} - {b}{y} } \\]

\n

Therefore $x=\\var{x}$.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"x": {"name": "x", "group": "Ungrouped variables", "definition": "random(-10 .. 10#1)", "description": "", "templateType": "randrange", "can_override": false}, "c": {"name": "c", "group": "Coefficients", "definition": "random(-10 .. 10#1)", "description": "", "templateType": "randrange", "can_override": false}, "d": {"name": "d", "group": "Coefficients", "definition": "random(-10 .. 10#1)", "description": "", "templateType": "randrange", "can_override": false}, "b1": {"name": "b1", "group": "RHS", "definition": "a*x+b*y", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Coefficients", "definition": "random(-10 .. 10#1)", "description": "", "templateType": "randrange", "can_override": false}, "b": {"name": "b", "group": "Coefficients", "definition": "random(-10 .. 10#1)", "description": "", "templateType": "randrange", "can_override": false}, "y": {"name": "y", "group": "Ungrouped variables", "definition": "random(-10 .. 10#1)", "description": "", "templateType": "randrange", "can_override": false}, "b2": {"name": "b2", "group": "RHS", "definition": "c*x+d*y", "description": "", "templateType": "anything", "can_override": false}, "det": {"name": "det", "group": "RHS", "definition": "a*d-b*c", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "abs(a)>1 and abs(b)>1 and abs(c)>1 and abs(d)>1 and det<>0", "maxRuns": "250"}, "ungrouped_variables": ["x", "y"], "variable_groups": [{"name": "Coefficients", "variables": ["a", "b", "c", "d"]}, {"name": "RHS", "variables": ["b1", "b2", "det"]}], "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": "

Solve the equations \\[ \\begin{eqnarray} \\simplify[!noLeadingMinus]{ {a}x + {b}y } & = & \\var{b1} \\\\ \\simplify[noLeadingMinus]{{c}x + {d}y} &=& \\var{b2}  \\end{eqnarray}  \\]

\n

Solutions  $x = $ [[0]] ,  $y = $ [[1]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "1.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "x", "maxValue": "x", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "1.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "y", "maxValue": "y", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Factorise a quadratic expression", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}], "tags": [], "metadata": {"description": "

This question will generate a quadratic expression which can be expressed in terms of rational factors.

", "licence": "None specified"}, "statement": "

Factorise the following quadratic expressions:

", "advice": "", "rulesets": {}, "variables": {"p": {"name": "p", "group": "Ungrouped variables", "definition": "random(-10..10 except 0)", "description": "", "templateType": "anything"}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..4)", "description": "", "templateType": "anything"}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(1..4 except a)", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-5..5 except 0)", "description": "", "templateType": "anything"}, "q": {"name": "q", "group": "Ungrouped variables", "definition": "random(-10..10 except 0 except p except -p)", "description": "", "templateType": "anything"}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(-5..5 except 0)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": "300"}, "ungrouped_variables": ["a", "b", "c", "d", "p", "q"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "useCustomName": false, "customName": "", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\simplify{ x^2 + {p+q}x + {p*q}}$.

", "answer": "(x + {p})(x + {q})", "answerSimplification": "all", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "mustmatchpattern": {"pattern": "(x+?)(x+?)", "partialCredit": 0, "message": "", "nameToCompare": ""}, "valuegenerators": [{"name": "x", "value": ""}]}, {"type": "jme", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\simplify{{a*c} x^2 + {b*c+a*d}x + {b*d}}$.

", "answer": "({a} x + {b})({c} x + {d})", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "mustmatchpattern": {"pattern": "m_nogather(\n ?;factors*?`+;factors\n `where\n all(map(not numerical_compare(x,expression(\"1\")),x,factors))\n)", "partialCredit": 0, "message": "", "nameToCompare": ""}, "valuegenerators": [{"name": "x", "value": ""}]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}]}, {"name": "Shape, space and trigonometry", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", "", "", ""], "variable_overrides": [[], [], [], [], []], "questions": [{"name": "Drag points to given Cartesian coordinates", "extensions": ["jsxgraph"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}], "tags": [], "metadata": {"description": "

Drag points on a graph to the given Cartesian coordinates. There are points in each of the four quadrants and on each axis.

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

Move the points to the required coordinates on the graph.

", "advice": "

Coordinates are given as $(x\\text{-coordinate},y\\text{-coordinate})$. So, for example $(2,5)$ has $x$-coordinate $= 2$ and $y$-coordinate$= 5$.

\n

Plot the first coordinate ($x$-coordinate) against the horizontal axis and then plot the second coordinate ($y$-coordinate) against the vertical axis.

\n

{correctPoints()}

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"b2": {"name": "b2", "group": "Ungrouped variables", "definition": "random(1..10)", "description": "", "templateType": "anything", "can_override": false}, "c2": {"name": "c2", "group": "Ungrouped variables", "definition": "random(-10..-1)", "description": "", "templateType": "anything", "can_override": false}, "d1": {"name": "d1", "group": "Ungrouped variables", "definition": "random(-10..-1)", "description": "", "templateType": "anything", "can_override": false}, "f2": {"name": "f2", "group": "Ungrouped variables", "definition": "random(-10..10 except 0)", "description": "", "templateType": "anything", "can_override": false}, "e2": {"name": "e2", "group": "Ungrouped variables", "definition": "0", "description": "", "templateType": "anything", "can_override": false}, "y": {"name": "y", "group": "Ungrouped variables", "definition": "2", "description": "", "templateType": "anything", "can_override": false}, "x": {"name": "x", "group": "Ungrouped variables", "definition": "1", "description": "", "templateType": "anything", "can_override": false}, "a2": {"name": "a2", "group": "Ungrouped variables", "definition": "random(-10..-1)", "description": "", "templateType": "anything", "can_override": false}, "f1": {"name": "f1", "group": "Ungrouped variables", "definition": "0", "description": "", "templateType": "anything", "can_override": false}, "e3": {"name": "e3", "group": "Ungrouped variables", "definition": "random(-10..10 except 0)", "description": "", "templateType": "anything", "can_override": false}, "b1": {"name": "b1", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "a1": {"name": "a1", "group": "Ungrouped variables", "definition": "random(-10..-1)", "description": "", "templateType": "anything", "can_override": false}, "e1": {"name": "e1", "group": "Ungrouped variables", "definition": "random(-10..10 except 0)", "description": "", "templateType": "anything", "can_override": false}, "d2": {"name": "d2", "group": "Ungrouped variables", "definition": "random(1..10)", "description": "", "templateType": "anything", "can_override": false}, "c1": {"name": "c1", "group": "Ungrouped variables", "definition": "random(1..10)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["x", "y", "a1", "a2", "b1", "b2", "c1", "c2", "d1", "d2", "e1", "e2", "e3", "f1", "f2"], "variable_groups": [], "functions": {"correctPoints": {"parameters": [], "type": "html", "language": "javascript", "definition": "var div = Numbas.extensions.jsxgraph.makeBoard('400px','400px',{boundingBox:[-11,11,11,-11],grid: true});\nvar board = div.board;\nquestion.board = board;\n\nvar a1 = Numbas.jme.unwrapValue(scope.variables.a1);\nvar a2 = Numbas.jme.unwrapValue(scope.variables.a2);\nvar b1 = Numbas.jme.unwrapValue(scope.variables.b1);\nvar b2 = Numbas.jme.unwrapValue(scope.variables.b2);\nvar c1 = Numbas.jme.unwrapValue(scope.variables.c1);\nvar c2 = Numbas.jme.unwrapValue(scope.variables.c2);\nvar d1 = Numbas.jme.unwrapValue(scope.variables.d1);\nvar d2 = Numbas.jme.unwrapValue(scope.variables.d2);\nvar e1 = Numbas.jme.unwrapValue(scope.variables.e1);\nvar e2 = Numbas.jme.unwrapValue(scope.variables.e2);\nvar f1 = Numbas.jme.unwrapValue(scope.variables.f1);\nvar f2 = Numbas.jme.unwrapValue(scope.variables.f2);\n\n\nvar a = board.create('point',[a1,a2],{name: 'A', size: 7, fillColor: 'limegreen' , strokeColor: 'yellow' , highlightFillColor: 'green', highlightStrokeColor: 'yellow', snapToGrid: true, showInfobox: true});\nvar b = board.create('point',[b1,b2],{name: 'B', size: 7, fillColor: 'limegreen' , strokeColor: 'yellow' , highlightFillColor: 'green', highlightStrokeColor: 'yellow', snapToGrid: true, showInfobox: true});\nvar c = board.create('point',[c1,c2],{name: 'C', size: 7, fillColor: 'limegreen' , strokeColor: 'yellow' , highlightFillColor: 'green', highlightStrokeColor: 'yellow', snapToGrid: true, showInfobox: true});\nvar d = board.create('point',[d1,d2],{name: 'D', size: 7, fillColor: 'limegreen' , strokeColor: 'yellow' , highlightFillColor: 'green', highlightStrokeColor: 'yellow', snapToGrid: true, showInfobox: true});\nvar e = board.create('point',[e1,e2],{name: 'E', size: 7, fillColor: 'limegreen' , strokeColor: 'yellow' , highlightFillColor: 'green', highlightStrokeColor: 'yellow', snapToGrid: true, showInfobox: true});\nvar f = board.create('point',[f1,f2],{name: 'F', size: 7, fillColor: 'limegreen' , strokeColor: 'yellow' , highlightFillColor: 'green', highlightStrokeColor: 'yellow', snapToGrid: true, showInfobox: true});\n\n/*\nquestion.signals.on('HTMLAttached',function(e) {\n ko.computed(function(){ \n var x = parseFloat(question.parts[0].gaps[0].display.studentAnswer());\n var y = parseFloat(question.parts[0].gaps[1].display.studentAnswer());\n if(!(isNaN(x) || isNaN(y)) && board.mode!=board.BOARD_MODE_DRAG) {\n a.moveTo([x,y],100);\n }\n });\n});\n*/\n\nreturn div;"}, "dragpoints": {"parameters": [], "type": "html", "language": "javascript", "definition": "var div = Numbas.extensions.jsxgraph.makeBoard('400px','400px',{boundingBox:[-11,11,11,-11],grid: true});\nvar board = div.board;\nquestion.board = board;\n\n//var x = Numbas.jme.unwrapValue(scope.variables.x);\n//var y = Numbas.jme.unwrapValue(scope.variables.y);\n\nvar a = board.create('point',[10,10],{name: 'A', size: 7, fillColor: 'blue' , strokeColor: 'lightblue' , highlightFillColor: 'lightblue', highlightStrokeColor: 'yellow', snapToGrid: true, showInfobox: false});\nvar b = board.create('point',[10,9],{name: 'B', size: 7, fillColor: 'blue' , strokeColor: 'lightblue' , highlightFillColor: 'lightblue', highlightStrokeColor: 'yellow',snapToGrid: true, showInfobox: false});\nvar c = board.create('point',[10,8],{name: 'C', size: 7, fillColor: 'blue' , strokeColor: 'lightblue' , highlightFillColor: 'lightblue', highlightStrokeColor: 'yellow',snapToGrid: true, showInfobox: false});\nvar d = board.create('point',[10,7],{name: 'D', size: 7, fillColor: 'blue' , strokeColor: 'lightblue' , highlightFillColor: 'lightblue', highlightStrokeColor: 'yellow',snapToGrid: true, showInfobox: false});\nvar e = board.create('point',[10,6],{name: 'E', size: 7, fillColor: 'blue' , strokeColor: 'lightblue' , highlightFillColor: 'lightblue', highlightStrokeColor: 'yellow',snapToGrid: true, showInfobox: false});\nvar f = board.create('point',[10,5],{name: 'F', size: 7, fillColor: 'blue' , strokeColor: 'lightblue' , highlightFillColor: 'lightblue', highlightStrokeColor: 'yellow',snapToGrid: true, showInfobox: false});\n\nquestion.points = {\n a:a,b:b,c:c,d:d,e:e,f:f\n}\n\na.on('drag',function(){\n Numbas.exam.currentQuestion.parts[0].gaps[0].display.studentAnswer(a.X());\n Numbas.exam.currentQuestion.parts[0].gaps[1].display.studentAnswer(a.Y());\n});\nb.on('drag',function(){\n Numbas.exam.currentQuestion.parts[1].gaps[0].display.studentAnswer(b.X());\n Numbas.exam.currentQuestion.parts[1].gaps[1].display.studentAnswer(b.Y());\n});\nc.on('drag',function(){\n Numbas.exam.currentQuestion.parts[2].gaps[0].display.studentAnswer(c.X());\n Numbas.exam.currentQuestion.parts[2].gaps[1].display.studentAnswer(c.Y());\n});\nd.on('drag',function(){\n Numbas.exam.currentQuestion.parts[3].gaps[0].display.studentAnswer(d.X());\n Numbas.exam.currentQuestion.parts[3].gaps[1].display.studentAnswer(d.Y());\n});\ne.on('drag',function(){\n Numbas.exam.currentQuestion.parts[4].gaps[0].display.studentAnswer(e.X());\n Numbas.exam.currentQuestion.parts[4].gaps[1].display.studentAnswer(e.Y());\n});\nf.on('drag',function(){\n Numbas.exam.currentQuestion.parts[5].gaps[0].display.studentAnswer(f.X());\n Numbas.exam.currentQuestion.parts[5].gaps[1].display.studentAnswer(f.Y());\n});\n\n/*\nquestion.signals.on('HTMLAttached',function(e) {\n ko.computed(function(){ \n var x = parseFloat(question.parts[0].gaps[0].display.studentAnswer());\n var y = parseFloat(question.parts[0].gaps[1].display.studentAnswer());\n if(!(isNaN(x) || isNaN(y)) && board.mode!=board.BOARD_MODE_DRAG) {\n a.moveTo([x,y],100);\n }\n });\n});\n*/\n\nreturn div;\n\n"}}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {"mark": {"script": "console.log(this.question.points);\nthis.question.points.a.setAttribute({fillColor: this.credit==1 ? 'green' : 'red'});\n", "order": "after"}}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

{dragpoints()}

\n

Move the points as follows:

\n

A to $(\\var{a1},\\var{a2})$.

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{a1}", "maxValue": "{a1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{a2}", "maxValue": "{a2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {"mark": {"script": "console.log(this.question.points);\nthis.question.points.b.setAttribute({fillColor: this.credit==1 ? 'green' : 'red'});\n", "order": "after"}}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

B to $(\\var{b1},\\var{b2})$.

\n

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{b1}", "maxValue": "{b1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{b2}", "maxValue": "{b2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {"mark": {"script": "console.log(this.question.points);\nthis.question.points.c.setAttribute({fillColor: this.credit==1 ? 'green' : 'red'});\n", "order": "after"}}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

C to $(\\var{c1},\\var{c2})$.

\n

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{c1}", "maxValue": "{c1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{c2}", "maxValue": "{c2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {"mark": {"script": "console.log(this.question.points);\nthis.question.points.d.setAttribute({fillColor: this.credit==1 ? 'green' : 'red'});\n", "order": "after"}}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

D to $(\\var{d1},\\var{d2})$.

\n

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{d1}", "maxValue": "{d1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{d2}", "maxValue": "{d2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {"mark": {"script": "console.log(this.question.points);\nthis.question.points.e.setAttribute({fillColor: this.credit==1 ? 'green' : 'red'});", "order": "after"}}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

E to $(\\var{e1},\\var{e2})$.

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{e1}", "maxValue": "{e1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{e2}", "maxValue": "{e2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {"mark": {"script": "console.log(this.question.points);\nthis.question.points.f.setAttribute({fillColor: this.credit==1 ? 'green' : 'red'});", "order": "after"}}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

F to $(\\var{f1},\\var{f2})$.

\n

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{f1}", "maxValue": "{f1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{f2}", "maxValue": "{f2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Straight line graph", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}], "tags": [], "metadata": {"description": "

This uses an embedded Geogebra graph of a line $y=mx+c$ with random coefficients set by NUMBAS.

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

The graph shows a straight line on a graph.

\n

{geogebra_applet('https://ggbm.at/FTsrJUzg', defs, [])}

\n

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-3..3 except 0)", "description": "", "templateType": "anything", "can_override": false}, "defs": {"name": "defs", "group": "Ungrouped variables", "definition": "[\n ['m',m],\n ['c',c]\n]", "description": "", "templateType": "anything", "can_override": false}, "m": {"name": "m", "group": "Ungrouped variables", "definition": "(random(random(0..3),random(1/2,2/3,1/4,3/4,1/3)))*random(-1,1)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": "200"}, "ungrouped_variables": ["defs", "m", "c"], "variable_groups": [], "functions": {"graph": {"parameters": [], "type": "html", "language": "jme", "definition": ""}}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the equation of this line?

\n

$y = $ [[0]]

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{m}x+{c}", "answerSimplification": "all,fractionNumbers", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Graph recognition", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

Match the graph with the correct function description.

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "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": "

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$\\displaystyle y = \\mathrm{e}^{-x}$", "$\\displaystyle y = \\mathrm{e}^{x}$", "$\\displaystyle y = \\ln (x)$", "$\\displaystyle y = -\\ln (x)$"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}, {"type": "1_n_2", "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": "

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$\\displaystyle y = 2\\cos (x)$", "$\\displaystyle y = \\cos (2x)$", "$\\displaystyle y = \\sin (2x)$", "$\\displaystyle y = 2\\sin (x)$"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Graph recognition (2)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

Which of the following is the graph of $y=x^3$?

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": "2", "showCellAnswerState": true, "choices": ["", "", "", ""], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Sphere and cuboid", "extensions": [], "custom_part_types": [], "resources": [["question-resources/sphere.JPG", "/srv/numbas/media/question-resources/sphere.JPG"], ["question-resources/cuboid_krNjQqO.svg", "/srv/numbas/media/question-resources/cuboid_krNjQqO.svg"], ["question-resources/sphere.svg", "/srv/numbas/media/question-resources/sphere.svg"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}, {"name": "Amy Barker", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4520/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

Answer the following questions about these 3D shapes.

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"h": {"name": "h", "group": "Ungrouped variables", "definition": "random(10,20,30)", "description": "", "templateType": "anything", "can_override": false}, "l": {"name": "l", "group": "Ungrouped variables", "definition": "random(3..10)", "description": "", "templateType": "anything", "can_override": false}, "w": {"name": "w", "group": "Ungrouped variables", "definition": "random(3..10)", "description": "", "templateType": "anything", "can_override": false}, "r": {"name": "r", "group": "Ungrouped variables", "definition": "random(2..6)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["w", "l", "h", "r"], "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": "

The picture shows a cuboid of of width $w$, length $l$ and height $h$.

\n

\n

Given that $w=\\var{w}$, $l=\\var{l}$ and $h=\\var{h}$.  Calculate the value of the following:

\n

Volume = [[0]]

\n

Surface area = [[1]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "w*l*h", "maxValue": "w*l*h", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "2*(w*l+l*h+w*h)", "maxValue": "2*(w*l+l*h+w*h)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "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": "

The picture shows a sphere of radius $\\var{r}$.

\n

\n

Write down the expression for finding the exact volume of the sphere.  Give your answer in terms of $\\pi$.  (Type pi in the answer box where you want $\\pi$ to appear.)

\n

Volume  = [[0]]

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{4*r^3/3}pi", "answerSimplification": "fractionNumbers", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "musthave": {"strings": ["pi"], "showStrings": false, "partialCredit": "50", "message": "Your answer should be expressed in multiples of $\\pi$."}, "valuegenerators": []}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}, {"name": "Trigonometry and triangles", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", ""], "variable_overrides": [[], []], "questions": [{"name": "Using Pythagoras to find a missing side (Eukleides diagrams)", "extensions": ["eukleides"], "custom_part_types": [], "resources": [["question-resources/Q2_0UOrG2O.png", "/srv/numbas/media/question-resources/Q2_0UOrG2O.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}, {"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}, {"name": "Deirdre Casey", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/681/"}], "tags": [], "metadata": {"description": "

Using Pythagoras' Theorem to find a missing side. Illustrated using simple Eukleides diagram

\n

rebelmaths

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

Use Pythagoras's Theorem to find the value of $x^2$.

\n

{RightAngledTriangle}

", "advice": "

 $x^2 = \\var{lent1}^2 + \\var{lent2}^2$

\n

\n

That means the length is:

\n

$x = \\sqrt(\\var{lent1}^2 + \\var{lent2}^2)$

\n

$x = \\var{ans1}$

\n

(You were not asked to find this in the question!)

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"lent2": {"name": "lent2", "group": "Ungrouped variables", "definition": "random(1..6)", "description": "", "templateType": "anything", "can_override": false}, "lent1": {"name": "lent1", "group": "Ungrouped variables", "definition": "random(5..10)", "description": "", "templateType": "anything", "can_override": false}, "ang1": {"name": "ang1", "group": "Ungrouped variables", "definition": "random(63..65)", "description": "", "templateType": "anything", "can_override": false}, "ans1": {"name": "ans1", "group": "Ungrouped variables", "definition": "lent1^2+lent2^2", "description": "", "templateType": "anything", "can_override": false}, "RightAngledTriangle": {"name": "RightAngledTriangle", "group": "Ungrouped variables", "definition": "\neukleides(\"Right Angled Triangle\",[\n let(\n [a,b,c], right(length1,length2)\n \n \n ,[\n a..b..c filled color4,\n (a..b) label(length1+\" mm\",deg(-90),0.5),\n (b..c) label(length2+\" mm\",deg(0),0.1),\n (a..c) label(\"x\"),\n angle(a,b,c) right\n ]\n )\n ],[length1:lent1,length2:lent2]\n )", "description": "

A diagram of a right angled triangle.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["ang1", "lent1", "ans1", "lent2", "RightAngledTriangle"], "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": "

Find the value of $x^2$:

\n

$x^2 = $ [[0]] $\\mathrm{mm^2}$

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "alternatives": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "

You were asked for $x^2$, not $x$.

", "useAlternativeFeedback": false, "minValue": "{0.99*sqrt(ans1)}", "maxValue": "{1.01*sqrt(ans1)}", "correctAnswerFraction": false, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "minValue": "{ans1}", "maxValue": "{ans1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Angle facts", "extensions": ["jsxgraph"], "custom_part_types": [], "resources": [["question-resources/angle_on_a_line_WOoCxMv.svg", "/srv/numbas/media/question-resources/angle_on_a_line_WOoCxMv.svg"], ["question-resources/scalene.svg", "/srv/numbas/media/question-resources/scalene.svg"], ["question-resources/circle_angles.svg", "/srv/numbas/media/question-resources/circle_angles.svg"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

Calculate the missing angles in the diagrams below.

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(25..44)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(110..130)", "description": "", "templateType": "anything", "can_override": false}, "q": {"name": "q", "group": "Ungrouped variables", "definition": "random(95..129)", "description": "", "templateType": "anything", "can_override": false}, "p": {"name": "p", "group": "Ungrouped variables", "definition": "random(11..29)", "description": "", "templateType": "anything", "can_override": false}, "x1": {"name": "x1", "group": "Ungrouped variables", "definition": "random(18..44)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(75..95 except 90)", "description": "", "templateType": "anything", "can_override": false}, "r": {"name": "r", "group": "Ungrouped variables", "definition": "180-(p+q)", "description": "", "templateType": "anything", "can_override": false}, "y": {"name": "y", "group": "Ungrouped variables", "definition": "360-(a+b+c)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["x1", "a", "b", "c", "y", "p", "q", "r"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

These two angles lie on a straight line.  This picture is not drawn accurately!

\n

\n

Given that the smaller angle is $\\var{x1}^{\\circ}$, calculate larger angle $y$.

", "minValue": "180-x1", "maxValue": "180-x1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Angles around a point.  This picture is not drawn accurately!

\n

\n

Three angles are given: $\\var{a}^{\\circ}$, $\\var{b}^{\\circ}$ and $\\var{c}^{\\circ}$.

\n

Calculate the missing angle, $y$.

", "minValue": "360-(a+b+c)", "maxValue": "360-(a+b+c)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Angles in triangle.  This picture is not drawn accurately!

\n

\n

Two given angles are $\\var{p}^{\\circ}$ and $\\var{q}^{\\circ}$

\n

Calculate the other angle, $x$.

", "minValue": "{r}", "maxValue": "{r}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}, {"name": "Calculus knowledge", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": [""], "variable_overrides": [[]], "questions": [{"name": "Calculus (diagnostic)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

These questions will assess your prior knowledge of differentiation and integration.

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"p": {"name": "p", "group": "Ungrouped variables", "definition": "random(2..5)", "description": "", "templateType": "anything", "can_override": false}, "q": {"name": "q", "group": "Ungrouped variables", "definition": "random(-9..9 except 0)", "description": "", "templateType": "anything", "can_override": false}, "r": {"name": "r", "group": "Ungrouped variables", "definition": "random(-9..9 except 0 except q except p)", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2..4)*3", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-5..5 except 0 except a)*2", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-10..10 except 0 except a except b)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["p", "q", "r", "a", "b", "c"], "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": "

Given the function \\[ y = \\simplify{{p}x^3 + {q}x+{r}} \\] Find an expression for the first derivative.

\n

$\\displaystyle \\simplify{diff(y,x,1)} = $ [[0]]

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{3p}x^2+{q}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}], "sortAnswers": false}, {"type": "1_n_2", "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": "

Find the following indefinite integral.  Select the correct answer from the list.

\n

\\[ \\simplify{int({a}x^2+{b}x+{c},x)} \\]

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": "1", "showCellAnswerState": true, "choices": ["$\\displaystyle \\simplify[fractionNumbers,unitFactor]{{a/3}x^3+{b/2}x^2+{c}x+C}$", "$\\displaystyle \\simplify[fractionNumbers,unitFactor]{{a/3}x^3+{b/2}x^2+{c}x}$", "$\\displaystyle \\simplify[fractionNumbers,unitFactor]{{2a}x+{b}+C}$", "$\\displaystyle 0$", "Not possible to solve this; there is no correct answer.", "$\\displaystyle \\simplify[fractionNumbers,unitFactor]{{a}x^3+{b}x^2+{c}x}$", "$\\displaystyle \\simplify[fractionNumbers,unitFactor]{{a}x^3+{b}x^2+{c}x+C}$"], "matrix": ["2", "1", 0, 0, 0, 0, 0], "distractors": ["", "", "", "", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}]}], "allowPrinting": true, "navigation": {"allowregen": false, "reverse": true, "browse": true, "allowsteps": true, "showfrontpage": true, "navigatemode": "sequence", "onleave": {"action": "none", "message": ""}, "preventleave": true, "typeendtoleave": false, "startpassword": "pluto1930", "autoSubmit": true, "allowAttemptDownload": false, "downloadEncryptionKey": "", "showresultspage": "oncompletion"}, "timing": {"allowPause": false, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "warn", "message": "

You have 5 minutes remaining!

"}}, "feedback": {"enterreviewmodeimmediately": true, "showactualmarkwhen": "inreview", "showtotalmarkwhen": "always", "showanswerstatewhen": "inreview", "showpartfeedbackmessageswhen": "inreview", "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview", "allowrevealanswer": false, "intro": "

This is a practice test to help you get used to the NUMBAS environment.  The questions cover a range of topics:

\n\n

Some further instructions:

\n\n

Answers will be saved automatically as you move through the test.  You can go back and change answers if needed.

\n

If you don't know the answer to a question: just leave it unanswered!  Many of the topics will be covered in class this year, so don't worry.  This test does not count towards your final module marks.  Your result  will only be seen by your teachers and they'll use it as a guide to support you in the early weeks of your maths modules.

", "end_message": "

Thank you for submitting your answers.  You may close the browser and logout of the PC.

\n

https://mas-numbas-lti.ncl.ac.uk/safe_exam_browser/quit 

", "results_options": {"printquestions": true, "printadvice": true}, "feedbackmessages": [], "reviewshowexpectedanswer": true, "showanswerstate": false, "reviewshowfeedback": true, "showactualmark": false, "showtotalmark": true, "reviewshowscore": true, "reviewshowadvice": true}, "diagnostic": {"knowledge_graph": {"topics": [], "learning_objectives": []}, "script": "diagnosys", "customScript": ""}, "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}, {"name": "Amy Barker", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4520/"}], "extensions": ["eukleides", "geogebra", "jsxgraph"], "custom_part_types": [], "resources": [["question-resources/sphere.JPG", "/srv/numbas/media/question-resources/sphere.JPG"], ["question-resources/cuboid_krNjQqO.svg", "/srv/numbas/media/question-resources/cuboid_krNjQqO.svg"], ["question-resources/sphere.svg", "/srv/numbas/media/question-resources/sphere.svg"], ["question-resources/Q2_0UOrG2O.png", "/srv/numbas/media/question-resources/Q2_0UOrG2O.png"], ["question-resources/angle_on_a_line_WOoCxMv.svg", "/srv/numbas/media/question-resources/angle_on_a_line_WOoCxMv.svg"], ["question-resources/scalene.svg", "/srv/numbas/media/question-resources/scalene.svg"], ["question-resources/circle_angles.svg", "/srv/numbas/media/question-resources/circle_angles.svg"]]}