This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: 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.We are told that the signs are either both true or both false....
View Full
Document
 Spring '11
 KahlWolfram

Click to edit the document details