// 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": [{"functions": {}, "ungrouped_variables": ["variable", "ineq", "num", "numtex", "question", "test", "possible_values", "a", "b", "c", "d", "marking", "words"], "name": "Inequalities: single inequality, testing values", "tags": ["inequalities", "inequality", "inequations"], "advice": "", "rulesets": {}, "parts": [{"stepsPenalty": "1", "maxAnswers": 0, "displayColumns": 0, "prompt": "
Which of the following values for {variable} satisfy the inequality {question}?
", "matrix": "marking", "shuffleChoices": true, "variableReplacements": [], "minAnswers": 0, "variableReplacementStrategy": "originalfirst", "displayType": "checkbox", "maxMarks": 0, "marks": 0, "scripts": {}, "warningType": "none", "steps": [{"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", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "showCorrectAnswer": true, "choices": ["{num}
", "{a}
", "{b}
", "{c}
", "{d}
"], "type": "m_n_2", "minMarks": 0}], "statement": "", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"a": {"definition": "num+random(0.01..0.5#0.01)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "c": {"definition": "num+random(2..8)", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "num-random(0.01..0.5#0.01)", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "numtex": {"definition": "'\\$\\\\var{num}\\$'", "templateType": "anything", "group": "Ungrouped variables", "name": "numtex", "description": ""}, "question": {"definition": "variable+ineq+numtex", "templateType": "anything", "group": "Ungrouped variables", "name": "question", "description": ""}, "possible_values": {"definition": "[num,a,b,c,d]", "templateType": "anything", "group": "Ungrouped variables", "name": "possible_values", "description": ""}, "d": {"definition": "num-random(2..8)", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "variable": {"definition": "random('\\$x\\$','\\$y\\$','\\$z\\$','\\$n\\$','\\$m\\$','\\$a\\$','\\$b\\$')", "templateType": "anything", "group": "Ungrouped variables", "name": "variable", "description": ""}, "num": {"definition": "random(-12..12)", "templateType": "anything", "group": "Ungrouped variables", "name": "num", "description": ""}, "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", "group": "Ungrouped variables", "name": "words", "description": ""}, "test": {"definition": "if(ineq='\\$\\\\,<\\\\,\\$','ok', 'no')", "templateType": "anything", "group": "Ungrouped variables", "name": "test", "description": ""}, "ineq": {"definition": "random('\\$\\\\,<\\\\,\\$','\\$\\\\,\\\\le\\\\,\\$','\\$\\\\,>\\\\,\\$','\\$\\\\,\\\\ge\\\\,\\$')", "templateType": "anything", "group": "Ungrouped variables", "name": "ineq", "description": ""}, "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", "group": "Ungrouped variables", "name": "marking", "description": ""}}, "metadata": {"notes": "", "description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}