// Numbas version: exam_results_page_options {"name": "Question 8 Blob sequences", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": [], "name": "Question 8 Blob sequences", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "

a) blob is defined as a sequence going backwards from $2$ to $-2$ by a step size of $2$. 

\n

b) splat is defined as a sequence going backwards from $2$ to $-2$ by a step size of $0.5$.

", "rulesets": {}, "parts": [{"displayColumns": 0, "prompt": "

What is the value of blob?

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

-2 -1 0 1 2

", "

-2 0 2

", "

2 0 -2

", "

2 1 0 -1 -2

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

What is the value of splat?

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

2 1 0 -1 -2

", "

0.5 1 1.5 2

", "

2 1.5 1 0.5 0 -0.5 -1 -1.5 -2

", "

-2 -1.5 -1 -0.5 0 0.5 1 1.5 2

"], "variableReplacementStrategy": "originalfirst", "maxMarks": "1", "distractors": ["", "", "", ""], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "1_n_2", "displayType": "radiogroup", "minMarks": 0}], "extensions": [], "statement": "
> blob = seq(2,-2, by=-2)
> splat = seq(2,-2, by=-0.5)
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {}, "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Amy Chadwick", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/505/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Amy Chadwick", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/505/"}]}