// Numbas version: finer_feedback_settings {"name": "Template: true/false multiple choice", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": [], "rulesets": {}, "variable_groups": [{"variables": ["statements_true", "statements_false", "max_mark", "error"], "name": "change these"}, {"variables": ["n", "rand", "statements", "marks"], "name": "do not change these"}], "ungrouped_variables": [], "advice": "
See Lecture ?? and Workshop ?? for background and examples
", "extensions": [], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "Template question. Multiple choice.
"}, "name": "Template: true/false multiple choice", "variablesTest": {"condition": "", "maxRuns": 100}, "functions": {}, "parts": [{"warningType": "none", "adaptiveMarkingPenalty": 0, "shuffleAnswers": false, "type": "m_n_x", "useCustomName": false, "showCorrectAnswer": true, "answers": ["True
", "False
"], "maxMarks": "0", "customMarkingAlgorithm": "", "minAnswers": "{n}", "variableReplacements": [], "minMarks": 0, "layout": {"expression": "", "type": "all"}, "unitTests": [], "variableReplacementStrategy": "originalfirst", "maxAnswers": 0, "shuffleChoices": true, "extendBaseMarkingAlgorithm": true, "matrix": "{marks}", "showFeedbackIcon": true, "choices": "{statements}", "displayType": "radiogroup", "prompt": "Which of the following are true and which are false?
\n\nIf you are unsure of something, find out the answer instead of guessing. A single error will result in a score 0 for this question. If you are unable to find out, you are welcome to ask me for help or advice.
", "marks": 0, "scripts": {}, "customName": "", "showCellAnswerState": true}], "variables": {"n": {"templateType": "anything", "group": "do not change these", "definition": "length(statements_true)", "description": "", "name": "n"}, "statements_false": {"templateType": "anything", "group": "change these", "definition": "[\"false 1\",\n \"false 2\",\n \"false 3\",\n \"false 4\",\n \"false 5\",\n \"false 6\",\n \"false 7\",\n \"false 8\",\n \"false 9\",\n \"false 10\",\n \"false 11\",\n \"false 12\",\n \"false 13\",\n \"false 14\",\n \"false 15\",\n \"false 16\",\n \"false 17\",\n \"false 18\",\n \"false 19\",\n \"false 20\"\n]\n ", "description": "", "name": "statements_false"}, "statements": {"templateType": "anything", "group": "do not change these", "definition": "map(if(rand[j]=1,\n statements_true[j],\n statements_false[j]),j,0..n-1)", "description": "", "name": "statements"}, "marks": {"templateType": "anything", "group": "do not change these", "definition": "matrix(map(if(rand[j]=1,[max_mark/n,-max_mark*error+max_mark/n],[-max_mark*error+max_mark/n,max_mark/n]),j,0..n-1))\n\n", "description": "", "name": "marks"}, "statements_true": {"templateType": "anything", "group": "change these", "definition": "[\"true 1\",\n \"true 2\",\n \"true 3\",\n \"true 4\",\n \"true 5\",\n \"true 6\",\n \"true 7\",\n \"true 8\",\n \"true 9\",\n \"true 10\",\n \"true 11\",\n \"true 12\",\n \"true 13\",\n \"true 14\",\n \"true 15\",\n \"true 16\",\n \"true 17\",\n \"true 18\",\n \"true 19\",\n \"true 20\"\n]\n ", "description": "", "name": "statements_true"}, "error": {"templateType": "anything", "group": "change these", "definition": "0.5", "description": "what proportion of total marks should be lost for each error. e.g. 1/2 would mean a single error costs half of all marks available. 1/3 would mean each error costs a third of all marks.
", "name": "error"}, "max_mark": {"templateType": "anything", "group": "change these", "definition": "3", "description": "", "name": "max_mark"}, "rand": {"templateType": "anything", "group": "do not change these", "definition": "repeat(if(random(0..2)=2,1,0),n)", "description": "", "name": "rand"}}, "preamble": {"js": "", "css": ""}, "statement": "", "type": "question", "contributors": [{"name": "Lovkush Agarwal", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1358/"}]}]}], "contributors": [{"name": "Lovkush Agarwal", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1358/"}]}