Putting It All Together Flashcard

Putting It All Together Flashcard

Assessment

Flashcard

others

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

25 questions

Show all answers

1.

FLASHCARD QUESTION

Front

When the following for loop is complete, how many spaces will Tracy have moved?
for i in range(5): forward(10)

Back

50 spaces

2.

FLASHCARD QUESTION

Front

Suppose you write a function. How many times can you call the function in your code?

Back

As many times as you want

3.

FLASHCARD QUESTION

Front

In which of the following situations would it be best to make a function? Options: You want Tracy to draw a blue line, and your program requires lots of blue lines., You need Tracy to move forward by 100., You need Tracy to turn right and then turn left., You need to change Tracy’s color.

Back

You want Tracy to draw a blue line, and your program requires lots of blue lines.

4.

FLASHCARD QUESTION

Front

Which of the following pieces of code will make Tracy do the following actions three times: go forward, change colors, and then turn around.

Back

Media Image

5.

FLASHCARD QUESTION

Front

Which function would be most useful for making Tracy draw a mountain range starting from the left side?

Back

Media Image

6.

FLASHCARD QUESTION

Front

Which of the following is NOT a command you can give to Tracy? Options: color, turn, backward, left

Back

turn

7.

FLASHCARD QUESTION

Front

Which of the statements below is true about indentation in Python?

Back

Indentation always matters in Python. Every statement must be aligned correctly.

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?