// Numbas version: exam_results_page_options {"name": "Quantifiers 3-", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Quantifiers 3-", "tags": ["logic", "quantifiers", "statements"], "metadata": {"description": "

English sentences which are propositions are given and the appropriate logical expression chosen for the negation of the sentence.

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

In a seminar group, for group members $m$ and $n$, we let $P(m,n)$  be the predicate m knows the name of n .

\n

Negate each of the following English sentences and choose the corresponding expression for the negated proposition involving quantifiers.

\n

Note that you will lose one mark for every incorrect choice. However, the minimum mark is $0$.

", "advice": "

In the following we use the rules for negating a proposition involving predicates and quantifiers as given in the lectures.

\n

a) 

\n

1. The sentence:

\n

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

\n

can be written in predicate form with quantifiers as:

\n

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

\n

The negation of the sentence can be written as:

\n

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

\n

The predicate form with quantifiers for this is:

\n

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

\n

\n

2. The sentence:

\n

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

\n

can be written in predicate form with quantifiers as:

\n

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

\n

The negation of the sentence can be written as:

\n

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

\n

The predicate form with quantifiers for this is:

\n

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

\n

\n

3. The sentence:

\n

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

\n

can be written in predicate form with quantifiers as:

\n

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

\n

The negation of the sentence can be written as:

\n

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

\n

The predicate form with quantifiers for this is:

\n

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

\n

\n

4. The sentence:

\n

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

\n

can be written in predicate form with quantifiers as:

\n

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

\n

The negation of the sentence can be written as:

\n

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

\n

The predicate form with quantifiers for this is:

\n

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

\n

Similarly for Parts b) and c).

\n

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"all": {"name": "all", "group": "Ungrouped variables", "definition": "[['There is someone whose name is not known to the rest of the group.',\n '$\\\\forall m \\\\exists n (P(n,m))$',\n 'Everybody\\'s name is known by at least one other person.',\n '$\\\\exists m \\\\forall n (\\\\neg P(n,m))$'],\n ['Every group member doesn\\'t know the name of at least one other.',\n '$\\\\exists m \\\\forall n ( P(m,n))$',\n 'Somebody knows the name of everybody.',\n ' $\\\\forall m \\\\exists n (\\\\neg P(m,n))$'],\n ['Nobody knows the name of anybody else.',\n '$\\\\exists m \\\\exists n (P(m,n))$',\n 'At least one person knows the name of another.',\n '$\\\\forall m \\\\forall n (\\\\neg P(m,n))$'],\n ['There is a pair of group members who do not know each other\\'s name.',\n '$\\\\forall m \\\\forall n (P(m,n) \\\\lor P(n,m))$',\n 'Given any pair of members, then at least one of them knows the name of the other.',\n '$\\\\exists m \\\\exists n (\\\\neg P(m,n) \\\\land \\\\neg P(n,m)$'],\n ['There is someone who knows everyone\\'s name.',\n '$\\\\forall m \\\\exists n (\\\\neg P(m,n))$',\n 'Everybody doesn\\'t know the name of at least one other.',\n '$\\\\exists m \\\\forall n (P(m,n))$'],\n ['There is at least one person who knows the name of somebody else.',\n '$\\\\forall m \\\\forall n ( \\\\neg P(n,m))$',\n 'Nobody knows the name of anyone else.',\n '$\\\\exists m \\\\exists n (P(n,m))$'],\n ['There is someone who doesn\\'t know the name of at least one other group member.',\n '$\\\\forall m \\\\forall n (P(n,m))$',\n 'Everybody knows everybody else\\'s names.',\n '$\\\\exists m \\\\exists n (\\\\neg P(n,m))$'],\n ['Someone\\'s name is known to everyone else.',\n '$\\\\forall m \\\\exists n ( \\\\neg P(n,m))$',\n 'Everybody\\'s name is not known by at least one other person.',\n '$\\\\exists m \\\\forall n ( P(n,m))$'],\n ['There is at least one person who does not know the name of anybody else.',\n '$\\\\forall m \\\\exists n ( P(m,n))$',\n 'Everybody knows the name of at least one other.',\n '$\\\\exists m \\\\forall n (\\\\neg P(m,n))$'],\n ['Everybody knows at least one other person\\'s name.',\n '$\\\\exists m \\\\forall n (\\\\neg P(m,n))$',\n 'There is somebody who does not know anyone else\\'s name.',\n '$\\\\forall m \\\\exists n (P(m,n))$'],\n ['Any member of the group has at least one person who doesn\\'t know their name.',\n '$\\\\exists n \\\\forall m (P(m,n))$',\n 'There is someone whose name is known by everyone.',\n '$\\\\forall n \\\\exists m (\\\\neg P(m,n))$'],\n ['There are at least two people who know each other\\'s name.',\n '$\\\\forall n \\\\forall m (\\\\neg P(n,m) \\\\lor \\\\neg P(m,n))$',\n 'For any two people in the group at least one doesn\\'t know the name of the other.',\n '$\\\\exists n \\\\exists m (P(n,m) \\\\land P(m,n))$']\n \n ]", "description": "", "templateType": "anything", "can_override": false}, "select2": {"name": "select2", "group": "Part 2", "definition": "list(set(0..length(all)-1)-(set(select) or set(select1)))", "description": "", "templateType": "anything", "can_override": false}, "select1": {"name": "select1", "group": "Part 1", "definition": "list(set(0..length(all)-1)-set(select))[0..4]", "description": "", "templateType": "anything", "can_override": false}, "marks_matrix": {"name": "marks_matrix", "group": "Ungrouped variables", "definition": "list(2*id(4)-matrix(repeat(repeat(1,4),4)))", "description": "", "templateType": "anything", "can_override": false}, "select": {"name": "select", "group": "Part 0", "definition": "shuffle(list(0..length(all)-1))[0..4]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["all", "marks_matrix"], "variable_groups": [{"name": "Part 0", "variables": ["select"]}, {"name": "Part 1", "variables": ["select1"]}, {"name": "Part 2", "variables": ["select2"]}], "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, "prompt": "

If you want some help in answering this question click on Show steps. You will lose a mark as one of the questions is answered for you.

", "stepsPenalty": "1", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Consider the proposition:

\n

There is someone whose name is not known to the rest of the group.

\n

Using the predicate $P(m,n)$ we can express this as:

\n

$\\exists m \\forall n (\\neg P(n,m))$.

\n

If we negate the proposition then we obtain on using the rules of negating such propositions:

\n

$\\forall m \\exists n (P(n,m))$.

\n

This corresponds to the English sentence (not asked for in this question):

\n

Everyone's name is known by somebody else.

"}], "minMarks": 0, "maxMarks": 0, "minAnswers": "4", "maxAnswers": "4", "shuffleChoices": true, "shuffleAnswers": false, "displayType": "radiogroup", "warningType": "warn", "showCellAnswerState": true, "markingMethod": "sum ticked cells", "choices": ["{all[select[0]][0]}", "{all[select[1]][0]}", "{all[select[2]][0]}", "{all[select[3]][0]}"], "matrix": "marks_matrix", "layout": {"type": "all", "expression": ""}, "answers": ["{all[select[0]][1]}", "{all[select[1]][1]}", "{all[select[2]][1]}", "{all[select[3]][1]}"]}, {"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": "4", "maxAnswers": "4", "shuffleChoices": true, "shuffleAnswers": false, "displayType": "radiogroup", "warningType": "warn", "showCellAnswerState": true, "markingMethod": "sum ticked cells", "choices": ["{all[select1[0]][0]}", "{all[select1[1]][0]}", "{all[select1[2]][0]}", "{all[select1[3]][0]}"], "matrix": "marks_matrix", "layout": {"type": "all", "expression": ""}, "answers": ["{all[select1[0]][1]}", "{all[select1[1]][1]}", "{all[select1[2]][1]}", "{all[select1[3]][1]}"]}, {"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": "4", "maxAnswers": "4", "shuffleChoices": true, "shuffleAnswers": false, "displayType": "radiogroup", "warningType": "warn", "showCellAnswerState": true, "markingMethod": "sum ticked cells", "choices": ["{all[select2[0]][0]}", "{all[select2[1]][0]}", "{all[select2[2]][0]}", "{all[select2[3]][0]}"], "matrix": "marks_matrix", "layout": {"type": "all", "expression": ""}, "answers": ["{all[select2[0]][1]}", "{all[select2[1]][1]}", "{all[select2[2]][1]}", "{all[select2[3]][1]}"]}], "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": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}]}