Mathorio
Answer key
Truth Tables
Show your work for each problem.
- 1.How many rows does a truth table with 3 variables have?
- a)9
- b)3
- c)8
- d)6
Answer: 8
rows. 6 would be , which misses combinations.
- 2.How many rows does a truth table for and need?
Answer: 4
rows: TT, TF, FT and FF.
- 3.Set up the variable columns of a truth table for , and in the standard order.
Answer: 8
- How many rows does the table need? 8
- Column starts with a block of T values. How many T values are in that first block? 4
- Column switches twice as often. How many T values are in its first block? 2
- How many T values are in the first block of column ? 1
- 4.In the standard order of an 8-row truth table, which pattern does the last column have?
- a)F, F, F, F, T, T, T, T
- b)T, T, F, F, T, T, F, F
- c)T, F, T, F, T, F, T, F
- d)T, T, T, T, F, F, F, F
Answer: T, F, T, F, T, F, T, F
The last column alternates in blocks of 1: T, F, T, F, T, F, T, F. Blocks of 4 belong to and blocks of 2 to .
- 5.A truth table has 64 rows. How many variables does the expression have?
Answer: 6
, so the expression has 6 variables (2, 4, 8, 16, 32, 64 is six doublings).
- 6.Build the truth table for . In which row is it true? Use the standard row order (row 1 is = T, = T).
Answer: 3
- How many rows does the table have? 4
- In how many rows is true? 2
- Which row number (1 to 4) has both and true? 3
- 7.In how many of the 4 rows of the truth table is true?
Answer: 3
: F, F, T, T and : T, F, T, F. OR gives T, F, T, T, so the expression is true in 3 rows and false only when is true and is false.
- 8.Which expression is a tautology?
- a)
- b)
- c)
- d)
Answer:
is always true: one of and is always true. is always false, and and are each false in at least one row.
- 9.In how many of the 8 rows is true?
Answer: 3
- In how many of the 8 rows is true? 6
- In how many rows is true? 4
- In how many rows are and both true? 3
- 10.In how many of the 8 rows of the truth table is true?
Answer: 5
is true in rows 1 to 4, which gives 4 true rows. In rows 5 to 8 ( false), is true only in row 5. Total: rows.
- 11.Use a truth table to check whether is a tautology.
Answer: 0
- In how many of the 4 rows is true? 3
- In how many rows is true? 2
- In how many rows is true? 4
- How many rows are false? (0 false rows means a tautology) 0
- 12.Which expression is logically equivalent to ?
- a)
- b)
- c)
- d)
Answer:
: F, F, F, T. : F, F, F, T. The columns match in every row (De Morgan). gives F, T, T, T, which is different.
- 13.Use a truth table to check whether is a contradiction. Use the standard row order (row 1 is = T, = T).
Answer: 0
- Which row number (1 to 4) is the only row where is true? 1
- In how many rows is true? 2
- In how many rows is true? 0
- 14.What does the truth table of show?
- a)It is a contradiction
- b)It is equivalent to
- c)It is neither: true in exactly 1 row
- d)It is a tautology
Answer: It is neither: true in exactly 1 row
: T, T, T, F and : F, F, T, T. AND gives F, F, T, F. It is true in exactly 1 row (row 3), so it is neither a tautology nor a contradiction, and it is not equivalent to (T, T, F, F).
- 15.In how many of the 4 rows is true?
Answer: 2
is true only in row 2 (T, F) and only in row 3 (F, T). OR gives F, T, T, F: 2 true rows. The expression is true exactly when and are different.
- 16.Use a truth table to check whether and are equivalent.
Answer: 0
- How many rows does the table have? 8
- In how many rows is true? 3
- In how many rows is true? 3
- In how many rows do the two final columns differ? 0
- 17.A student claims that is equivalent to . Check it with a truth table. Use the standard row order (row 1 is = T, = T).
Answer: 2
- In how many of the 4 rows is true? 3
- In how many rows is true? 1
- In how many rows do the two final columns differ? 2
- What is the number of the first row where they differ? 2
- 18.Build the truth table for . In how many of the 8 rows is it true?
Answer: 5
- In how many of the 8 rows is true? 4
- In how many rows is true? 2
- In how many rows is true? 5
- How many rows are false? 3