// Numbas version: finer_feedback_settings {"name": "CLE 1. True/false multiple choice", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "CLE 1. True/false multiple choice", "rulesets": {}, "ungrouped_variables": [], "extensions": [], "variable_groups": [{"variables": ["statements_true", "statements_false", "max_mark", "error", "a", "b", "c", "d", "f"], "name": "change these"}, {"variables": ["n", "rand", "statements", "marks"], "name": "do not change these"}], "parts": [{"maxMarks": "0", "unitTests": [], "layout": {"expression": "", "type": "all"}, "customName": "", "matrix": "{marks}", "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.
", "choices": "{statements}", "marks": 0, "minMarks": 0, "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "answers": ["True
", "False
"], "useCustomName": false, "warningType": "none", "scripts": {}, "type": "m_n_x", "shuffleAnswers": false, "maxAnswers": 0, "showCorrectAnswer": true, "shuffleChoices": true, "showFeedbackIcon": true, "showCellAnswerState": true, "minAnswers": "{n}", "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "displayType": "radiogroup"}], "variables": {"a": {"name": "a", "description": "", "definition": "random(3..7)", "templateType": "anything", "group": "change these"}, "rand": {"name": "rand", "description": "", "definition": "repeat(if(random(0..2)=2,1,0),n)", "templateType": "anything", "group": "do not change these"}, "d": {"name": "d", "description": "", "definition": "random(3..7)*100 + random(1..9)*10 + random(3..7)", "templateType": "anything", "group": "change these"}, "b": {"name": "b", "description": "", "definition": "random(10..18)", "templateType": "anything", "group": "change these"}, "statements_true": {"name": "statements_true", "description": "", "definition": "[\"BODMAS is wrong, or at the least, it is confusing\",\n \"To undo a procedure, you undo each step starting from the end\",\n \"To get from $\\\\var{a}^{\\\\var{b}}$ to $\\\\var{a}^{\\\\var{b+1}}$, you multiply by $\\\\var{a}$\", \n \"To get from $\\\\var{c}-\\\\var{d}$ to $\\\\var{c}-\\\\var{d+1}$, you subtract $1$\", \n \"$\\\\var{a}$ is a factor of $\\\\var{a*f}$\",\n \"$\\\\var{a*f}$ is a multiple of $\\\\var{a}$\",\n \"$\\\\log_2(8) = 3$ because $2^3=8$\"]\n ", "templateType": "anything", "group": "change these"}, "f": {"name": "f", "description": "Questions on the content in Week 1 of course.
", "definition": "random(-1..1#2)+a", "templateType": "anything", "group": "change these"}, "max_mark": {"name": "max_mark", "description": "", "definition": "5", "templateType": "anything", "group": "change these"}, "marks": {"name": "marks", "description": "", "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", "templateType": "anything", "group": "do not change these"}, "c": {"name": "c", "description": "", "definition": "random(3000..3999)", "templateType": "anything", "group": "change these"}, "statements_false": {"name": "statements_false", "description": "", "definition": "[\"You should always add before you subtract, because of BODMAS\",\n \"To undo a procedure, you undo each step starting from the beginning\",\n \"To get from $\\\\var{a}^{\\\\var{b}}$ to $\\\\var{a}^{\\\\var{b+1}}$, you add $1$\", \n \"To get from $\\\\var{c}-\\\\var{d}$ to $\\\\var{c}-\\\\var{d+1}$, you add $1$\", \n \"$\\\\var{a*f}$ is a factor of $\\\\var{a}$\",\n \"$\\\\var{a}$ is a multiple of $\\\\var{a*f}$\",\n \"$\\\\log_2(8) = 3$ because that's what the calculator says\"]\n ", "templateType": "anything", "group": "change these"}, "statements": {"name": "statements", "description": "", "definition": "map(if(rand[j]=1,\n statements_true[j],\n statements_false[j]),j,0..n-1)", "templateType": "anything", "group": "do not change these"}, "error": {"name": "error", "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.
", "definition": "0.5", "templateType": "anything", "group": "change these"}, "n": {"name": "n", "description": "", "definition": "length(statements_true)", "templateType": "anything", "group": "do not change these"}}, "metadata": {"description": "Template question. Seven statements given and student should determine if they are true or false. It is possible that 1,2,3,4,5 or 6 out of the 7 statements will be true and these are all equally likely.
", "licence": "Creative Commons Attribution 4.0 International"}, "preamble": {"js": "", "css": ""}, "functions": {}, "tags": [], "advice": "See 1.3, 1.4 and 1.5 in the handbook for background facts and examples.
", "statement": "", "variablesTest": {"condition": "", "maxRuns": 100}, "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/"}]}