GATE / CS ARCHIVE

GATE CSE 2015 SET 3 / QUESTION 26

GATE CSE 2015 Set 3 Q26

Discrete Mathematics · Propositional & Predicate Logic · Full GATE CSE 2015 Set 3 paper

GATE 2015 Set 3, Q26 1 mark · MCQ
Report issue

Propositional & Predicate Logic

Question 26, GATE 2015: A room contains only Type 1 people, who always tell the truth, and Type 2 people, who always lie. You give a fair coin to someone of unknown type, ask them to toss it and hide the result, then ask the result. They reply: “The result of the toss is head if and only if I am telling the truth.” Which option is correct? (A) The result is head. (B) The result is tail. (C) If the person is Type 2, the result is tail. (D) If the person is Type 1, the result is tail.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

1. Let T indicate that the speaker tells the truth and H that the coin is heads.

2. The assertion is H↔T, whose truth value must equal T. If T is true, H must be true; if T is false, H↔false must be false, again requiring H true. Thus the coin is heads, A.

Original paper, page 61 · Answer key