// Numbas version: exam_results_page_options {"name": "Equivalence rules 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Equivalence rules 2", "tags": [], "preamble": {"js": "", "css": ""}, "parts": [{"maxAnswers": 0, "type": "m_n_x", "showCellAnswerState": true, "showCorrectAnswer": true, "warningType": "none", "minAnswers": 0, "matrix": [["0", "1", 0, 0], ["1", "0", 0, 0], [0, 0, 0, "1"], [0, 0, "1", 0], ["0", 0, 0, "1"], ["1", 0, 0, "0"], [0, "0", "1", 0], [0, "1", "0", 0]], "variableReplacements": [], "answers": ["Negation", "Identity", "Idempotent", "Annihilation"], "choices": ["\$\\var{latex(prop2)} \\land T \\equiv \\var{latex(prop2)} \$", "\$\\var{latex(prop3)} \\lor \\lnot\\var{latex(prop3)} \\equiv T\$", "\$\\var{latex(prop7)} \\lor T \\equiv T \$", "\$\\var{latex(prop5)} \\land \\var{latex(prop5)} \\equiv \\var{latex(prop5)} \$", "\$\\var{latex(prop7)} \\land F \\equiv F\$", "\$\\var{latex(prop1)} \\land \\lnot\\var{latex(prop1)} \\equiv F\$", "\$\\var{latex(prop6)} \\lor \\var{latex(prop6)} \\equiv \\var{latex(prop6)} \$", "\$\\var{latex(prop4)} \\lor F \\equiv \\var{latex(prop4)}\$ "], "scripts": {}, "shuffleAnswers": false, "marks": 0, "unitTests": [], "extendBaseMarkingAlgorithm": true, "displayType": "radiogroup", "layout": {"expression": "", "type": "all"}, "showFeedbackIcon": true, "shuffleChoices": false, "minMarks": 0, "customMarkingAlgorithm": "", "maxMarks": 0, "variableReplacementStrategy": "originalfirst"}], "functions": {}, "variable_groups": [], "variables": {"prop2": {"templateType": "anything", "name": "prop2", "group": "Ungrouped variables", "description": "", "definition": "random(propositions except prop1)"}, "prop3": {"templateType": "anything", "name": "prop3", "group": "Ungrouped variables", "description": "", "definition": "random(propositions except [prop1, prop2])"}, "prop7": {"templateType": "anything", "name": "prop7", "group": "Ungrouped variables", "description": "", "definition": "random(propositions except [prop1, prop2, prop3, prop4, prop5, prop6])"}, "prop4": {"templateType": "anything", "name": "prop4", "group": "Ungrouped variables", "description": "", "definition": "random(propositions except [prop1, prop2, prop3])"}, "propositions": {"templateType": "anything", "name": "propositions", "group": "Ungrouped variables", "description": "", "definition": "[\n \"(p \\\\lor q)\",\n \"(p \\\\land q)\",\n \"p\",\n \"q\",\n \"r\",\n \"\\\\lnot p\",\n \"\\\\lnot r\",\n \"(p \\\\land r)\",\n \"(r \\\\lor q)\"\n]"}, "prop6": {"templateType": "anything", "name": "prop6", "group": "Ungrouped variables", "description": "", "definition": "random(propositions except [prop1, prop2, prop3, prop4, prop5])"}, "prop1": {"templateType": "anything", "name": "prop1", "group": "Ungrouped variables", "description": "", "definition": "random(propositions)"}, "prop5": {"templateType": "anything", "name": "prop5", "group": "Ungrouped variables", "description": "", "definition": "random(propositions except [prop1, prop2, prop3, prop4])"}}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Match the equivalence with the rule

"}, "rulesets": {}, "advice": "", "extensions": [], "statement": "

Match the equivalence with the corresponding law.

", "variablesTest": {"maxRuns": 100, "condition": ""}, "ungrouped_variables": ["propositions", "prop1", "prop2", "prop3", "prop4", "prop5", "prop6", "prop7"], "type": "question", "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/"}]}