Putting It All Together Quiz

Putting It All Together Quiz

25 Qs

quiz-placeholder

Similar activities

Quiz #1

Quiz #1

KG - University

24 Qs

Copy of Copy of Quick Test Unit 3 - From check-in to check-out

Copy of Copy of Quick Test Unit 3 - From check-in to check-out

KG - University

20 Qs

Napoleon Bonaparte's Domestic Aims and Achievements (1799-1814)

Napoleon Bonaparte's Domestic Aims and Achievements (1799-1814)

KG - University

20 Qs

Influence on Japan

Influence on Japan

7th Grade

20 Qs

Genetics Quiz Review

Genetics Quiz Review

7th Grade

20 Qs

Putting It All Together Quiz

Putting It All Together Quiz

Assessment

Quiz

others

Easy

Created by

Tim Collier

Used 10+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

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

2.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

Suppose you write a function. How many times can you call the function in your code?
Once
Not more than the number of commands the function holds
It depends on the functiont
As many times as you want

3.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

In which of the following situations would it be best to make a function?
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.

4.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

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

5.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

Media Image
Suppose you want to make Tracy draw a mountain range, like the one shown below, starting from the left side. Which of the following functions would be the most useful function to write in order to solve this problem?
Media Image
Media Image
Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

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

7.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

Which of the statements below is true about indentation in Python?
Indentation only matters in for loops. Then, everything must be indented one level.
Indentation never matters in Python. You can align your code any way you like, but indentation makes your code easier to read.
Indentation always matters in Python. Every statement must be aligned correctly.
Indentation only matters in functions. Then, everything must be indented one level.

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?