Search Header Logo
Logic Gates

Logic Gates

Assessment

Presentation

Computers

6th - 8th Grade

Practice Problem

Medium

Created by

Kimberly Lewis

Used 43+ times

FREE Resource

13 Slides • 6 Questions

1

media

Logic Gates

2

Boolean logic has two parts to it: The operators, and the number of operators. This is where AND, OR, and NOT come in.

AND, OR, and NOT

media

3

media

True and False is at the heart of boolean logic

4

media

Both data objects must be true

AND

​Input A

Input B​

Output​

​true

true​

true​

false​

true​

false​

​true

false​

false​

​false

false​

false​

5

The light only turns on when both of these are true

media

6

media

At least one data object must be true.

Inclusive OR

​Input A

Input B​

Output​

​true

true​

true​

​true

false​

true​

​false

true​

true​

​false

false​

false​

7

The light turns on with one, or the other, or both.

media

8

media

Flips true to false or false to true.

NOT

​Input

Output​

true​

false​

​false

true​

9

The light turns on when the switch is false.

media

10

media

One or the other, but not both.

Exclusive OR (XOR)

​Input A

​Input B

Output​

​true

true​

false​

​true

false​

true​

​false

true​

true​

​false

false​

false​

11

The light only turns on when one of the switches is true.

media

12

media

What's the difference between OR and XOR?

13

For the reward, on Saturday, you can either go to the Hogle Zoo, or

XOR

To get the reward, you can either do your chores, or get good grades. You can also do both.

OR

Imagine it this way...

14

Labelling

Put the labels on the gates

Drag labels to their correct position on the image

XOR

AND

OR

NOT

15

Hotspot

Which gate is true only if both inputs are true?

16

Hotspot

You want a gate that flips the input from true to false.

17

Hotspot

You can choose one thing, or the other, or both. Which gate is this?

18

Hotspot

One of your inputs is true, but the other is false. Your code returns false. Which gate is being used?

19

Hotspot

One of your inputs is true, but the other is false. The code returns true. Which logic gate are you using?

media

Logic Gates

Show answer

Auto Play

Slide 1 / 19

SLIDE