No student devices needed. Know more
23 questions
How will I tell Tracy to move forward 100 pixels?
Forward(100)
move(100)
Tracy, move forward 100 pixels
forward(100)
When using the circle() command, what value do we put inside the parentheses?
Radius of the circle
Center of the circle
Diameter of the circle
Width of the circle
When Tracy is facing right, from what location does she start drawing the circle?
Top of the circle
Bottom of the circle
Left of the circle
Middle of the circle
Where does Tracy always start in the grid world?
(0, 0) coordinate in the bottom left hand corner of the canvas
(-200, -200) coordinate in the bottom left hand corner of the canvas
(0, 0) coordinate in the middle of the canvas
(-200, -200) coordinate in the middle of the canvas
What are the dimensions of Tracy's world?
200 pixels x 200 pixels
400 pixels x 200 pixels
400 pixels x 400 pixels
200 pixels x 400 pixels
How far does Tracy need to move from the starting position to reach the right side of the canvas?
50 pixels
100 pixesl
200 pixels
400 pixels
If you want Tracy to move forward 100 pixels without making a line, what set of commands should you write?
penup( )
forward(100)
forward(100)
penup()
penup(100)
forward(-100)
If Tracy started facing right, which direction would she be facing after we ran the following code:
left(90)
left(90)
right(90)
up
down
right
left
Which of the following is NOT a reason for loops are useful when writing code?
Loops help use write the same program with fewer lines of code.
Loops let us make shapes of multiple sizes
Loops make it easier to alter code once it's written.
Loops make our code easier to read
The following loop draws 3 circles on the screen.
for i in range(3):
circle(25)
forward
If I wanted to alter this loop to draw 10 circles, how many lines would my code be?
1 line
3 lines
10 lines
30 lines
If Tracy starts on the left edge of the canvas and moves forward 50 pixels, how many times will this code need to be repeated to have Tracy reach the right edge of the canvas?
4 times
8 times
10 times
50 times
Why do certain words change color in Python?
To show that they are recognized as key words
To tell you that these words cannot be used in Python
To show you that these words can be clicked
To tell Python to skip these words when running the code
Comments are:
Written for humans to read and understand
Only needed when a program is over 50 lines
Commands performed by the computer
Always blue when Python recognizes them
What symbol is used at the beginning of an in-line comment?
"
!
#
:
What punctuation is needed to begin a multi-line comment?
#
' ' '
" " "
*
Tracy always starts facing which direction?
North
East
South
West
If Tracy is facing right, which of the following commands can be used to turn her to face up?
A only
A & C
A, B, & C
A, B, C & D
If Tracy started facing right, which direction would she be facing after we ran the following code?
Up
Down
Right
Left
Which lines of the code will be repeated 4 times?
2 & 4
2, 3, & 4
3, 4, & 5
3, 4, 5, & 6
If I use the command right(180), what will Tracy do?
She will turn to face up.
She will turn around.
She will turn in a circle.
She will turn to face left.
The setposition() command moves Tracy to a coordinate and:
turns her to face left
does not turn her
turns her to face right
turns her to face down
If you want three circles to be drawn next to each other (as seen in the image), after drawing the first circle, how far would you need to move Tracy before drawing the next circle?
100 pixels
50 pixels
the circle's radius
the circle's diameter
How do functions make our code more readable? (select all correct answers)
Function names can describe what the function is completing
Functions break our code into smaller, separate parts
Each function only contains one command
Functions shorten our code by reusing code that has already been written
Explore all questions with a free account