// Numbas version: exam_results_page_options {"name": "Randomly pick a list of unique numbers", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variables": {"numbers": {"definition": "shuffle(0..15)[0..5]", "group": "Ungrouped variables", "description": "

5 random numbers between 0 and 15.

", "templateType": "anything", "name": "numbers"}}, "extensions": [], "functions": {}, "advice": "", "tags": [], "type": "question", "statement": "", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Ask for the squares of five randomly-chosen numbers between 0 and 15.

\n

The shuffle function puts a list in random order.

"}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["numbers"], "parts": [{"showFeedbackIcon": true, "marks": 0, "variableReplacements": [], "prompt": "

\$\\var{numbers[0]}^2 = \$ [[0]]

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

\$\\var{numbers[1]}^2 = \$ [[0]]

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

\$\\var{numbers[2]}^2 = \$ [[0]]

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

\$\\var{numbers[3]}^2 = \$ [[0]]

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

\$\\var{numbers[4]}^2 = \$ [[0]]

", "showCorrectAnswer": true, "gaps": [{"mustBeReducedPC": 0, "showCorrectAnswer": true, "variableReplacements": [], "allowFractions": false, "marks": 1, "correctAnswerStyle": "plain", "type": "numberentry", "maxValue": "numbers[4]^2", "correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "minValue": "numbers[4]^2", "scripts": {}, "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "showFeedbackIcon": true}], "scripts": {}, "type": "gapfill", "variableReplacementStrategy": "originalfirst"}], "rulesets": {}, "preamble": {"js": "", "css": ""}, "name": "Randomly pick a list of unique numbers", "variable_groups": [], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}