// Numbas version: finer_feedback_settings {"name": "Marlon's copy of Johan'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": [{"preamble": {"js": "", "css": ""}, "rulesets": {}, "tags": [], "variable_groups": [], "extensions": [], "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"], "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).
\nFactors 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.
\nA 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).
\nA 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).
", "showQuestionGroupNames": false, "functions": {}, "variables": {"answers": {"name": "answers", "group": "Ungrouped variables", "definition": "[a,b,c,a*b,a*c,b*c,1,product]", "description": "", "templateType": "anything"}, "lcm": {"name": "lcm", "group": "Ungrouped variables", "definition": "lcm(k,l)", "description": "", "templateType": "anything"}, "l": {"name": "l", "group": "Ungrouped variables", "definition": "random(4..15 except k)", "description": "", "templateType": "anything"}, "lcm4": {"name": "lcm4", "group": "Ungrouped variables", "definition": "lcm(p,q)", "description": "", "templateType": "anything"}, "hcf2": {"name": "hcf2", "group": "Ungrouped variables", "definition": "gcd(n,m)+1", "description": "", "templateType": "anything"}, "g": {"name": "g", "group": "Ungrouped variables", "definition": "random(2..10 except b)", "description": "", "templateType": "anything"}, "h": {"name": "h", "group": "Ungrouped variables", "definition": "random(1..100 except [d,f,g])", "description": "", "templateType": "anything"}, "lcm2": {"name": "lcm2", "group": "Ungrouped variables", "definition": "lcm(n,m)", "description": "", "templateType": "anything"}, "wa1": {"name": "wa1", "group": "Ungrouped variables", "definition": "random(1..product except answers)", "description": "", "templateType": "anything"}, "hcf3": {"name": "hcf3", "group": "Ungrouped variables", "definition": "gcd(p,q)", "description": "", "templateType": "anything"}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1,2,3)", "description": "", "templateType": "anything"}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(5,7)", "description": "", "templateType": "anything"}, "k": {"name": "k", "group": "Ungrouped variables", "definition": "random(4..12)", "description": "", "templateType": "anything"}, "ca2": {"name": "ca2", "group": "Ungrouped variables", "definition": "random(answers except ca1)", "description": "", "templateType": "anything"}, "ca1": {"name": "ca1", "group": "Ungrouped variables", "definition": "random(answers)", "description": "", "templateType": "anything"}, "product": {"name": "product", "group": "Ungrouped variables", "definition": "a*b*c", "description": "", "templateType": "anything"}, "m": {"name": "m", "group": "Ungrouped variables", "definition": "random(2..15 except [k,l,lcm])", "description": "", "templateType": "anything"}, "wa2": {"name": "wa2", "group": "Ungrouped variables", "definition": "random(1..product except [a,b,c,a*b,a*c,b*c,1,product,wa1])", "description": "", "templateType": "anything"}, "p": {"name": "p", "group": "Ungrouped variables", "definition": "random(6..24)", "description": "", "templateType": "anything"}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(1..12)", "description": "", "templateType": "anything"}, "j": {"name": "j", "group": "Ungrouped variables", "definition": "random(1..50 except [d,f,g,h])", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(2,3)", "description": "", "templateType": "anything"}, "n": {"name": "n", "group": "Ungrouped variables", "definition": "random(6..15 except [k,l,lcm,m])", "description": "", "templateType": "anything"}, "f": {"name": "f", "group": "Ungrouped variables", "definition": "random(2..10)", "description": "", "templateType": "anything"}, "hcf": {"name": "hcf", "group": "Ungrouped variables", "definition": "gcd(k,l)", "description": "", "templateType": "anything"}, "q": {"name": "q", "group": "Ungrouped variables", "definition": "random(4..36 except p)", "description": "", "templateType": "anything"}}, "metadata": {"description": "Multiples, factors, lowest common multiples and highest common factors.
", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "name": "Marlon's copy of Johan's copy of Multiples and Factors", "parts": [{"maxMarks": 0, "shuffleChoices": true, "variableReplacementStrategy": "originalfirst", "minMarks": 0, "displayColumns": 0, "distractors": ["", "", "", ""], "matrix": ["1", "1", 0, 0], "marks": 0, "choices": ["$\\var{ca1}$
", "$\\var{ca2}$
", "$\\var{wa1}$
", "$\\var{wa2}$
"], "scripts": {}, "minAnswers": 0, "displayType": "checkbox", "variableReplacements": [], "showCorrectAnswer": true, "maxAnswers": "0", "prompt": "Choose all of the factors of $\\var{product}$.
", "type": "m_n_2", "warningType": "warn"}, {"maxMarks": "2", "shuffleChoices": true, "variableReplacementStrategy": "originalfirst", "minMarks": 0, "displayColumns": 0, "distractors": ["", "", "", ""], "matrix": [0, "1", "1", 0], "marks": 0, "choices": ["$\\var{h}$
", "$\\var{d*f}$
", "$\\var{d*g}$
", "$\\var{j}$
"], "scripts": {}, "minAnswers": 0, "displayType": "checkbox", "variableReplacements": [], "showCorrectAnswer": true, "maxAnswers": "0", "prompt": "Choose all of the multiples of $\\var{d}$.
", "type": "m_n_2", "warningType": "none"}, {"maxMarks": 0, "shuffleChoices": true, "variableReplacementStrategy": "originalfirst", "minMarks": 0, "displayColumns": 0, "distractors": ["", "", "", ""], "matrix": ["1", 0, 0, 0], "scripts": {}, "choices": ["$\\var{lcm}$
", "$\\var{lcm2}$
", "$\\var{hcf}$
", "$\\var{hcf+1}$
"], "marks": 0, "displayType": "radiogroup", "variableReplacements": [], "showCorrectAnswer": true, "prompt": "Give the lowest common multiple of $\\var{k}$ and $\\var{l}$.
", "type": "1_n_2"}, {"maxMarks": 0, "shuffleChoices": false, "variableReplacementStrategy": "originalfirst", "minMarks": 0, "displayColumns": 0, "distractors": ["", "", "", ""], "matrix": ["1", 0, 0, 0], "scripts": {}, "choices": ["$\\var{hcf3}$
", "$\\var{hcf2}$
", "$\\var{lcm4}$
", "$\\var{lcm}$
"], "marks": 0, "displayType": "radiogroup", "variableReplacements": [], "showCorrectAnswer": true, "prompt": "Give the highest common factor of $\\var{p}$ and $\\var{q}$.
", "type": "1_n_2"}], "type": "question", "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "variablesTest": {"condition": "", "maxRuns": 100}, "statement": "Solve the following.
", "contributors": [{"name": "Marlon Arcila", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/321/"}]}]}], "contributors": [{"name": "Marlon Arcila", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/321/"}]}