// Numbas version: exam_results_page_options {"name": "Inference rules 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Inference rules 1", "tags": [], "metadata": {"description": "

Match the equivalence with the rule

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

Match the inference with the corresponding law.

", "advice": "", "rulesets": {}, "extensions": [], "variables": {"prop6": {"name": "prop6", "group": "Ungrouped variables", "definition": "random(propositions except [prop1, prop2, prop3, prop4, prop5])", "description": "", "templateType": "anything"}, "prop2": {"name": "prop2", "group": "Ungrouped variables", "definition": "random(propositions except prop1)", "description": "", "templateType": "anything"}, "prop7": {"name": "prop7", "group": "Ungrouped variables", "definition": "random(propositions except [prop1, prop2, prop3, prop4, prop5, prop6])", "description": "", "templateType": "anything"}, "prop5": {"name": "prop5", "group": "Ungrouped variables", "definition": "random(propositions except [prop1, prop2, prop3, prop4])", "description": "", "templateType": "anything"}, "prop3": {"name": "prop3", "group": "Ungrouped variables", "definition": "random(propositions except [prop1, prop2])", "description": "", "templateType": "anything"}, "propositions": {"name": "propositions", "group": "Ungrouped variables", "definition": "[\n \"(p \\\\lor q)\",\n \"(p \\\\land q)\",\n \"p\",\n \"q\",\n \"r\",\n \"\\\\lnot t\",\n \"\\\\lnot s\",\n \"(p \\\\land t)\",\n \"(r \\\\lor s)\"\n]", "description": "", "templateType": "anything"}, "prop4": {"name": "prop4", "group": "Ungrouped variables", "definition": "random(propositions except [prop1, prop2, prop3])", "description": "", "templateType": "anything"}, "prop1": {"name": "prop1", "group": "Ungrouped variables", "definition": "random(propositions)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["propositions", "prop1", "prop2", "prop3", "prop4", "prop5", "prop6", "prop7"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "m_n_x", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "minAnswers": 0, "maxAnswers": 0, "shuffleChoices": false, "shuffleAnswers": false, "displayType": "radiogroup", "warningType": "none", "showCellAnswerState": true, "markingMethod": "sum ticked cells", "choices": ["
$\\var{latex(prop1)} \\to \\var{latex(prop2)} \\\\ \\var{latex(prop1)} 
$
__________________
$\\therefore \\var{latex(prop2)}$

", "
$\\var{latex(prop5)} \\to \\var{latex(prop6)} \\\\ \\var{latex(prop6)} \\to \\var{latex(prop7)} 
$
__________________
$\\therefore \\var{latex(prop5)} \\to  \\var{latex(prop7)}\\\\\\\\\\\\\\\\
$

", "
$\\var{latex(prop3)} \\to \\var{latex(prop4)} \\\\ \\lnot\\var{latex(prop4)} 
$
__________________
$\\therefore \\lnot \\var{latex(prop3)}\\\\\\\\\\\\\\\\
$

", "
$\\var{latex(prop3)} \\lor \\var{latex(prop6)} \\\\ \\lnot\\var{latex(prop3)} 
$
__________________
$\\therefore \\var{latex(prop6)}\\\\\\\\\\\\\\\\
$

"], "matrix": [["1", 0, 0, 0], [0, 0, "1", 0], [0, "1", 0, 0], [0, 0, 0, "1"]], "layout": {"type": "all", "expression": ""}, "answers": ["Direct reasoning", "Indirect reasoning", "Hypothetical syllogism", "Disjunctive syllogism"]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Marie Nicholson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1799/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Marie Nicholson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1799/"}]}