// Numbas version: exam_results_page_options {"name": "Nour's copy of Multiples and Factors", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["hcf2", "lcm2", "a", "b", "c", "product", "answers", "wa1", "wa2", "ca1", "ca2", "d", "f", "g", "h", "j", "k", "l", "lcm", "m", "n", "hcf", "p", "q", "hcf3", "lcm4"], "name": "Nour's copy of Multiples and Factors", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "

Multiples are in the times table of the original number (e.g., 10, 15, 20 are multiples of 5 because they are in the 5 times table).

\n

Factors multiply together in pairs to give the original number (e.g., the factors of 10 are 1, 2, 5 and 10, because 1x10=10 and 2x5=10.

\n

A lowest common multiple (LCM) is the lowest number that is in the times tables of both given numbers (e.g., the LCM of 4 and 6 is 12, because that is the lowest number that the times tables of 4 and 6 have in common).

\n

A highest common factors is the highest number that is the list of factors of both given numbers (e.g., the HCF of 10 and 15 is 5, because that is the highest number in both lists of factors).

", "rulesets": {}, "parts": [{"maxAnswers": "0", "distractors": ["", "", "", ""], "prompt": "

Choose all of the factors of $\\var{product}$.

", "matrix": ["1", "1", 0, 0], "shuffleChoices": true, "variableReplacements": [], "minAnswers": 0, "variableReplacementStrategy": "originalfirst", "displayType": "checkbox", "maxMarks": 0, "marks": 0, "scripts": {}, "warningType": "warn", "displayColumns": 0, "showCorrectAnswer": true, "choices": ["

$\\var{ca1}$

", "

$\\var{ca2}$

", "

$\\var{wa1}$

", "

$\\var{wa2}$

"], "type": "m_n_2", "minMarks": 0}, {"maxAnswers": "0", "distractors": ["", "", "", ""], "prompt": "

Choose all of the multiples of $\\var{d}$.

", "matrix": [0, "1", "1", 0], "shuffleChoices": true, "variableReplacements": [], "minAnswers": 0, "variableReplacementStrategy": "originalfirst", "displayType": "checkbox", "maxMarks": "2", "marks": 0, "scripts": {}, "warningType": "none", "displayColumns": 0, "showCorrectAnswer": true, "choices": ["

$\\var{h}$

", "

$\\var{d*f}$

", "

$\\var{d*g}$

", "

$\\var{j}$

"], "type": "m_n_2", "minMarks": 0}, {"distractors": ["", "", "", ""], "prompt": "

Give the lowest common multiple of $\\var{k}$ and $\\var{l}$.

", "matrix": ["1", 0, 0, 0], "shuffleChoices": true, "variableReplacements": [], "choices": ["

$\\var{lcm}$

", "

$\\var{lcm2}$

", "

$\\var{hcf}$

", "

$\\var{hcf+1}$

"], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "maxMarks": 0, "marks": 0, "scripts": {}, "displayColumns": 0, "showCorrectAnswer": true, "type": "1_n_2", "minMarks": 0}, {"distractors": ["", "", "", ""], "prompt": "

Give the highest common factor of $\\var{p}$ and $\\var{q}$.

", "matrix": ["1", 0, 0, 0], "shuffleChoices": false, "variableReplacements": [], "choices": ["

$\\var{hcf3}$

", "

$\\var{hcf2}$

", "

$\\var{lcm4}$

", "

$\\var{lcm}$

"], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "maxMarks": 0, "marks": 0, "scripts": {}, "displayColumns": 0, "showCorrectAnswer": true, "type": "1_n_2", "minMarks": 0}], "extensions": [], "statement": "

Solve the following.

", "type": "question", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "question_groups": [{"pickingStrategy": "all-ordered", "name": "", "questions": [], "pickQuestions": 0}], "variables": {"ca2": {"definition": "random(answers except ca1)", "templateType": "anything", "group": "Ungrouped variables", "name": "ca2", "description": ""}, "ca1": {"definition": "random(answers)", "templateType": "anything", "group": "Ungrouped variables", "name": "ca1", "description": ""}, "hcf": {"definition": "gcd(k,l)", "templateType": "anything", "group": "Ungrouped variables", "name": "hcf", "description": ""}, "lcm4": {"definition": "lcm(p,q)", "templateType": "anything", "group": "Ungrouped variables", "name": "lcm4", "description": ""}, "lcm2": {"definition": "lcm(n,m)", "templateType": "anything", "group": "Ungrouped variables", "name": "lcm2", "description": ""}, "product": {"definition": "a*b*c", "templateType": "anything", "group": "Ungrouped variables", "name": "product", "description": ""}, "answers": {"definition": "[a,b,c,a*b,a*c,b*c,1,product]", "templateType": "anything", "group": "Ungrouped variables", "name": "answers", "description": ""}, "hcf3": {"definition": "gcd(p,q)", "templateType": "anything", "group": "Ungrouped variables", "name": "hcf3", "description": ""}, "hcf2": {"definition": "gcd(n,m)+1", "templateType": "anything", "group": "Ungrouped variables", "name": "hcf2", "description": ""}, "lcm": {"definition": "lcm(k,l)", "templateType": "anything", "group": "Ungrouped variables", "name": "lcm", "description": ""}, "a": {"definition": "random(1,2,3)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "c": {"definition": "random(5,7)", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "random(2,3)", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "random(1..12)", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "g": {"definition": "random(2..10 except b)", "templateType": "anything", "group": "Ungrouped variables", "name": "g", "description": ""}, "f": {"definition": "random(2..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "f", "description": ""}, "h": {"definition": "random(1..100 except [d,f,g])", "templateType": "anything", "group": "Ungrouped variables", "name": "h", "description": ""}, "k": {"definition": "random(4..12)", "templateType": "anything", "group": "Ungrouped variables", "name": "k", "description": ""}, "j": {"definition": "random(1..50 except [d,f,g,h])", "templateType": "anything", "group": "Ungrouped variables", "name": "j", "description": ""}, "m": {"definition": "random(2..15 except [k,l,lcm])", "templateType": "anything", "group": "Ungrouped variables", "name": "m", "description": ""}, "l": {"definition": "random(4..15 except k)", "templateType": "anything", "group": "Ungrouped variables", "name": "l", "description": ""}, "n": {"definition": "random(6..15 except [k,l,lcm,m])", "templateType": "anything", "group": "Ungrouped variables", "name": "n", "description": ""}, "q": {"definition": "random(4..36 except p)", "templateType": "anything", "group": "Ungrouped variables", "name": "q", "description": ""}, "p": {"definition": "random(6..24)", "templateType": "anything", "group": "Ungrouped variables", "name": "p", "description": ""}, "wa2": {"definition": "random(1..product except [a,b,c,a*b,a*c,b*c,1,product,wa1])", "templateType": "anything", "group": "Ungrouped variables", "name": "wa2", "description": ""}, "wa1": {"definition": "random(1..product except answers)", "templateType": "anything", "group": "Ungrouped variables", "name": "wa1", "description": ""}}, "showQuestionGroupNames": false, "metadata": {"description": "

Multiples, factors, lowest common multiples and highest common factors.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "contributors": [{"name": "Nour Charf", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1258/"}]}]}], "contributors": [{"name": "Nour Charf", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1258/"}]}