// Numbas version: finer_feedback_settings {"name": "Luis's copy of Simple combinations,", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": ["checked2015", "combinatorics", "MAS1701", "MAS2216", "sc"], "statement": "
There are two shops that sell jumpers. The first shop has $\\var{a}$ designs and $\\var{c}$ colours. The second shop has $\\var{b}$ designs and $\\var{d}$ colours. The designs in the first and second shop are all different. How many choices of jumper do I have?
", "name": "Luis's copy of Simple combinations,", "metadata": {"notes": "7/02/2013:
\nFinished first draft. Need advice on tags and description.
", "licence": "Creative Commons Attribution 4.0 International", "description": "Two shops each have different numbers of jumper designs and colours. How many choices of jumper are there?
"}, "ungrouped_variables": ["a", "c", "b", "d", "ans"], "parts": [{"prompt": "Number of choices = ?[[0]]
", "type": "gapfill", "marks": 0, "showCorrectAnswer": true, "gaps": [{"showPrecisionHint": false, "type": "numberentry", "allowFractions": false, "showCorrectAnswer": true, "minValue": "ans", "maxValue": "ans", "correctAnswerFraction": false, "scripts": {}, "marks": 2}], "scripts": {}}], "variables": {"d": {"definition": "random(5..10)", "name": "d", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "b": {"definition": "random(15..30)", "name": "b", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "c": {"definition": "random(5..10)", "name": "c", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "a": {"definition": "random(15..30)", "name": "a", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "ans": {"definition": "a*c+b*d", "name": "ans", "templateType": "anything", "group": "Ungrouped variables", "description": ""}}, "variable_groups": [], "preamble": {"css": "", "js": ""}, "type": "question", "rulesets": {}, "advice": "There are $\\var{a} \\times \\var{c}=\\var{a*c}$ ways to get a jumper from the first shop and $\\var{b} \\times \\var{d}=\\var{b*d}$ ways to get a jumper from the second shop. Adding these two numbers together gives a total of $\\var{ans}$ possible jumpers.
", "showQuestionGroupNames": false, "functions": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "questions": [], "pickQuestions": 0}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Luis Hernandez", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2870/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Luis Hernandez", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2870/"}]}