// Numbas version: finer_feedback_settings {"name": "NB1 - Inequalities (understanding notation)", "extensions": ["stats", "jsxgraph", "permutations", "visjs", "geogebra", "random_person", "codewords", "polynomials", "chemistry", "quantities"], "custom_part_types": [{"source": {"pk": 28, "author": {"name": "Marie Nicholson", "pk": 1799}, "edit_page": "/part_type/28/edit"}, "name": "True/False", "short_name": "true-false", "description": "
The answer is either 'True' or 'False'
", "help_url": "", "input_widget": "radios", "input_options": {"correctAnswer": "if(eval(settings[\"correct_answer_expr\"]), 0, 1)", "hint": {"static": true, "value": ""}, "choices": {"static": true, "value": ["True", "False"]}}, "can_be_gap": true, "can_be_step": true, "marking_script": "mark:\nif(studentanswer=correct_answer,\n correct(),\n incorrect()\n)\n\ninterpreted_answer:\nstudentAnswer=0\n\ncorrect_answer:\nif(eval(settings[\"correct_answer_expr\"]),0,1)", "marking_notes": [{"name": "mark", "description": "This is the main marking note. It should award credit and provide feedback based on the student's answer.", "definition": "if(studentanswer=correct_answer,\n correct(),\n incorrect()\n)"}, {"name": "interpreted_answer", "description": "A value representing the student's answer to this part.", "definition": "studentAnswer=0"}, {"name": "correct_answer", "description": "", "definition": "if(eval(settings[\"correct_answer_expr\"]),0,1)"}], "settings": [{"name": "correct_answer_expr", "label": "Is the answer \"True\"", "help_url": "", "hint": "", "input_type": "mathematical_expression", "default_value": "true", "subvars": false}], "public_availability": "always", "published": true, "extensions": []}], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "NB1 - Inequalities (understanding notation)", "tags": [], "metadata": {"description": "Identify the truth value of an inequality (T/F) between two numbers
", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "", "advice": "The symbol is a comparitor that $<$ says that the object to its left is less than the object to its right. Similarly, $>$ says the object to its left is greater than the object to its right.
\nIn each case the sentence can be read in two ways e.g. $a<b$ can be read as \"$a$ is less than $b$\" OR \"$b$ is greater than $a$\".
\nThe symbol $\\leq$ just changes the sentence to include \"...or equal to...\". This can be of particular relevance when dealing with integers (whole numbers) e.g. $x \\geq 4$ and $x$ is a whole number means that $x$ could be $4, 5, 6,$ or $7$ and so on. Whereas, $x>4$ and $x$ is a whole number means that $x$ could be $5,6,$... etc. Notably in the second case $x$ cannot be $4$.
\n\n
Use this link to find some resources which will help you revise this topic.
", "rulesets": {}, "extensions": ["chemistry", "geogebra", "jsxgraph", "codewords", "permutations", "polynomials", "quantities", "random_person", "stats", "visjs"], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..15)", "description": "", "templateType": "anything", "can_override": false}, "operations": {"name": "operations", "group": "Ungrouped variables", "definition": "[latex(\"\\\\gt\"),latex(\"\\\\ge\")]", "description": "", "templateType": "anything", "can_override": false}, "values": {"name": "values", "group": "Ungrouped variables", "definition": "[a,-random(1..15),random(1..15),random(1..15)]", "description": "", "templateType": "anything", "can_override": false}, "disp_values": {"name": "disp_values", "group": "Ungrouped variables", "definition": "shuffle(values)[0..2]", "description": "", "templateType": "anything", "can_override": false}, "disp_op": {"name": "disp_op", "group": "Ungrouped variables", "definition": "operations[random(0,1)]", "description": "", "templateType": "anything", "can_override": false}, "a2": {"name": "a2", "group": "Ungrouped variables", "definition": "random(1..15)", "description": "", "templateType": "anything", "can_override": false}, "operations2": {"name": "operations2", "group": "Ungrouped variables", "definition": "[latex(\"\\\\lt\"),latex(\"\\\\le\")]", "description": "", "templateType": "anything", "can_override": false}, "values2": {"name": "values2", "group": "Ungrouped variables", "definition": "[a2,-random(1..15),random(1..15),random(1..15)]", "description": "", "templateType": "anything", "can_override": false}, "disp_values2": {"name": "disp_values2", "group": "Ungrouped variables", "definition": "shuffle(values2)[0..2]", "description": "", "templateType": "anything", "can_override": false}, "disp_op2": {"name": "disp_op2", "group": "Ungrouped variables", "definition": "operations2[random(0,1)]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "operations", "values", "disp_values", "disp_op", "a2", "operations2", "values2", "disp_values2", "disp_op2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "true-false", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Is the following statement true or false?
\n\\(\\var{disp_values[0]}\\var{disp_op}\\var{disp_values[1]}\\)
\n", "alternatives": [{"type": "true-false", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "", "useAlternativeFeedback": false, "settings": {"correct_answer_expr": "eval(expression(disp_values[0]+if(disp_op=\"\\\\gt\",\">\",\">=\")+disp_values[1]))"}}], "settings": {"correct_answer_expr": "eval(expression(disp_values[0]+if(disp_op=\"\\\\gt\",\">\",\">=\")+disp_values[1]))"}}, {"type": "true-false", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Is the following statement true or false?
\n\\(\\var{disp_values2[0]}\\var{disp_op2}\\var{disp_values2[1]}\\)
\n", "settings": {"correct_answer_expr": "eval(expression(disp_values2[0]+if(disp_op2=\"\\\\lt\",\"<\",\"<=\")+disp_values2[1]))"}}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}, {"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}]}]}], "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}, {"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}, {"name": "Will Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21933/"}]}