// Numbas version: exam_results_page_options {"name": "Numbas demo: part types", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": [], "statement": "

You can ask students to enter numbers, text, or mathematical expressions.

\n

See this question on the public editor.

", "variable_groups": [], "ungrouped_variables": ["a", "b", "c", "d", "f"], "variables": {"c": {"group": "Ungrouped variables", "description": "", "definition": "random(-10..10 except 0)", "name": "c", "templateType": "anything"}, "f": {"group": "Ungrouped variables", "description": "", "definition": "random(-10 .. 10#1)", "name": "f", "templateType": "randrange"}, "b": {"group": "Ungrouped variables", "description": "", "definition": "random(1 .. 10#1)", "name": "b", "templateType": "randrange"}, "a": {"group": "Ungrouped variables", "description": "", "definition": "random(1 .. 10#1)", "name": "a", "templateType": "randrange"}, "d": {"group": "Ungrouped variables", "description": "", "definition": "random(-10 .. 10#1)", "name": "d", "templateType": "randrange"}}, "variablesTest": {"condition": "a=4 and b=8", "maxRuns": "1000"}, "preamble": {"css": "", "js": ""}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Showing off the part types.

"}, "parts": [{"variableReplacementStrategy": "originalfirst", "unitTests": [], "marks": 0, "customMarkingAlgorithm": "", "customName": "", "prompt": "

Baloo's garden is $\\var{a}$m wide and $\\var{b}$m long.

\n

What is the area of Baloo's garden?

\n

Area = [[0]]m2

", "showCorrectAnswer": true, "sortAnswers": false, "gaps": [{"variableReplacementStrategy": "originalfirst", "unitTests": [], "marks": 1, "customMarkingAlgorithm": "", "correctAnswerStyle": "plain", "customName": "", "notationStyles": ["plain", "en", "si-en"], "showFractionHint": true, "showCorrectAnswer": true, "correctAnswerFraction": false, "mustBeReduced": false, "minValue": "a*b", "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "type": "numberentry", "maxValue": "a*b", "useCustomName": false, "showFeedbackIcon": true, "allowFractions": false, "variableReplacements": [], "scripts": {}}], "extendBaseMarkingAlgorithm": true, "type": "gapfill", "useCustomName": false, "showFeedbackIcon": true, "variableReplacements": [], "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "unitTests": [], "marks": 0, "customMarkingAlgorithm": "", "customName": "", "prompt": "

Conjugate the verb être.

\n

Je [[0]]

\n

Tu [[1]]

\n

Il/elle [[2]]

\n

Nous [[3]]

\n

Ils/elles [[4]]

\n

Vous [[5]]

\n

", "showCorrectAnswer": true, "sortAnswers": false, "gaps": [{"variableReplacementStrategy": "originalfirst", "unitTests": [], "marks": 1, "customMarkingAlgorithm": "", "displayAnswer": "suis", "matchMode": "regex", "customName": "", "answer": "suis", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "type": "patternmatch", "useCustomName": false, "showFeedbackIcon": true, "variableReplacements": [], "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "unitTests": [], "marks": 1, "customMarkingAlgorithm": "", "displayAnswer": "es", "matchMode": "regex", "customName": "", "answer": "es", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "type": "patternmatch", "useCustomName": false, "showFeedbackIcon": true, "variableReplacements": [], "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "unitTests": [], "marks": 1, "customMarkingAlgorithm": "", "displayAnswer": "est", "matchMode": "regex", "customName": "", "answer": "est", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "type": "patternmatch", "useCustomName": false, "showFeedbackIcon": true, "variableReplacements": [], "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "unitTests": [], "marks": 1, "customMarkingAlgorithm": "", "displayAnswer": "sommes", "matchMode": "regex", "customName": "", "answer": "sommes", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "type": "patternmatch", "useCustomName": false, "showFeedbackIcon": true, "variableReplacements": [], "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "unitTests": [], "marks": 1, "customMarkingAlgorithm": "", "displayAnswer": "sont", "matchMode": "regex", "customName": "", "answer": "sont", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "type": "patternmatch", "useCustomName": false, "showFeedbackIcon": true, "variableReplacements": [], "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "unitTests": [], "marks": 1, "customMarkingAlgorithm": "", "displayAnswer": "\u00eates", "matchMode": "regex", "customName": "", "answer": "[\u00eae]tes", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "type": "patternmatch", "useCustomName": false, "showFeedbackIcon": true, "variableReplacements": [], "scripts": {}}], "extendBaseMarkingAlgorithm": true, "type": "gapfill", "useCustomName": false, "showFeedbackIcon": true, "variableReplacements": [], "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "unitTests": [], "marks": 0, "customMarkingAlgorithm": "", "customName": "", "prompt": "

Differentiate the following function:

\n

\\[ f(x) = \\simplify[all,!noLeadingMinus]{{c}x^2+{d}x+{f}} \\]

\n

$\\frac{\\mathrm{d}f}{\\mathrm{d}x} = $ [[0]]

\n

", "showCorrectAnswer": true, "sortAnswers": false, "gaps": [{"failureRate": 1, "variableReplacementStrategy": "originalfirst", "unitTests": [], "marks": 1, "customMarkingAlgorithm": "", "vsetRangePoints": 5, "customName": "", "answer": "{2*c}x+{d}", "showCorrectAnswer": true, "checkingAccuracy": 0.001, "checkVariableNames": false, "checkingType": "absdiff", "extendBaseMarkingAlgorithm": true, "type": "jme", "vsetRange": [0, 1], "useCustomName": false, "showFeedbackIcon": true, "showPreview": true, "valuegenerators": [{"value": "", "name": "x"}], "variableReplacements": [], "scripts": {}}], "extendBaseMarkingAlgorithm": true, "type": "gapfill", "useCustomName": false, "showFeedbackIcon": true, "variableReplacements": [], "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "unitTests": [], "marks": 1, "customMarkingAlgorithm": "", "tolerance": 0, "allowResize": true, "customName": "", "prompt": "

Enter a $3 \\times 3$ identity matrix.

", "markPerCell": false, "showCorrectAnswer": true, "allowFractions": false, "correctAnswerFractions": false, "numRows": 1, "numColumns": 1, "extendBaseMarkingAlgorithm": true, "type": "matrix", "useCustomName": false, "showFeedbackIcon": true, "correctAnswer": "id(3)", "variableReplacements": [], "scripts": {}}], "advice": "", "functions": {}, "rulesets": {}, "extensions": [], "name": "Numbas demo: part types", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}