APCSP Unit 5 Review - Loops & Lists (code.org)

APCSP Unit 5 Review - Loops & Lists (code.org)

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

20 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the word used to describe repetition in programming?

Back

Iteration

2.

FLASHCARD QUESTION

Front

What does this code do?

Back

Moves forward 5 times

3.

FLASHCARD QUESTION

Front

What shape does this code make?

Back

Square

4.

FLASHCARD QUESTION

Front

For this scenario related to turtle/robot drawing, indicate whether it is better to write a loop or a function (or a set of functions) to handle the task: Drawing a hexagon (six-sided shape)

Back

Loop

5.

FLASHCARD QUESTION

Front

For the scenario related to turtle/robot drawing, is it better to write a loop or a function to handle the task of drawing out the letters of a word "HELLO"?

Back

Function

6.

FLASHCARD QUESTION

Front

For this scenario related to turtle/robot drawing, indicate whether it is better to write a loop or a function (or a set of functions) to handle the task: Drawing 100 tiny dots in a line.

Back

Loop

7.

FLASHCARD QUESTION

Front

What is a possible output when the following code segment executes? The ending position of the turtle is shown in each diagram. The starting position is shown as a white triangle in cases where the turtle starts and ends in different locations.

Back

Media Image

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?