Coding Units 1-4 Review

Coding Units 1-4 Review

Assessment

Flashcard

Computers

9th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

59 questions

Show all answers

1.

FLASHCARD QUESTION

Front

How does Tracy start when you first open up Python?

Back

Pen down and facing right

Answer explanation

When you first open Python, the turtle starts with the pen down and facing right, ready to draw. This is the default starting position for the turtle graphics module.

2.

FLASHCARD QUESTION

Front

Which of the following is not an accurate description of the location of each point in Tracy's grid world? The point (0,0) is in the center of the screen., The point (200,-200) is at the bottom right corner of the screen, The point (-200,0) is on the bottom of the screen, The point (-200,-200) is at the bottom left corner of the screen

Back

The point (-200,0) is on the bottom of the screen

3.

FLASHCARD QUESTION

Front

The command circle(30) will tell Tracy to draw a circle of diameter 30 units.

Back

False

Answer explanation

The command circle(30) specifies the radius, not the diameter. Therefore, it instructs Tracy to draw a circle with a radius of 30 units, making the statement false.

4.

FLASHCARD QUESTION

Front

Which command would make Tracy execute an action the quickest? Options: speed(0), speed(1), speed(5), speed(10)

Back

speed(0)

Answer explanation

The command speed(0) sets Tracy's speed to zero, meaning she will execute the action immediately without any delay.

5.

FLASHCARD QUESTION

Front

The code shown draws 3 circles on the screen. If I wanted to alter this loop to draw 15 circles, how many lines would my code be?

Back

3

Answer explanation

To draw 15 circles, you can modify the loop that currently draws 3 circles. The loop structure remains the same, so the number of lines of code needed to implement this change is still 3, making the correct answer 3.

6.

FLASHCARD QUESTION

Front

The following program will have Tracy draw a square with each side length measuring 60 pixels.

Back

True

Answer explanation

The program correctly instructs Tracy to draw a square with each side measuring 60 pixels, confirming that the statement is true.

7.

FLASHCARD QUESTION

Front

If Tracy was facing up, what direction would she be facing if the following code was run?

Back

down

Answer explanation

If starting facing up, Tracy would move to the right 90 degrees putting her facing right. Then, Tracy would move left 90 degrees bringing her back to facing up. Then, Tracy would turn right 180 degrees rotating her from up to now down.

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?