// Numbas version: exam_results_page_options {"name": "ma216_Logikk", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["choices", "logic_exp", "t", "mm0", "mm1", "mm2"], "name": "ma216_Logikk", "tags": ["logic", "logical expressions", "propositions"], "advice": "", "rulesets": {}, "parts": [{"maxAnswers": 0, "prompt": "

La $p$ og $q$ være utsagnene '{choices[0][0]}' og '{choices[0][1]}'.

", "matrix": "mm0", "shuffleAnswers": true, "minAnswers": 0, "variableReplacements": [], "answers": ["{logic_exp[0]}", "{logic_exp[1]}", "{logic_exp[2]}", "{logic_exp[3]}", "{logic_exp[4]}", "{logic_exp[5]}", "{logic_exp[6]}", "{logic_exp[7]}", "{logic_exp[8]}"], "choices": ["{choices[0][2]}", "{choices[0][3]}", "{choices[0][4]}", "{choices[0][5]}"], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "maxMarks": 0, "scripts": {}, "warningType": "none", "marks": 0, "showCorrectAnswer": true, "type": "m_n_x", "shuffleChoices": true, "minMarks": 0, "layout": {"type": "all", "expression": ""}}, {"maxAnswers": 0, "prompt": "

La $p$ og $q$ være utsagnene '{choices[1][0]}' og '{choices[1][1]}'.

", "matrix": "mm1", "shuffleAnswers": true, "minAnswers": 0, "variableReplacements": [], "answers": ["{logic_exp[0]}", "{logic_exp[1]}", "{logic_exp[2]}", "{logic_exp[3]}", "{logic_exp[4]}", "{logic_exp[5]}", "{logic_exp[6]}", "{logic_exp[7]}", "{logic_exp[8]}"], "choices": ["{choices[1][2]}", "{choices[1][3]}", "{choices[1][4]}", "{choices[1][5]}"], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "maxMarks": 0, "scripts": {}, "warningType": "none", "marks": 0, "showCorrectAnswer": true, "type": "m_n_x", "shuffleChoices": true, "minMarks": 0, "layout": {"type": "all", "expression": ""}}, {"maxAnswers": 0, "prompt": "

La $p$ og $q$ være utsagnene '{choices[2][0]}' og '{choices[2][1]}'.

", "matrix": "mm2", "shuffleAnswers": true, "minAnswers": 0, "variableReplacements": [], "answers": ["{logic_exp[0]}", "{logic_exp[1]}", "{logic_exp[2]}", "{logic_exp[3]}", "{logic_exp[4]}", "{logic_exp[5]}", "{logic_exp[6]}", "{logic_exp[7]}", "{logic_exp[8]}"], "choices": ["{choices[2][2]}", "{choices[2][3]}", "{choices[2][4]}", "{choices[2][5]}"], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "maxMarks": 0, "scripts": {}, "warningType": "none", "marks": 0, "showCorrectAnswer": true, "type": "m_n_x", "shuffleChoices": true, "minMarks": 0, "layout": {"type": "all", "expression": ""}}], "statement": "

Velg riktig logisk uttrykk for utsagnene

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"mm1": {"definition": "map(map(if(choices[1][6][y]=x,1,0),x,0..8),y,0..3)", "templateType": "anything", "group": "Ungrouped variables", "name": "mm1", "description": ""}, "mm0": {"definition": "map(map(if(choices[0][6][y]=x,1,0),x,0..8),y,0..3)", "templateType": "anything", "group": "Ungrouped variables", "name": "mm0", "description": ""}, "mm2": {"definition": "map(map(if(choices[2][6][y]=x,1,0),x,0..8),y,0..3)", "templateType": "anything", "group": "Ungrouped variables", "name": "mm2", "description": ""}, "t": {"definition": "random(0,1,2)", "templateType": "anything", "group": "Ungrouped variables", "name": "t", "description": ""}, "choices": {"definition": "[['Det sn\u00f8r','Jeg g\u00e5r p\u00e5 ski',\n 'Siden det ikke sn\u00f8r g\u00e5r jeg p\u00e5 ski.',\n 'Det sn\u00f8r hvis jeg ikke g\u00e5r p\u00e5 ski.',\n 'Jeg g\u00e5r p\u00e5 ski hvis det sn\u00f8r.',\n 'Det sn\u00f8r og jeg g\u00e5r p\u00e5 ski eller ikke.',\n [2,8,4,6,0,1,3,7,5]\n ],\n ['Jeg studerer', 'Jeg er p\u00e5 biblioteket',\n 'Jeg studerer ikke i biblioteket.',\n 'Jeg er i biblioteket n\u00e5r jeg studerer.',\n 'Hvis jeg studerer s\u00e5 er jeg i biblioteket.',\n 'Hvis jeg er i biblioteket s\u00e5 studerer jeg eller ikke..',\n [1,7,0,6,8,2,3,4,5]\n ],\n ['Det er solskinn','Jeg tar med paraply',\n 'Hvis det ikke er solskinn s\u00e5 tar jeg med paraply.',\n 'Jeg tar med paraply selv om det ikke er solskinn.',\n 'Hvis det er solskinn s\u00e5 hender det at jeg tar med paraply.',\n 'Hvis jeg tar med paraply s\u00e5 blir det solskinn!',\n [8,4,6,7,0,1,2,5,3]\n \n]\n \n]", "templateType": "anything", "group": "Ungrouped variables", "name": "choices", "description": ""}, "logic_exp": {"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 ]", "templateType": "anything", "group": "Ungrouped variables", "name": "logic_exp", "description": ""}}, "metadata": {"notes": "", "description": "

Given sentences involving propositions translate into logical expressions.

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Tore Gaupseth", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/28/"}]}]}], "contributors": [{"name": "Tore Gaupseth", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/28/"}]}