// Numbas version: exam_results_page_options {"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": [{"variablesTest": {"maxRuns": 100, "condition": ""}, "ungrouped_variables": [], "name": "CLE 1: true/false multiple choice", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "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.

"}, "rulesets": {}, "variable_groups": [{"name": "change these", "variables": ["statements_true", "statements_false", "max_mark"]}, {"name": "do not change these", "variables": ["n_true", "digits", "rand", "statements", "n", "marks"]}], "parts": [{"customMarkingAlgorithm": "", "minMarks": 0, "maxAnswers": 0, "answers": ["

True

", "

False

"], "minAnswers": "n", "shuffleChoices": true, "variableReplacements": [], "choices": "{statements}", "marks": 0, "showFeedbackIcon": true, "matrix": "{marks}", "displayType": "radiogroup", "extendBaseMarkingAlgorithm": true, "layout": {"expression": "", "type": "all"}, "showCorrectAnswer": true, "unitTests": [], "prompt": "

Which of the following are true and which are false?

", "maxMarks": "0", "variableReplacementStrategy": "originalfirst", "shuffleAnswers": false, "scripts": {}, "warningType": "none", "type": "m_n_x"}], "preamble": {"js": "", "css": ""}, "statement": "

This is a non-calculator question.

", "extensions": [], "functions": {}, "tags": [], "advice": "

See 1.1,1.3 and 1.4 for background and examples.

", "variables": {"marks": {"templateType": "anything", "group": "do not change these", "description": "", "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"}, "rand": {"templateType": "anything", "group": "do not change these", "description": "", "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]]))"}, "max_mark": {"templateType": "anything", "group": "change these", "description": "", "name": "max_mark", "definition": "3"}, "statements_false": {"templateType": "anything", "group": "change these", "description": "", "name": "statements_false", "definition": "[\"Solving an equation means finding the answer\",\n \"To add two fractions, you do not need to make their denominators equal first\",\n \"To divide by a fraction, you need to make the denominators equal first\",\n \"Dividing by $\\\\frac{1}{\\\\var{n_true+1}}$ is the same as multiplying by $\\\\frac{1}{\\\\var{n_true+1}}$\",\n \"The circumference of a circle of radius $r$ is $\\\\pi r$\",\n \"Dividing by $0.01$ is the same as dividing by $100$\",\n \"According to the convention described in Lecture 1.4, positive angles correspond to clockwise rotation\"]\n "}, "n": {"templateType": "anything", "group": "do not change these", "description": "", "name": "n", "definition": "length(statements)"}, "digits": {"templateType": "anything", "group": "do not change these", "description": "", "name": "digits", "definition": "[0,0,0,0,0,0,0,1,1,1,1,1,1,1]"}, "n_true": {"templateType": "anything", "group": "do not change these", "description": "", "name": "n_true", "definition": "random(1..6)"}, "statements_true": {"templateType": "anything", "group": "change these", "description": "", "name": "statements_true", "definition": "[\"Solving an equation means finding all values of the unknown which makes the equation true\",\n \"To add two fractions, you need to make their denominators equal first\",\n \"To divide by a fraction, you do not need to make the denominators equal first\",\n \"Dividing by $\\\\frac{1}{\\\\var{n_true+1}}$ is the same as multiplying by $\\\\var{n_true+1}$\",\n \"The circumference of a circle of radius $r$ is $2\\\\pi r$\",\n \"Dividing by $0.01$ is the same as multiplying by $100$\",\n \"According to the convention described in Lecture 1.4, positive angles correspond to anti-clockwise rotation\"]\n"}, "statements": {"templateType": "anything", "group": "do not change these", "description": "", "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]"}}, "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/"}]}