// Numbas version: finer_feedback_settings {"name": "Nicole's copy of Number of permutations of a finite set,", "extensions": ["stats"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": ""}, "preamble": {"js": "", "css": ""}, "variables": {"ans": {"templateType": "anything", "group": "Ungrouped variables", "definition": "factorial(a)", "name": "ans", "description": ""}, "a": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(5..13)", "name": "a", "description": ""}}, "extensions": ["stats"], "statement": "
SeSuppose $\\var{a}$ people take part in a race. How many different outcomes does the race have, assuming that there are no ties? This includes all $\\var{a}$ positions.
", "rulesets": {}, "tags": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "ungrouped_variables": ["a", "ans"], "variable_groups": [], "functions": {}, "parts": [{"variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "type": "gapfill", "useCustomName": false, "gaps": [{"allowFractions": false, "variableReplacementStrategy": "originalfirst", "showFractionHint": true, "extendBaseMarkingAlgorithm": true, "maxValue": "ans", "type": "numberentry", "useCustomName": false, "marks": 1, "minValue": "ans", "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "correctAnswerFraction": false, "showFeedbackIcon": true, "variableReplacements": [], "mustBeReducedPC": 0, "customMarkingAlgorithm": "", "mustBeReduced": false, "scripts": {}, "correctAnswerStyle": "plain", "customName": "", "unitTests": []}, {"checkingAccuracy": 0.001, "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "type": "jme", "useCustomName": false, "checkVariableNames": false, "marks": 1, "failureRate": 1, "vsetRange": [0, 1], "showPreview": true, "showCorrectAnswer": false, "valuegenerators": [{"value": "", "name": "ans"}], "checkingType": "absdiff", "showFeedbackIcon": true, "variableReplacements": [], "customMarkingAlgorithm": "", "scripts": {}, "vsetRangePoints": 5, "customName": "", "answer": "ans", "unitTests": []}], "marks": 0, "sortAnswers": false, "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "customMarkingAlgorithm": "", "scripts": {}, "prompt": "Number of outcomes = ?[[0]]
", "customName": "", "unitTests": []}], "name": "Nicole's copy of Number of permutations of a finite set,", "advice": "There are $\\var{a}$ choices for who comes first.
\nThere are therefore $\\var{a-1}$ choices for whoever comes second and so on.
\nSo there are $\\var{a}\\times \\var{a-1}\\times \\cdots\\times1=\\var{a}!=\\var{ans}$ ways in which the race can finish.
", "type": "question", "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Nicole R", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3423/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Nicole R", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3423/"}]}