// Numbas version: finer_feedback_settings {"name": "Propositions - old-ajd", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [{"variables": [], "name": "Unnamed group"}], "variables": {"faithl": {"templateType": "anything", "group": "Ungrouped variables", "definition": "map(shuffle(hopel[x])[0..5],x,0..2)", "description": "", "name": "faithl"}, "logicl": {"templateType": "anything", "group": "Ungrouped variables", "definition": "map(map(all_logic[gloryl[y][x]],x,0..8),y,0..2)", "description": "", "name": "logicl"}, "logic_exp": {"templateType": "anything", "group": "Ungrouped variables", "definition": "['$\\\\neg p \\\\lor \\\\neg q$', \n '$p \\\\land q$', \n '$\\\\neg p \\\\land q$',\n '$p \\\\land \\\\neg q$',\n '$p \\\\to q$',\n '$\\\\neg p \\\\land \\\\neg q$',\n '$(p \\\\lor \\\\neg q) \\\\land p$',\n '$q \\\\to p$',\n '$\\\\neg p \\\\to q$'\n ]", "description": "", "name": "logic_exp"}, "choices": {"templateType": "anything", "group": "Ungrouped variables", "definition": "shuffle(all_exp)[0..3]", "description": "", "name": "choices"}, "correctl": {"templateType": "anything", "group": "Ungrouped variables", "definition": "map(map(choices[y][x][1],x,2..5),y,0..2)", "description": "", "name": "correctl"}, "all_logic": {"templateType": "anything", "group": "Ungrouped variables", "definition": "['$\\\\neg p \\\\lor \\\\neg q$', \n '$p \\\\land q$', \n '$\\\\neg p \\\\land q$',\n '$p \\\\land \\\\neg q$',\n '$p \\\\to q$',\n '$\\\\neg p \\\\land \\\\neg q$',\n '$(p \\\\lor \\\\neg q) \\\\land p$',\n '$q \\\\to p$',\n '$\\\\neg p \\\\to q$',\n '$(\\\\neg p \\\\land q) \\\\lor \\\\neg p$',\n '$q \\\\lor (p \\\\land \\\\neg p)$',\n '$\\\\neg q \\\\land (p \\\\lor \\\\neg p)$',\n '$p \\\\leftrightarrow q$',\n '$(p \\\\land \\\\neg q) \\\\lor (\\\\neg p \\\\land q)$'\n ]", "description": "", "name": "all_logic"}, "hopel": {"templateType": "anything", "group": "Ungrouped variables", "definition": "map(list(set(0,1,2,3,4,5,6,7,8,9,10,11,12,13)-set(correctl[x])),x,0..2)", "description": "", "name": "hopel"}, "gloryl": {"templateType": "anything", "group": "Ungrouped variables", "definition": "map(correctl[x]+list(set(faithl[x])),x,0..2)", "description": "", "name": "gloryl"}, "all_exp": {"templateType": "anything", "group": "Ungrouped variables", "definition": "[\n [\n 'It is snowing',\n 'I will go skiing',\n ['It is not snowing and I will go skiing.',2],\n ['It will snow if I don\\'t go skiing.',8],\n ['I will go skiing if it is snowing.',4],\n ['It is snowing and either I will not go skiing or it is snowing.',6]\n ],\n [\n 'I am working at my studies', \n 'I am in the library',\n ['I am working at my studies in the library.',1],\n ['If I am in the library then I am working at my studies.',7],\n ['If I am working at my studies then I am not in the library.',0],\n ['Either I am in the library; or I am working at my studies and I am not working at my studies.',10]\n ],\n [\n 'It is sunny',\n 'I will carry an umbrella',\n ['If it is not sunny then I will carry an umbrella.',8],\n ['It\\'s not sunny and I will carry an umbrella; or it\\'s not sunny.',9],\n ['I will not carry and umbrella and it is either sunny or it is not.',11],\n ['If I carry an umbrella then the day always turns out to be sunny!',7]\n ],\n [\n 'I am in Omsk',\n 'I am in Siberia',\n ['I am not in Siberia and I am not in Omsk.',5],\n ['It\\'s not true that if I am in Omsk then I am in Siberia.',3],\n ['If I am in Omsk then I am in Siberia and if I am Siberia then I am in Omsk.',12],\n ['Either I am in Siberia and I am not in Omsk; or I am in Omsk and I am in not Siberia.',13]\n ]\n ]", "description": "", "name": "all_exp"}}, "ungrouped_variables": ["choices", "logic_exp", "correctl", "hopel", "gloryl", "all_logic", "faithl", "all_exp", "logicl"], "question_groups": [{"pickingStrategy": "all-ordered", "questions": [], "name": "", "pickQuestions": 0}], "name": "Propositions - old-ajd", "functions": {}, "showQuestionGroupNames": false, "parts": [{"displayType": "radiogroup", "minMarks": 0, "layout": {"type": "all", "expression": ""}, "choices": ["
{choices[0][2][0]}
", "{choices[0][3][0]}
", "{choices[0][4][0]}
", "{choices[0][5][0]}
"], "showCorrectAnswer": true, "matrix": [["1", 0, 0, 0, 0, 0, 0, 0, 0], [0, "1", 0, 0, 0, 0, 0, 0, 0], [0, 0, "1", 0, 0, 0, 0, 0, 0], [0, 0, 0, "1", 0, 0, 0, 0, 0]], "prompt": "Let $p$ and $q$ denote respectively the propositions '{choices[0][0]}' and '{choices[0][1]}'.
", "type": "m_n_x", "maxAnswers": 0, "shuffleChoices": true, "warningType": "none", "scripts": {}, "marks": 0, "minAnswers": 0, "maxMarks": 0, "shuffleAnswers": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "answers": ["{logicl[0][0]}
", "{logicl[0][1]}
", "{logicl[0][2]}
", "{logicl[0][3]}
", "{logicl[0][4]}
", "{logicl[0][5]}
", "{logicl[0][6]}
", "{logicl[0][7]}
", "{logicl[0][8]}
"]}, {"displayType": "radiogroup", "minMarks": 0, "layout": {"type": "all", "expression": ""}, "choices": ["{choices[1][2][0]}
", "{choices[1][3][0]}
", "{choices[1][4][0]}
", "{choices[1][5][0]}
"], "showCorrectAnswer": true, "matrix": [["1", 0, 0, 0, 0, 0, 0, 0, 0], [0, "1", 0, 0, 0, 0, 0, 0, 0], [0, 0, "1", 0, 0, 0, 0, 0, 0], [0, 0, 0, "1", 0, 0, 0, 0, 0]], "prompt": "Let $p$ and $q$ denote respectively the propositions '{choices[1][0]}' and '{choices[1][1]}'.
", "type": "m_n_x", "maxAnswers": 0, "shuffleChoices": true, "warningType": "none", "scripts": {}, "marks": 0, "minAnswers": 0, "maxMarks": 0, "shuffleAnswers": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "answers": ["{logicl[1][0]}
", "{logicl[1][1]}
", "{logicl[1][2]}
", "{logicl[1][3]}
", "{logicl[1][4]}
", "{logicl[1][5]}
", "{logicl[1][6]}
", "{logicl[1][7]}
", "{logicl[1][8]}
"]}, {"displayType": "radiogroup", "minMarks": 0, "layout": {"type": "all", "expression": ""}, "choices": ["{choices[2][2][0]}
", "{choices[2][3][0]}
", "{choices[2][4][0]}
", "{choices[2][5][0]}
"], "showCorrectAnswer": true, "matrix": [["1", 0, 0, 0, 0, 0, 0, 0, 0], [0, "1", 0, 0, 0, 0, 0, 0, 0], [0, 0, "1", 0, 0, 0, 0, 0, 0], [0, 0, 0, "1", 0, 0, 0, 0, 0]], "prompt": "Let $p$ and $q$ denote respectively the propositions '{choices[2][0]}' and '{choices[2][1]}'.
", "type": "m_n_x", "maxAnswers": 0, "shuffleChoices": true, "warningType": "none", "scripts": {}, "marks": 0, "minAnswers": 0, "maxMarks": 0, "shuffleAnswers": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "answers": ["{logicl[2][0]}
", "{logicl[2][1]}
", "{logicl[2][2]}
", "{logicl[2][3]}
", "{logicl[2][4]}
", "{logicl[2][5]}
", "{logicl[2][6]}
", "{logicl[2][7]}
", "{logicl[2][8]}
"]}], "statement": "Choose the correct logical expression for the following English sentences.
", "tags": [], "rulesets": {}, "preamble": {"css": "", "js": ""}, "type": "question", "metadata": {"notes": "", "licence": "Creative Commons Attribution 4.0 International", "description": ""}, "variablesTest": {"condition": "", "maxRuns": 100}, "advice": "", "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}]}