// Numbas version: finer_feedback_settings {"name": "Inequalities: single inequality, testing values", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"rulesets": {}, "preamble": {"js": "", "css": ""}, "tags": ["inequalities", "inequality", "inequations"], "ungrouped_variables": ["variable", "ineq", "num", "numtex", "question", "test", "possible_values", "a", "b", "c", "d", "marking", "words"], "question_groups": [{"pickingStrategy": "all-ordered", "questions": [], "pickQuestions": 0, "name": ""}], "advice": "", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "parts": [{"prompt": "
Which of the following values for {variable} satisfy the inequality {question}?
", "stepsPenalty": "1", "variableReplacementStrategy": "originalfirst", "type": "m_n_2", "maxAnswers": 0, "scripts": {}, "steps": [{"scripts": {}, "variableReplacements": [], "prompt": "The statement {question} means {variable} {words} {numtex}.
\n\nWhen dealing with negative numbers, it is important to remember that 'less' means further to the left on the number line, and 'greater' means further to the right on the number line. So $-10$ is less than $-5$, since $-10$ is five more places to the left than $-5$ on the number line.
\n\n", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "marks": 0, "type": "information"}], "minAnswers": 0, "variableReplacements": [], "shuffleChoices": true, "minMarks": 0, "matrix": "marking", "maxMarks": 0, "showCorrectAnswer": true, "marks": 0, "displayColumns": 0, "choices": ["{num}
", "{a}
", "{b}
", "{c}
", "{d}
"], "warningType": "none", "displayType": "checkbox"}], "showQuestionGroupNames": false, "statement": "", "variables": {"a": {"description": "", "group": "Ungrouped variables", "name": "a", "definition": "num+random(0.01..0.5#0.01)", "templateType": "anything"}, "b": {"description": "", "group": "Ungrouped variables", "name": "b", "definition": "num-random(0.01..0.5#0.01)", "templateType": "anything"}, "ineq": {"description": "", "group": "Ungrouped variables", "name": "ineq", "definition": "random('\\$\\\\,<\\\\,\\$','\\$\\\\,\\\\le\\\\,\\$','\\$\\\\,>\\\\,\\$','\\$\\\\,\\\\ge\\\\,\\$')", "templateType": "anything"}, "numtex": {"description": "", "group": "Ungrouped variables", "name": "numtex", "definition": "'\\$\\\\var{num}\\$'", "templateType": "anything"}, "c": {"description": "", "group": "Ungrouped variables", "name": "c", "definition": "num+random(2..8)", "templateType": "anything"}, "d": {"description": "", "group": "Ungrouped variables", "name": "d", "definition": "num-random(2..8)", "templateType": "anything"}, "possible_values": {"description": "", "group": "Ungrouped variables", "name": "possible_values", "definition": "[num,a,b,c,d]", "templateType": "anything"}, "marking": {"description": "", "group": "Ungrouped variables", "name": "marking", "definition": "if(ineq='\\$\\\\,<\\\\,\\$',[0,0,1,0,1],\n if(ineq='\\$\\\\,\\\\le\\\\,\\$',[1,0,1,0,1],\n if(ineq='\\$\\\\,>\\\\,\\$',[0,1,0,1,0],\n if(ineq='\\$\\\\,\\\\ge\\\\,\\$',[1,1,0,1,0],\"error\"))))", "templateType": "anything"}, "question": {"description": "", "group": "Ungrouped variables", "name": "question", "definition": "variable+ineq+numtex", "templateType": "anything"}, "test": {"description": "", "group": "Ungrouped variables", "name": "test", "definition": "if(ineq='\\$\\\\,<\\\\,\\$','ok', 'no')", "templateType": "anything"}, "variable": {"description": "", "group": "Ungrouped variables", "name": "variable", "definition": "random('\\$x\\$','\\$y\\$','\\$z\\$','\\$n\\$','\\$m\\$','\\$a\\$','\\$b\\$')", "templateType": "anything"}, "words": {"description": "", "group": "Ungrouped variables", "name": "words", "definition": "if(ineq='\\$\\\\,<\\\\,\\$','is less than',\n if(ineq='\\$\\\\,\\\\le\\\\,\\$','is less than or equal to',\n if(ineq='\\$\\\\,>\\\\,\\$','is greater than',\n if(ineq='\\$\\\\,\\\\ge\\\\,\\$','is greater than or equal to',\"error\"))))", "templateType": "anything"}, "num": {"description": "", "group": "Ungrouped variables", "name": "num", "definition": "random(-12..12)", "templateType": "anything"}}, "metadata": {"description": "", "notes": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "functions": {}, "name": "Inequalities: single inequality, testing values", "type": "question", "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}