2.1.12 - Construct truth tables using the above operators. Flashcards

1
Q

How do you construct a truth table for Boolean operators?

A

To construct a truth table, list input columns on the left, partial outputs in the middle (optional), and the output column on the right. Ensure there is a row for every possible configuration of inputs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Construct a truth table for the AND operator with two inputs.

A

A | B | A AND B |
|—|—|———|
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 1 | 1 |

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Construct a truth table for the OR operator with two inputs.

A

A | B | A OR B |
|—|—|——–|
| 0 | 0 | 0 |
| 1 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 1 | 1 |

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Construct a truth table for the NOT operator with one input.

A

A | NOT A |
|—|——-|
| 0 | 1 |
| 1 | 0 |

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Construct a truth table for the NAND operator with two inputs.

A

A | B | A NAND B |
|—|—|———-|
| 0 | 0 | 1 |
| 1 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 1 | 0 |

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Construct a truth table for the NOR operator with two inputs.

A

A | B | A NOR B |
|—|—|———|
| 0 | 0 | 1 |
| 1 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 1 | 0 |

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Construct a truth table for the XOR operator with two inputs.

A

A | B | A XOR B |
|—|—|———|
| 0 | 0 | 0 |
| 1 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 1 | 0 |

How well did you know this?
1
Not at all
2
3
4
5
Perfectly