

AP CSP Midterm Study Guide
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Easy
Wayground Content
Used 2+ times
FREE Resource
Student preview

72 questions
Show all answers
1.
FLASHCARD QUESTION
Front
_________________ is giving the computer a set of commands.
Back
Programming
2.
FLASHCARD QUESTION
Front
Which code below will put Karel in the position shown in picture? Options: move(); Move(); turnLeft(); move();, move; move(); turnLeft; move();, move(); move(); TurnLeft(); Move();, move(); move(); turnLeft(); move();
Back
move(); move(); turnLeft(); move();
3.
FLASHCARD QUESTION
Front
What is the name of this function?
Back
spin()
4.
FLASHCARD QUESTION
Front
Which Karel command is written correctly? Options: move;, Putball(), turnLeft();, move(;
Back
turnLeft();
5.
FLASHCARD QUESTION
Front
Which line contains the bug? Options: 1 and 5, 2 only, 3 only, 5 only
Back
5 only
6.
FLASHCARD QUESTION
Front
What is the correct command to give to Karel to have them pick up a tennis ball?
Back
takeBall();
7.
FLASHCARD QUESTION
Front
Which of the following for loops would print the following numbers?
0
1
2
3
4
5
Options:
for i in range(5): print i,
for i in range(1, 5, 1):
print i,
for i in range(6): print i,
for i in range(0, 5, 1):
print i
Back
for i in range(6): print i
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?