Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1A B X 0 0 0 1 1 0 1 1 | AThe standard layout of a two-input truth table: input columns A and B first, then output column X, with four rows in binary counting order. | |
| 22^2 = 4 | BOnly 3 rows are listed. Two inputs need 2^2 = 4 rows, so the row 1 1 is missing. | |
| 3The input combinations must go down the rows in binary counting order, starting with both inputs at 0. | CThe rows are not in binary counting order. 01 must come before 10, so the middle two rows are swapped. | |
| 4Rows needed in a truth table equal 2 to the power of the number of inputs, so one more input doubles the rows. | Drows = 2^n | |
| 5A B X 0 0 0 1 1 0 | ETwo inputs give four rows, because each input can be 0 or 1 and 2 x 2 = 4 combinations. | |
| 6A B X 0 0 1 0 0 1 1 1 | F00, 01, 10, 11 |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
truth table — A table listing every input combination in its rows, with the output in the last column. Two inputs give 2^2 = 4 rows, in the order 00, 01, 10, 11.rows = 2 ^ 2 = 4A | B | XRow order: 00, 01, 10, 11Two inputs: 2 ^ 2 = 4 rowsInput columns first, output column last