Section 2.3: Coding

2.3 Coding

1 / 9

Which command will make the robot turn all the way around (360°)?v

2 / 9

Luca writes this code for a robot:

Move forward 3 steps  Turn right  Move forward 2 steps 

What shape will the robot’s path look like?

3 / 9

Which code will move the robot forward only when it sees a blue tile?

4 / 9

Alex’s program says:

Repeat 2 times  Move forward 2 steps    Turn left 

How many steps forward will the robot move?

5 / 9

Which instruction will make the robot draw a square?

6 / 9

Olivia’s code says:

If the robot sees a red square, turn rightIf the robot sees a green square, turn left

What kind of coding is this?

7 / 9

Which instruction would make the robot turn around and go in the opposite direction?

8 / 9

Emily writes a program:

Repeat 3 times: 

  Move forward 1 step 

How many total steps will the robot move?

9 / 9

Liam gives this set of instructions to a robot:

  • Move forward 2 steps
  • Turn right
  • Move forward 2 steps

Where does the robot end up?

Your score is

The average score is 73%

0%