// Numbas version: finer_feedback_settings {"name": "Simple combinations, ", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "variables": {"b": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(15..30)", "name": "b", "description": ""}, "ans": {"templateType": "anything", "group": "Ungrouped variables", "definition": "a*c+b*d", "name": "ans", "description": ""}, "d": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(5..10)", "name": "d", "description": ""}, "a": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(15..30)", "name": "a", "description": ""}, "c": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(5..10)", "name": "c", "description": ""}}, "ungrouped_variables": ["a", "c", "b", "d", "ans"], "rulesets": {}, "name": "Simple combinations, ", "showQuestionGroupNames": false, "functions": {}, "parts": [{"scripts": {}, "gaps": [{"showCorrectAnswer": true, "allowFractions": false, "scripts": {}, "type": "numberentry", "correctAnswerFraction": false, "minValue": "ans", "maxValue": "ans", "marks": 2, "showPrecisionHint": false}], "type": "gapfill", "prompt": "

Number of choices = ?[[0]]

", "showCorrectAnswer": true, "marks": 0}], "variablesTest": {"condition": "", "maxRuns": 100}, "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?

", "tags": ["checked2015", "combinatorics", "MAS1701", "MAS2216", "sc"], "question_groups": [{"pickingStrategy": "all-ordered", "questions": [], "name": "", "pickQuestions": 0}], "preamble": {"css": "", "js": ""}, "type": "question", "metadata": {"notes": "

7/02/2013:

\n

Finished 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?

"}, "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.

", "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}]}