

Robot AP Computer Science Principles
Presentation
•
Computers
•
9th - 12th Grade
•
Medium
David Guy
Used 21+ times
FREE Resource
3 Slides • 8 Questions
1
Robot AP Computer Science Principles
by David Guy
2
Robot
3
Robot
4
Multiple Choice
Which could be put in the <MISSING CODE> segment to get the robot to end in the Gray Square?
REPEAET 1 TIMES
REPEAET 2 TIMES
REPEAET 3 TIMES
REPEAET 4 TIMES
5
Multiple Choice
What will be the result if the code is run with the starting world shown?
6
Multiple Choice
7
Multiple Choice
The following grid contains a robot represented as a triangle, which is initially facing right. The following code segment is intended to move the robot to the gray square.
Which of the following can be used as a replacement for <MISSING STATEMENT> so that the code segment works as intended?
REPEAT 1 TIMES
REPEAT 2 TIMES
REPEAT 3 TIMES
REPEAT 4 TIMES
8
Multiple Choice
The program segment below is intended to move a robot in a grid to a gray square. The program segment uses the procedure GoalReached, which evaluates to true if the robot is in the gray square and evaluates to false otherwise. The robot in each grid is represented as a triangle and is initially facing left. The robot can move into a white or gray square but cannot move into a black region.
For which of the following grids does the program NOT correctly move the robot to the gray square?
9
Multiple Choice
10
Multiple Choice
11
Multiple Select
The question below uses a robot in a grid of squares. The robot is represented as a triangle, which is initially in the bottom-right square of the grid and facing toward the top of the grid.
Which of the following code segments can be used to move the robot to the gray square?
Select two answers.
Robot AP Computer Science Principles
by David Guy
Show answer
Auto Play
Slide 1 / 11
SLIDE
Similar Resources on Wayground
9 questions
D3L3: Describe Permissions
Presentation
•
9th - 12th Grade
9 questions
Solving Systems by Graphing
Presentation
•
9th - 12th Grade
10 questions
Sum & Difference of Cubes
Presentation
•
9th - 12th Grade
10 questions
Six Trig Functions
Presentation
•
9th - 12th Grade
10 questions
Vocabulary in Context
Presentation
•
9th - 12th Grade
10 questions
Domain and Range Lesson
Presentation
•
9th - 12th Grade
10 questions
Earth Sciences: Plate Boundaries
Presentation
•
9th - 12th Grade
6 questions
U02L08 - Intellectual Property
Presentation
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
5.P.1.3 Distance/Time Graphs
Quiz
•
5th Grade
10 questions
Fire Drill
Quiz
•
2nd - 5th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
22 questions
School Wide Vocab Group 1 Master
Quiz
•
6th - 8th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
12 questions
What makes Nebraska's government unique?
Quiz
•
4th - 5th Grade