// Numbas version: exam_results_page_options {"name": "Prerequisites: Substitute a value into an expression", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"rulesets": {}, "statement": "\n

Find the value of the following expressions, given the stated value of $n$.

\n

$n=-\\var{t}$

\n \n \n \n \n \n ", "preamble": {"css": "", "js": ""}, "name": "Prerequisites: Substitute a value into an expression", "advice": "", "ungrouped_variables": ["a", "b", "f", "q", "p", "t"], "variable_groups": [], "tags": [], "variables": {"b": {"definition": "random(2..7)", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "b"}, "a": {"definition": "random(12..18)", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "a"}, "t": {"definition": "random(3..7)", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "t"}, "q": {"definition": "-(t^3)+(b*t)", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "q"}, "f": {"definition": "-t+a", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "f"}, "p": {"definition": "-a+t", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "p"}}, "variablesTest": {"maxRuns": 100, "condition": ""}, "functions": {}, "extensions": [], "metadata": {"description": "

What is the value of the expression given a choice of n?

", "licence": "Creative Commons Attribution 4.0 International"}, "parts": [{"marks": 1, "answer": "{p}", "extendBaseMarkingAlgorithm": true, "adaptiveMarkingPenalty": 0, "checkingAccuracy": 0, "useCustomName": false, "prompt": "

$-\\var{a}-n$

", "unitTests": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "vsetRange": [0, 1], "variableReplacements": [], "customMarkingAlgorithm": "", "customName": "", "checkingType": "absdiff", "type": "jme", "failureRate": 1, "vsetRangePoints": 5, "scripts": {}, "showPreview": true, "checkVariableNames": false, "valuegenerators": [], "variableReplacementStrategy": "originalfirst"}, {"marks": 1, "answer": "-({t}^2)", "extendBaseMarkingAlgorithm": true, "adaptiveMarkingPenalty": 0, "checkingAccuracy": 0, "useCustomName": false, "prompt": "

$-(n^2)$

", "unitTests": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "vsetRange": [0, 1], "variableReplacements": [], "customMarkingAlgorithm": "", "customName": "", "checkingType": "absdiff", "type": "jme", "failureRate": 1, "vsetRangePoints": 5, "scripts": {}, "showPreview": true, "checkVariableNames": false, "valuegenerators": [], "variableReplacementStrategy": "originalfirst"}, {"marks": 1, "answer": "{q}", "extendBaseMarkingAlgorithm": true, "adaptiveMarkingPenalty": 0, "checkingAccuracy": 0, "useCustomName": false, "prompt": "

$n^3-\\var{b}n$

", "unitTests": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "vsetRange": [0, 1], "variableReplacements": [], "customMarkingAlgorithm": "", "customName": "", "checkingType": "absdiff", "type": "jme", "failureRate": 1, "vsetRangePoints": 5, "scripts": {}, "showPreview": true, "checkVariableNames": false, "valuegenerators": [], "variableReplacementStrategy": "originalfirst"}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Timur Zaripov", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3272/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Timur Zaripov", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3272/"}]}