Truth tables

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

1/19

flashcard set

Earn XP

Description and Tags

Gates and their truth tables

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards
<p>Yes</p>

Yes

Input

Output

0

0

1

1

2
New cards
<p>Not</p>

Not

Input

Output

0

1

1

0

3
New cards
<p>AND</p>

AND

A

B

Output

0

0

0

1

0

0

0

1

0

1

1

1

4
New cards
<p>OR</p>

OR

A

B

Output

0

0

0

1

0

1

0

1

1

1

1

1

5
New cards
<p>XOR</p>

XOR

A

B

Output

0

0

0

1

0

1

0

1

1

1

1

0

6
New cards
<p>NAND</p>

NAND

A

B

Output

0

0

1

0

1

1

1

0

1

1

1

0

7
New cards
<p>NOR</p>

NOR

A

B

Output

0

0

1

0

1

0

1

0

0

1

1

0

8
New cards
<p>XNOR</p>

XNOR

A

B

Output

0

0

1

1

0

0

0

1

0

1

1

1

9
New cards

SR truth table

S

R

Output

0

0

no change

1

0

setting Q to 1

0

1

resetting Q to 0

1

1

not allowed

10
New cards

Decoder

Tells the entire process exactly what to do

11
New cards

Full-adder

Two XOR gates, two AND gates, one OR gate

12
New cards

Half-adder

One XOR gate and one AND gate

13
New cards

half-adder Truth Table

A

B

Sum

Carry

0

0

0

0

0

1

1

0

1

0

1

0

1

1

0

1

14
New cards

Half-Adder Equations

S = A’B + AB’ (XOR gate)

C = AB (AND gate)

15
New cards

Full-adder Truth Table

A

B

Cin

Sum

Cout

0

0

0

0

0

0

0

1

1

0

0

1

0

1

0

0

1

1

0

1

1

0

0

1

0

1

0

1

0

1

1

1

0

0

1

1

1

1

1

1

16
New cards

Full adder equations

S = A’B’C + A’BC’ + A’BC + ABC (Two XOR gates)

Cout = (One XOR gate and two AND gate and one OR gate)

17
New cards

XNOR definition

Output is 1 when A and B are the same. Output is 0 when A and B are different

18
New cards

XOR definition

Output is 1 when only one A or B is strictly 1.

19
New cards

NOR definition

Output is 1 when A and B are both 0.

20
New cards

NAND definition

Output is 1 when A or B is 0