// Numbas version: exam_results_page_options {"name": "Conditional 3", "extensions": ["stats", "jsxgraph", "permutations", "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": "Conditional 3", "variable_groups": [], "advice": "", "ungrouped_variables": [], "functions": {}, "parts": [{"variableReplacements": [], "type": "true-false", "customMarkingAlgorithm": "", "marks": 1, "prompt": "

$p \\land q$

", "showFeedbackIcon": true, "unitTests": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "scripts": {}, "settings": {"correct_answer_expr": "false"}}, {"variableReplacements": [], "type": "true-false", "customMarkingAlgorithm": "", "marks": 1, "prompt": "

$\\lnot p \\lor q$

", "showFeedbackIcon": true, "unitTests": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "scripts": {}, "settings": {"correct_answer_expr": "false"}}, {"variableReplacements": [], "type": "true-false", "customMarkingAlgorithm": "", "marks": 1, "prompt": "

$q\\to p$

", "showFeedbackIcon": true, "unitTests": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "scripts": {}, "settings": {"correct_answer_expr": "true"}}, {"variableReplacements": [], "type": "true-false", "customMarkingAlgorithm": "", "marks": 1, "prompt": "

$\\lnot q \\to \\lnot p$

", "showFeedbackIcon": true, "unitTests": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "scripts": {}, "settings": {"correct_answer_expr": "false"}}], "statement": "
Suppose the proposition $p \\to q$ is false.  Determine the truth values of the following propositions:
", "preamble": {"css": "", "js": ""}, "variables": {}, "tags": [], "rulesets": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "extensions": ["chemistry", "geogebra", "jsxgraph", "codewords", "permutations", "polynomials", "quantities", "random_person", "stats", "visjs"], "metadata": {"description": "", "licence": "None specified"}, "type": "question", "contributors": [{"name": "Marie Nicholson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1799/"}]}]}], "contributors": [{"name": "Marie Nicholson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1799/"}]}