Logic Gates

0.0(0)
studied byStudied by 0 people
0.0(0)
call with kaiCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/12

flashcard set

Earn XP

Description and Tags

AND, OR, NAND, NOR, XOR, XNOR, NOT, Logic Gates

Last updated 4:12 PM on 1/15/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

13 Terms

1
New cards

What Logic Gate is this?

if a and b:

output = true

else:

output = false

AND

2
New cards

What Logic Gate is this?

if a or b:

output = true

else:

output = false

OR

3
New cards

What Logic Gate is this?

if not (a and b):

output = true

else:

output = false

NAND

4
New cards

What Logic Gate is this?

if not (a or b):

output = true

else:

output = false

NOR

5
New cards

What Logic Gate is this?

if a != b:

output = true

else:

output = false

XOR

6
New cards

What Logic Gate is this?

if a == b:

output = true

else:

output = false

XNOR

7
New cards

What Logic Gate is this?

if not a:

output = true

else:

output = false

NOT

8
New cards
<p>What Logic Gate is this?</p>

What Logic Gate is this?

NOR

9
New cards
<p>What Logic Gate is this?</p>

What Logic Gate is this?

XOR

10
New cards
<p>What Logic Gate is this?</p>

What Logic Gate is this?

XNOR

11
New cards

The example stated below best suits for what gate?

A phone goes into sleep mode only when no buttons are being pressed and no notifications is coming in.

NOR

12
New cards

The example stated below best suits for what gate?

A safety systems shuts down a machine unless both saftety switches are pressed

NAND

13
New cards

The example stated below best suits for what gate?

You can use the bathroom pass if exactly one student has it, not zero, not two

XOR