// Numbas version: exam_results_page_options {"name": "CLE 0: true/false multiple choice", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"advice": "

See Lectures 0.3 and 0.4 and Workshop 0.5 for background.

", "variables": {"statements": {"description": "", "templateType": "anything", "name": "statements", "definition": "[if(rand[0]=1,\n statements_true[0],\n statements_false[0]),\n if(rand[1]=1,\n statements_true[1],\n statements_false[1]),\n if(rand[2]=1,\n statements_true[2],\n statements_false[2]),\n if(rand[3]=1,\n statements_true[3],\n statements_false[3]),\n if(rand[4]=1,\n statements_true[4],\n statements_false[4]),\n if(rand[5]=1,\n statements_true[5],\n statements_false[5]),\n if(rand[6]=1,\n statements_true[6],\n statements_false[6])\n]", "group": "do not change these"}, "statements_true": {"description": "", "templateType": "anything", "name": "statements_true", "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 ", "group": "change these"}, "n_true": {"description": "", "templateType": "anything", "name": "n_true", "definition": "random(1..6)", "group": "do not change these"}, "marks": {"description": "", "templateType": "anything", "name": "marks", "definition": "matrix(\n [\n if(rand[0]=1,[max_mark/n,-max_mark],[-max_mark,max_mark/n]),\n if(rand[1]=1,[max_mark/n,-max_mark],[-max_mark,max_mark/n]),\n if(rand[2]=1,[max_mark/n,-max_mark],[-max_mark,max_mark/n]),\n if(rand[3]=1,[max_mark/n,-max_mark],[-max_mark,max_mark/n]),\n if(rand[4]=1,[max_mark/n,-max_mark],[-max_mark,max_mark/n]),\n if(rand[5]=1,[max_mark/n,-max_mark],[-max_mark,max_mark/n]),\n if(rand[6]=1,[max_mark/n,-max_mark],[-max_mark,max_mark/n])\n ]\n )\n", "group": "do not change these"}, "f": {"description": "", "templateType": "anything", "name": "f", "definition": "random(-1..1#2)+a", "group": "change these"}, "n": {"description": "", "templateType": "anything", "name": "n", "definition": "length(statements)", "group": "do not change these"}, "a": {"description": "", "templateType": "anything", "name": "a", "definition": "random(3..7)", "group": "change these"}, "d": {"description": "", "templateType": "anything", "name": "d", "definition": "random(3..7)*100 + random(1..9)*10 + random(3..7)", "group": "change these"}, "rand": {"description": "", "templateType": "anything", "name": "rand", "definition": "vector(shuffle([digits[n_true],\n digits[n_true+1],\n digits[n_true+2],\n digits[n_true+3],\n digits[n_true+4],\n digits[n_true+5],\n digits[n_true+6]]))", "group": "do not change these"}, "statements_false": {"description": "", "templateType": "anything", "name": "statements_false", "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 ", "group": "change these"}, "digits": {"description": "", "templateType": "anything", "name": "digits", "definition": "[0,0,0,0,0,0,0,1,1,1,1,1,1,1]", "group": "do not change these"}, "b": {"description": "", "templateType": "anything", "name": "b", "definition": "random(10..18)", "group": "change these"}, "c": {"description": "", "templateType": "anything", "name": "c", "definition": "random(3000..3999)", "group": "change these"}, "max_mark": {"description": "", "templateType": "anything", "name": "max_mark", "definition": "7", "group": "change these"}}, "tags": [], "name": "CLE 0: true/false multiple choice", "statement": "", "preamble": {"js": "", "css": ""}, "parts": [{"minMarks": 0, "answers": ["

True

", "

False

"], "prompt": "

Which of the following are true and which are false?

", "choices": "{statements}", "layout": {"type": "all", "expression": ""}, "minAnswers": "n", "displayType": "radiogroup", "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "variableReplacements": [], "showCorrectAnswer": true, "maxAnswers": 0, "unitTests": [], "shuffleChoices": true, "type": "m_n_x", "matrix": "{marks}", "maxMarks": "0", "marks": 0, "shuffleAnswers": false, "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "scripts": {}, "warningType": "none"}], "functions": {}, "variable_groups": [{"variables": ["statements_true", "statements_false", "max_mark", "a", "b", "c", "d", "f"], "name": "change these"}, {"variables": ["n_true", "digits", "rand", "statements", "n", "marks"], "name": "do not change these"}], "extensions": [], "metadata": {"description": "

Several questions asking about content in Week 0 of course; arithmetic, bodmas, procedures, exponentiation, logs.

", "licence": "Creative Commons Attribution 4.0 International"}, "ungrouped_variables": [], "rulesets": {}, "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/"}]}