// Numbas version: finer_feedback_settings {"name": "CLE 4 True False", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"preamble": {"js": "", "css": ""}, "functions": {}, "advice": "

See all the lectures and workshops from Week 0 to Week 3 and the module handbook.

", "variable_groups": [{"name": "change these", "variables": ["statements_true", "statements_false", "max_mark", "n", "a", "b", "c"]}, {"name": "do not change these", "variables": ["n_true", "digits", "rand", "statements", "marks"]}], "metadata": {"description": "

15 questions based on module so far. 

", "licence": "Creative Commons Attribution 4.0 International"}, "variables": {"a": {"name": "a", "description": "", "group": "change these", "definition": "random(3..7)", "templateType": "anything"}, "b": {"name": "b", "description": "", "group": "change these", "definition": "random(10..18)+random(1..9)/10", "templateType": "anything"}, "statements_false": {"name": "statements_false", "description": "", "group": "change these", "definition": "[\"If the discriminant of a quadratic equation is 0, the equation has zero solutions\",\n \"In a quadratic, if the coefficient of the squared term is negative, then the graph of the quadratic will be convex\",\n \"A quadratic equation always has two solutions\",\n \"A precise definition of the gradient of a straight line is that it is the slope of the line\",\n \"$-\\\\var{c}^2$ equals $\\\\var{c^2}$\",\n \"$\\\\sqrt{\\\\var{(c-1)^2}}$ equals $\\\\var{c-1}$ or $-\\\\var{c-1}$\",\n \"The gradient of a straight line is $\\\\frac{\\\\Delta x}{\\\\Delta y}$ \",\n \"$\\\\tan(b+c) = \\\\tan(b) + \\\\tan(c) $\",\n \"A straight line has only one equation\",\n \"A straight line has equation $y=-x+c$. This means the gradient is $1$\",\n \"When handwritten, a variable representing a vector should be drawn with bold font\",\n \"$\\\\vec{AB}$ is the distance between $A$ and $B$\",\n \"After finishing a question, you should not waste time checking your answer\",\n \"In an exam, if you get stuck on a question, you should keep trying until you can answer it, before moving on\",\n \"If $45<\\\\theta<90^{\\\\circ}$ in a right-angled triangle, then the opposite of the angle is smaller than the adjacent.\"\n]", "templateType": "anything"}, "c": {"name": "c", "description": "", "group": "change these", "definition": "random(6..9)", "templateType": "anything"}, "statements_true": {"name": "statements_true", "description": "", "group": "change these", "definition": "[\"If the discriminant of a quadratic equation is 0, the equation has one solution\",\n \"In a quadratic, if the coefficient of the squared term is negative, then the graph of the quadratic will be concave\",\n \"A quadratic equation can have zero, one or two solutions\",\n \"The gradient of a straight line tells you how far you move up if you move to the right by 1\",\n \"$-\\\\var{c}^2$ equals $-\\\\var{c^2}$\",\n \"$\\\\sqrt{\\\\var{(c-1)^2}}$ equals $\\\\var{c-1}$, not $-\\\\var{c-1}$\",\n \"The gradient of a straight line is $\\\\frac{\\\\Delta y}{\\\\Delta x}$ \",\n \"$\\\\tan(b+c) \\\\neq \\\\tan(b) + \\\\tan(c) $\",\n \"There are many equations for any single straight line\",\n \"A straight line has equation $y=-x+c$. This means the gradient is $-1$\",\n \"When handwritten, a variable representing a vector should be underlined or have an arrow above it\",\n \"$\\\\vec{AB}$ represents the vector joining $A$ to $B$\",\n \"After finishing a question, where possible, you should check your answer\",\n \"In an exam, if you get stuck on a question, you should move on and come back to it at the end\",\n \"If $45<\\\\theta<90^{\\\\circ}$ in a right-angled triangle, then the opposite of the angle is larger than the adjacent.\"\n]\n ", "templateType": "anything"}, "max_mark": {"name": "max_mark", "description": "", "group": "change these", "definition": "10", "templateType": "anything"}, "statements": {"name": "statements", "description": "", "group": "do not change these", "definition": "map(if(rand[j]=1,\n statements_true[j],\n statements_false[j]),j,0..n-1)", "templateType": "anything"}, "digits": {"name": "digits", "description": "", "group": "do not change these", "definition": "map(0,j,0..19)+map(1,j,0..19)", "templateType": "anything"}, "n": {"name": "n", "description": "", "group": "change these", "definition": "15", "templateType": "anything"}, "marks": {"name": "marks", "description": "", "group": "do not change these", "definition": "matrix(map(if(rand[j]=1,[max_mark/n,-max_mark],[-max_mark,max_mark/n]),j,0..n-1))\n", "templateType": "anything"}, "n_true": {"name": "n_true", "description": "", "group": "do not change these", "definition": "random(1..n-1)", "templateType": "anything"}, "rand": {"name": "rand", "description": "", "group": "do not change these", "definition": "vector(map(digits[n_true+19-j],j,0..(n-1)))", "templateType": "anything"}}, "variablesTest": {"maxRuns": 100, "condition": ""}, "extensions": [], "statement": "

This is a non-calculator question.

", "name": "CLE 4 True False", "parts": [{"matrix": "{marks}", "shuffleAnswers": false, "scripts": {}, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "showCorrectAnswer": true, "layout": {"type": "all", "expression": ""}, "marks": 0, "prompt": "

Which of the following are true and which are false? If you are unsure of something, find out the answer instead of guessing. A single error will result in a score 0 for the whole question. If you are unable to find out or understand the answer, you are welcome to ask me for help or advice.

", "answers": ["

True

", "

False

"], "minAnswers": "{n}", "variableReplacementStrategy": "originalfirst", "maxMarks": "0", "type": "m_n_x", "displayType": "radiogroup", "extendBaseMarkingAlgorithm": true, "warningType": "none", "choices": "{statements}", "shuffleChoices": true, "variableReplacements": [], "minMarks": 0, "maxAnswers": 0, "unitTests": []}], "tags": [], "ungrouped_variables": [], "rulesets": {}, "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/"}]}