// Numbas version: exam_results_page_options {"name": "William's copy of Randomly pick a list of unique numbers", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"statement": "", "variables": {"numbers": {"group": "Ungrouped variables", "name": "numbers", "description": "

5 random numbers between 0 and 15.

", "definition": "shuffle(0..15)[0..5]", "templateType": "anything"}}, "advice": "", "tags": [], "ungrouped_variables": ["numbers"], "rulesets": {}, "extensions": [], "variable_groups": [], "parts": [{"marks": 0, "showFeedbackIcon": true, "variableReplacements": [], "showCorrectAnswer": true, "gaps": [{"maxValue": "numbers[0]^2", "minValue": "numbers[0]^2", "showFeedbackIcon": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "type": "numberentry", "marks": 1, "mustBeReduced": false, "variableReplacements": [], "correctAnswerStyle": "plain", "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "variableReplacementStrategy": "originalfirst", "allowFractions": false, "scripts": {}}], "prompt": "

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

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

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

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

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

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

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

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

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

", "variableReplacementStrategy": "originalfirst", "type": "gapfill", "scripts": {}}], "name": "William's copy of Randomly pick a list of unique numbers", "functions": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "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.

"}, "preamble": {"js": "", "css": ""}, "type": "question", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "William Lee", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2797/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "William Lee", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2797/"}]}