Tracy not Karel Review Quiz

Tracy not Karel Review Quiz

12th Grade

25 Qs

quiz-placeholder

Similar activities

Unit 5 Quiz - Loops & Lists (code.org)

Unit 5 Quiz - Loops & Lists (code.org)

10th - 12th Grade

20 Qs

Loops

Loops

1st - 12th Grade

20 Qs

JavaScript Quiz 2

JavaScript Quiz 2

9th - 12th Grade

20 Qs

Intro to CS Quiz 1

Intro to CS Quiz 1

9th - 12th Grade

22 Qs

CodeHS Python Unit 2 Quiz Review

CodeHS Python Unit 2 Quiz Review

12th Grade

25 Qs

CodeHS Python Chapter 2

CodeHS Python Chapter 2

10th - 12th Grade

20 Qs

CodeHS AP CSP Unit 3 Review

CodeHS AP CSP Unit 3 Review

11th - 12th Grade

22 Qs

Interactive Animations and Games

Interactive Animations and Games

9th - 12th Grade

24 Qs

Tracy not Karel Review Quiz

Tracy not Karel Review Quiz

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Kelly Hart

Used 3+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When the following for loop is complete, how many spaces will Tracy have moved?

for i in range(5):

forward(10)

50

60

10

5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

1

0

as many times as you want

only the same number of times as commands in the function

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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 • 1 pt

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

2 mins • 1 pt

Media Image

Which of the following functions would be the most useful?

def draw_triangle( ):

def draw_line( ):

def draw_circle( );

def move_100( );

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a command you can give to Tracy?


left

forward

color

turn

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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?