Logic Gates & Truth Tables

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/14

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

15 Terms

1
New cards
What is a logic gate?
A logic gate is an electronic component that operates on one or more binary inputs to produce a single binary output.
2
New cards
What does an AND gate do?
An AND gate outputs true (1) only when all its inputs are true (1).
3
New cards
What is the truth table for an AND gate?
| A | B | Output (A AND B) |
|---|---|------------------|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
4
New cards
What does an OR gate do?
An OR gate outputs true (1) if at least one of its inputs is true (1).
5
New cards
What is the truth table for an OR gate?
| A | B | Output (A OR B) |
|---|---|------------------|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |
6
New cards
What does a NOT gate do?
A NOT gate inverts its input; it outputs true (1) when the input is false (0), and vice versa.
7
New cards
What is the truth table for a NOT gate?
| A | Output (NOT A) |
|---|----------------|
| 0 | 1 |
| 1 | 0 |
8
New cards
What is a NAND gate?
A NAND gate is the opposite of an AND gate; it outputs false (0) only when all its inputs are true (1).
9
New cards
What is the truth table for a NAND gate?
| A | B | Output (A NAND B) |
|---|---|--------------------|
| 0 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
10
New cards
What is a NOR gate?
A NOR gate is the opposite of an OR gate; it outputs true (1) only when all its inputs are false (0).
11
New cards
What is the truth table for a NOR gate?
| A | B | Output (A NOR B) |
|---|---|-------------------|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 0 |
12
New cards
What is an XOR gate?
An XOR (exclusive OR) gate outputs true (1) when exactly one of its inputs is true (1).
13
New cards
What is the truth table for an XOR gate?
| A | B | Output (A XOR B) |
|---|---|-------------------|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
14
New cards
What is an XNOR gate?
An XNOR (exclusive NOR) gate outputs true (1) when both inputs are the same.
15
New cards
What is the truth table for an XNOR gate?
| A | B | Output (A XNOR B) |
|---|---|--------------------|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |