// Numbas version: finer_feedback_settings {"name": "Valid or invalid argument", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"parts": [{"type": "m_n_x", "layout": {"type": "all", "expression": ""}, "warningType": "none", "customMarkingAlgorithm": "", "choices": ["{all[select[0]][0]}", "{all[select[1]][0]}", "{all[select[2]][0]}", "{all[select[3]][0]}", "{all[select[4]][0]}", "{all[select[5]][0]}"], "marks": 0, "matrix": "marking_matrix", "answers": ["Proposition", "Not a proposition"], "showCorrectAnswer": true, "minMarks": 0, "displayType": "radiogroup", "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "shuffleChoices": false, "maxAnswers": 0, "minAnswers": 0, "scripts": {}, "showFeedbackIcon": true, "unitTests": [], "shuffleAnswers": false, "maxMarks": 0, "showCellAnswerState": true, "variableReplacementStrategy": "originalfirst"}], "metadata": {"description": "

Asks to determine whether or not 6 arguments are logically valid or not.

", "licence": "Creative Commons Attribution 4.0 International"}, "preamble": {"css": "", "js": ""}, "ungrouped_variables": ["all", "select", "marking_matrix"], "variable_groups": [], "advice": "

For the above we have:

\n

1.  {all[select[0]][0]}

\n

{all[select[0]][1]}

\n

2.  {all[select[1]][0]}

\n

{all[select[1]][1]}

\n

3.  {all[select[2]][0]}

\n

{all[select[2]][1]}

\n

4.  {all[select[3]][0]}

\n

{all[select[3]][1]}

\n

5.  {all[select[4]][0]}

\n

{all[select[4]][1]}

\n

6.  {all[select[5]][0]}

\n

{all[select[5]][1]}

", "variables": {"all": {"definition": "[\n ['Valid argument 1.','This is a valid argument.',1],\n ['Valid argument 2.','This is a valid argument.',1],\n ['Valid argument 3.','This is a valid argument.',1],\n ['Valid argument 4.','This is a valid argument.',1],\n ['Invalid argument 1.','This is not a valid argument.',0],\n ['Invalid argument 2.','This is not a valid argument.',0],\n ['Invalid argument 3.','This is not a valid argument.',0],\n ['Invalid argument 4.','This is not a valid argument.',0]\n ]", "group": "Ungrouped variables", "name": "all", "description": "", "templateType": "anything"}, "select": {"definition": "shuffle(list(0..length(all)-1))[0..4]", "group": "Ungrouped variables", "name": "select", "description": "", "templateType": "anything"}, "marking_matrix": {"definition": "map([all[x][2],(all[x][2])*(-1)+1],x,select)", "group": "Ungrouped variables", "name": "marking_matrix", "description": "", "templateType": "anything"}}, "rulesets": {}, "statement": "

Which of the following are propositions?

", "name": "Valid or invalid argument", "extensions": [], "tags": [], "functions": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "type": "question", "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Marie Nicholson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1799/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Marie Nicholson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1799/"}]}