code repair robotmrscampau.weebly.com/uploads/1/3/7/6/13768097/tf-robotrepair-ho… · contain a...

16
CAN YOU FIX THE ROBOT BRAIN? CAN YOU FIX THE ROBOT BRAIN? // ROBOT REPAIR CODE PROGRAMMING GAME SERIES Click here for lesson plan

Upload: others

Post on 30-Jun-2020

12 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CODE REPAIR ROBOTmrscampau.weebly.com/uploads/1/3/7/6/13768097/tf-robotrepair-ho… · contain a logic gate. The meaning of each logic gate is found at the bottom of each challenge

CAN YOU FIX THEROBOT BRAIN?

CAN YOU FIX THEROBOT BRAIN?

//

ROBOTREPAIRCODE

PROGRAMMING GAME SERIES

Click here for lesson plan

Page 2: CODE REPAIR ROBOTmrscampau.weebly.com/uploads/1/3/7/6/13768097/tf-robotrepair-ho… · contain a logic gate. The meaning of each logic gate is found at the bottom of each challenge

Example 1:

Example 2:

Example 3:

Activating the Colored WiresYou activate one or more colored wires by placing a power cell onto the circuit board node that directly connects to the wire.

CODEPROGRAMMING GAME SERIES

ROBOT REPAIR//

In ROBOT REPAIR, you are a Cybernetics Specialist tasked with repairing a fleet of personal assistant robots. Each robot is reprogrammed by a different combination of wires and power cells. To repair each robot, you’ll need to activate the colored wires by placing power cells on numbered nodes touching those wires.

Repair instructions are written in the form of clues, and your job is to interpret the clues and identify where to place power cells to activate the specified wires.

Now let’s start repairing!

3

BlueBlue

2

Green

Introduction & How to Play

Red

Place Power Cell Here...

Place Power Cell Here...

...Red Wire Activates

3

Red

Place Power Cell Here...

...Red and Blue Wires Activate

...Entire Red Wire Activates

Red Red 3

Blue

2

4

Page 3: CODE REPAIR ROBOTmrscampau.weebly.com/uploads/1/3/7/6/13768097/tf-robotrepair-ho… · contain a logic gate. The meaning of each logic gate is found at the bottom of each challenge

Boolean Expressions and Logic Gates Clues and Sensors

CLUES: Each of the clue panels contains at least one clue about a colored wire.

SENSORS: Each clue contains a sensor that connects back to the colored wires.

LOGIC GATES: Clue panels containing more than one clue also contain a logic gate. The meaning of each logic gate is found at the bottom of each challenge.

BOOLEAN EXPRESSION: Each challenge contains one Boolean expression made up of one or more clue panels. From this information, you will be able to determine on which node you must place a power cell.

CODEPROGRAMMING GAME SERIES

ROBOT REPAIR//

AND TRUE/FALSE

OR

TRUE/FALSE

TRUE/FALSE

TRUE/FALSE

TRUE/FALSE

Red

RedNOT

NOT

Green

ORTRUE/FALSE

TRUE/FALSE Red

GreenTRUE/FALSE

How to Play (Cont’d)

Boolean Expression

TRUE/FALSE RedNOTSensor

Clue #2

Clue #1

Red

Red

NOTTRUE/FALSE Red

If the Red wire is powered ON, then Red is True and NOT Red is False.

If the Red wire is NOT powered on, then Red is False and Not Red is True.

3FALSE

RedTRUE

NOTTRUE/FALSE Red

1 3Red

TRUE

FALSE

Clue Panels

ORTRUE/FALSE

TRUE/FALSE Red

GreenTRUE/FALSE

Logic Gate

Page 4: CODE REPAIR ROBOTmrscampau.weebly.com/uploads/1/3/7/6/13768097/tf-robotrepair-ho… · contain a logic gate. The meaning of each logic gate is found at the bottom of each challenge

Red Red1

Cyan

Demo Challenge & Solution

What is the correct node on whichto place the power cell so that the Red wire does not power on?

CODEPROGRAMMING GAME SERIES

ROBOT REPAIR//

SOLUTION: Power cell goes on . Placing it here will power the Cyan wire but not power the Red wire.

NOTE: Power cells

activate any wire(s) that touch it. In this case,

it is the Cyan wire.

AND TRUE/FALSE

NOTTRUE/FALSE Red

AND TRUE/FALSE

NOTTRUE/FALSE Red

TRUE

TRUE

2

3 1

Cyan

2

3

Place Power Cell on Node 3

NOTE: This needs to be TRUE to win.

Page 5: CODE REPAIR ROBOTmrscampau.weebly.com/uploads/1/3/7/6/13768097/tf-robotrepair-ho… · contain a logic gate. The meaning of each logic gate is found at the bottom of each challenge

CODEPROGRAMMING GAME SERIES

ROBOT REPAIR//

TO SOLVE: Place one power cell onto a numbered node to power the colored wires that make the Boolean expression TRUE.

1 2

3 4

Green

Red

Blue

Yellow

TRUE/FALSE

TRUE/FALSE

AND TRUE/FALSE

BlueYellow

Mini Challenge 01

Logic Gates Used:

AND All Clue Panels TRUE 1 or more

Page 6: CODE REPAIR ROBOTmrscampau.weebly.com/uploads/1/3/7/6/13768097/tf-robotrepair-ho… · contain a logic gate. The meaning of each logic gate is found at the bottom of each challenge

CODEPROGRAMMING GAME SERIES

ROBOT REPAIR//

TO SOLVE: Place one power cell onto a numbered node to power the colored wires that make the Boolean expression TRUE.

NOTTRUE/FALSE NOTTRUE/

FALSE

AND TRUE/FALSE

BlueGreen

1 2

3 4

Green

Red

Blue

Yellow

Mini Challenge 02

Logic Gates Used:

AND All Clue Panels TRUE 1 or more

Page 7: CODE REPAIR ROBOTmrscampau.weebly.com/uploads/1/3/7/6/13768097/tf-robotrepair-ho… · contain a logic gate. The meaning of each logic gate is found at the bottom of each challenge

CODEPROGRAMMING GAME SERIES

ROBOT REPAIR//

1 2

3 4

Green

Red

Blue

Yellow

AND TRUE/FALSE

OR

TRUE/FALSE

TRUE/FALSE

TRUE/FALSE

Blue

Yellow

TRUE/FALSE

TO SOLVE: Place one power cell onto a numbered node to power the colored wires that make the Boolean expression TRUE.

Mini Challenge 03

Green

Logic Gates Used:

OR 2 or more At least 1 sensor TRUE

Page 8: CODE REPAIR ROBOTmrscampau.weebly.com/uploads/1/3/7/6/13768097/tf-robotrepair-ho… · contain a logic gate. The meaning of each logic gate is found at the bottom of each challenge

CODEPROGRAMMING GAME SERIES

ROBOT REPAIR//

1 2

3 4

Green

Red

Blue

Yellow

AND TRUE/FALSE

OR

TRUE/FALSE

TRUE/FALSE

TRUE/FALSE

TRUE/FALSE

Red

RedNOT

TO SOLVE: Place one power cell onto a numbered node to power the colored wires that make the Boolean expression TRUE.

Mini Challenge 04

Green

Logic Gates Used:

OR 2 or more At least 1 sensor TRUE

Page 9: CODE REPAIR ROBOTmrscampau.weebly.com/uploads/1/3/7/6/13768097/tf-robotrepair-ho… · contain a logic gate. The meaning of each logic gate is found at the bottom of each challenge

CODEPROGRAMMING GAME SERIES

ROBOT REPAIR//

TO SOLVE: Place one power cell onto a numbered node to power the colored wires that make the Boolean expression TRUE.

1 2

3 4

Green

Red

Blue

Yellow

AND TRUE/FALSE

Logic Gates Used:

OR 2 or more At least 1 sensor TRUE

OR

TRUE/FALSE

TRUE/FALSE

TRUE/FALSE

Red

Yellow

OR

TRUE/FALSE

TRUE/FALSE

TRUE/FALSE

Yellow

RedNOT

TRUE/FALSE BlueNOT

Mini Challenge 05

Page 10: CODE REPAIR ROBOTmrscampau.weebly.com/uploads/1/3/7/6/13768097/tf-robotrepair-ho… · contain a logic gate. The meaning of each logic gate is found at the bottom of each challenge

CODEPROGRAMMING GAME SERIES

ROBOT REPAIR//

TO SOLVE: Place one power cell onto a numbered node to power the colored wires that make the Boolean expression TRUE.

1 2

3 4

Green

Red

Blue

Yellow

AND TRUE/FALSE

IFFTRUE/FALSE

TRUE/FALSE

TRUE/FALSE

Red

Logic Gates Used:

IFF Both sensors TRUE or both sensors FALSE Exactly 2

TRUE/FALSE

Green

Red

Mini Challenge 06

Page 11: CODE REPAIR ROBOTmrscampau.weebly.com/uploads/1/3/7/6/13768097/tf-robotrepair-ho… · contain a logic gate. The meaning of each logic gate is found at the bottom of each challenge

CODEPROGRAMMING GAME SERIES

ROBOT REPAIR//

TO SOLVE: Place one power cell onto a numbered node to power the colored wires that make the Boolean expression TRUE.

AND TRUE/FALSE

IFFTRUE/FALSE

TRUE/FALSE

TRUE/FALSE

IFFTRUE/FALSE

TRUE/FALSE

TRUE/FALSE

1 2

3

4 5

Green

Red

Blue

Yellow

Purple

Purple

Cyan

Cyan

Logic Gates Used:

IFF Both sensors TRUE or both sensors FALSE Exactly 2

Blue

BluePurple

Green

Mini Challenge 07

Page 12: CODE REPAIR ROBOTmrscampau.weebly.com/uploads/1/3/7/6/13768097/tf-robotrepair-ho… · contain a logic gate. The meaning of each logic gate is found at the bottom of each challenge

CODEPROGRAMMING GAME SERIES

ROBOT REPAIR//

Logic Gates Used:

TO SOLVE: Place one power cell onto a numbered node to power the colored wires that make the Boolean expression TRUE.

1 2

3

4 5

Green

Red

Blue

Yellow

Purple

Purple

Cyan

Cyan

AND TRUE/FALSE

XOR

TRUE/FALSE

TRUE/FALSE

TRUE/FALSE

XOR

TRUE/FALSE

TRUE/FALSE

TRUE/FALSE

Blue

Blue

Purple

Yellow

Mini Challenge 08

XOR Exactly 2 One sensor TRUE and one sensor FALSE

Page 13: CODE REPAIR ROBOTmrscampau.weebly.com/uploads/1/3/7/6/13768097/tf-robotrepair-ho… · contain a logic gate. The meaning of each logic gate is found at the bottom of each challenge

CODEPROGRAMMING GAME SERIES

ROBOT REPAIR//

TO SOLVE: Place one power cell onto a numbered node to power the colored wires that make the Boolean expression TRUE.

1 2

3

4 5

Green

Red

Blue

Yellow

Purple

Purple

Cyan

Cyan

Logic Gates Used:

NOR 2 or more All sensors FALSE

AND TRUE/FALSE

NOR

TRUE/FALSE

TRUE/FALSE

TRUE/FALSE

Red

Blue

Mini Challenge 09

Page 14: CODE REPAIR ROBOTmrscampau.weebly.com/uploads/1/3/7/6/13768097/tf-robotrepair-ho… · contain a logic gate. The meaning of each logic gate is found at the bottom of each challenge

CODEPROGRAMMING GAME SERIES

ROBOT REPAIR//

Logic Gates Used:

TO SOLVE: Place one power cell onto a numbered node to power the colored wires that make the Boolean expression TRUE.

1 2

3

4 5

Green

Red

Blue

Yellow

Purple

Purple

Cyan

Cyan

AND TRUE/FALSE

Green

NAND

TRUE/FALSE

TRUE/FALSE

TRUE/FALSE

TRUE/FALSE

YellowNOT

Red

Mini Challenge 10

NAND 2 or more At least 1 sensor FALSE

Page 15: CODE REPAIR ROBOTmrscampau.weebly.com/uploads/1/3/7/6/13768097/tf-robotrepair-ho… · contain a logic gate. The meaning of each logic gate is found at the bottom of each challenge

SolutionsCODEPROGRAMMING GAME SERIES

ROBOT REPAIR//

3

3

4

4

4

3

2

2

2

1

CHALLENGE 01

CHALLENGE 02

CHALLENGE 03

CHALLENGE 04

CHALLENGE 05

CHALLENGE 06

CHALLENGE 07

CHALLENGE 08

CHALLENGE 09

CHALLENGE 10

Page 16: CODE REPAIR ROBOTmrscampau.weebly.com/uploads/1/3/7/6/13768097/tf-robotrepair-ho… · contain a logic gate. The meaning of each logic gate is found at the bottom of each challenge

Game Pieces(cutting required)CODE

PROGRAMMING GAME SERIES

ROBOT REPAIR//