// Numbas version: exam_results_page_options {"name": "Simple combinations,", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"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.

", "variable_groups": [], "showQuestionGroupNames": false, "ungrouped_variables": ["a", "c", "b", "d", "ans"], "functions": {}, "name": "Simple combinations,", "variablesTest": {"condition": "", "maxRuns": 100}, "question_groups": [{"pickingStrategy": "all-ordered", "name": "", "questions": [], "pickQuestions": 0}], "type": "question", "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?

", "variables": {"b": {"templateType": "anything", "description": "", "definition": "random(15..30)", "group": "Ungrouped variables", "name": "b"}, "a": {"templateType": "anything", "description": "", "definition": "random(15..30)", "group": "Ungrouped variables", "name": "a"}, "ans": {"templateType": "anything", "description": "", "definition": "a*c+b*d", "group": "Ungrouped variables", "name": "ans"}, "d": {"templateType": "anything", "description": "", "definition": "random(5..10)", "group": "Ungrouped variables", "name": "d"}, "c": {"templateType": "anything", "description": "", "definition": "random(5..10)", "group": "Ungrouped variables", "name": "c"}}, "tags": ["checked2015", "combinatorics", "MAS1701", "MAS2216", "sc"], "parts": [{"marks": 0, "scripts": {}, "prompt": "

Number of choices = ?[[0]]

", "gaps": [{"marks": 2, "scripts": {}, "maxValue": "ans", "allowFractions": false, "showPrecisionHint": false, "minValue": "ans", "correctAnswerFraction": false, "showCorrectAnswer": true, "type": "numberentry"}], "showCorrectAnswer": true, "type": "gapfill"}], "rulesets": {}, "metadata": {"notes": "

7/02/2013:

\n

Finished first draft. Need advice on tags and description.

", "description": "

Two shops each have different numbers of jumper designs and colours. How many choices of jumper are there?

", "licence": "Creative Commons Attribution 4.0 International"}, "preamble": {"js": "", "css": ""}, "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}