// Numbas version: exam_results_page_options {"name": "Prime numbers", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [{"variables": ["a", "b", "d", "f", "h", "j", "k", "sqrtd", "hlist"], "name": "Part b"}], "preamble": {"js": "", "css": ""}, "type": "question", "name": "Prime numbers", "parts": [{"minAnswers": 0, "answers": ["
Prime
", "Composite
"], "showCorrectAnswer": true, "shuffleAnswers": false, "minMarks": 0, "maxMarks": 0, "displayType": "radiogroup", "showFeedbackIcon": true, "marks": 0, "maxAnswers": 0, "type": "m_n_x", "layout": {"expression": "", "type": "all"}, "steps": [{"variableReplacementStrategy": "originalfirst", "type": "information", "showCorrectAnswer": true, "marks": 0, "variableReplacements": [], "scripts": {}, "showFeedbackIcon": true, "prompt": "A number that only has two factors - itself and 1 - is known as a prime number.
\nA number that can be divided without remainder by numbers other than itself and 1 is known as a composite number.
"}], "variableReplacementStrategy": "originalfirst", "matrix": [["1", 0], ["1", 0], [0, "1"], ["1", "0"], ["0", "1"], [0, "1"], ["1", "0"]], "warningType": "none", "scripts": {}, "choices": ["$\\displaystyle\\var{b}$
", "$\\displaystyle\\var{k}$
", "$\\displaystyle\\var{f}$
", "$\\displaystyle\\var{a}$
", "$\\displaystyle\\var{d}$
", "$\\displaystyle\\var{h}$
", "$\\displaystyle\\var{j}$
"], "shuffleChoices": false, "variableReplacements": [], "stepsPenalty": 0}], "advice": "\n\nThe numbers and their factors are given below:
\nNumber | \nPrime/Composite | \nFactors | \n
$\\var{b}$ | \nPrime | \n$1$, $\\var{b}$ | \n
$\\var{k}$ | \nPrime | \n$1$, $\\var{k}$ | \n
$\\var{f}$ | \nComposite | \n$1$, $2$, $\\var{f/2}$, $\\var{f}$ | \n
$\\var{a}$ | \nPrime | \n$1$, $\\var{a}$ | \n
$\\var{d}$ | \nComposite | \n$1$, $\\var{sqrtd}$, $\\var{d}$ | \n
$\\var{h}$ | \nComposite | \n$\\var{latex(hlist)}$ | \n
$\\var{j}$ | \nPrime | \n$1$, $\\var{j}$ | \n
Identify which of the following are prime numbers.
", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "Sort a list of numbers into \"prime\" or \"composite\".
"}, "extensions": [], "contributors": [{"name": "Chris Graham", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/369/"}]}]}], "contributors": [{"name": "Chris Graham", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/369/"}]}