{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# Sheet3 - McMaster University Department of Computing and...

This preview shows pages 1–2. Sign up to view the full content.

McMaster University Department of Computing and Software Dr. W. Kahl COMP SCI 1FC3 Sheet 3 COMP SCI 1FC3 — Mathematics for Computing 19 January 2012 Exercise 2.8’ Write truth tables to compute values for the following expressions in all states. (a) b c d (b) b c d (c) b ( c d ) (d) ( b c ) d (e) ¬ b ( b c ) (f) ¬ b ( b c ) (g) ( ¬ b c ) b (h) ( b c ) ( b c ) ( c b ) Exercise 3.1 Raymond Smullyan provides, in The Lady or the Tiger? , the following context for a number of puzzles: [...] the king explained to the prisoner that each of the two rooms contained either a lady or a tiger, but it could be that there were tigers in both rooms, or ladies in both rooms, or then again, maybe one room contained a lady and the other room a tiger. In the third case, the following signs are on the doors of the rooms: 1 Either a tiger is in this room or a lady is in the other room 2 A lady is in the other room We are told that the signs are either both true or both false.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 2

Sheet3 - McMaster University Department of Computing and...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online