25 questions
How would 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?
The radius of the circle
The center of the circle
The diameter of the circle
The width of the circle
When Tracy is facing right, from what location does she start drawing her circle?
The top of the circle
The bottom of the circle
The left side of the circle
The middle of the circle
Where does Tracy always start in the grid world?
At the (0,0) coordinate in the bottom left hand corner of the canvas
At the (-200,-200) coordinate in the bottom left hand corner of the canvas
At the (0,0) coordinate in the middle of the canvas
At the (-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
Which commands would move Tracy forward 100 pixels?
A. forward(100)
B. backward(-100)
C. forward(-100)
A, B, and C
A only
B and C
A and B
Tracy always starts facing which direction?
Up
Down
Right
Left
If Tracy is facing right, which of the following commands can be used to turn her to face up?
A. left(90)
B. turn(up)
C. right(-90)
D. setposition(90)
A only
A and C
A, B, and C
A, B, C, and D
If Tracy started facing right, which direction would she be facing after we ran the following code:
Up
Down
Left
Right
Which of the following is NOT a reason for loops are useful when writing code?
Loops help us 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
If Tracy starts at 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
8
10
50
If I use the command right(180), which way will Tracy turn?
She will turn in a full circle
She will turn and face the opposite direction
She will turn to face up
She will turn to face down
If you wanted Tracy to complete her command immediately, which speed value would you use?
0
1
5
10
Which of the statement are NOT true about comments:
Written in English for humans to read and understand
Helps other programmers understand your code
Helps keep the programmer organized
Only needed when a program is over 50 lines
What symbol is used at the beginning of an in-line comment?
"
!
#
/
What punctuation is needed to begin a multi-line comment?
$
"""
*
/
Which of the names below follow all naming rules?
my_function
Draw a line
4_circles
make_squares
If I am creating a function that is going to draw 2 squares, which of the following would be the best name option?
Draw_Two_Squares
draw_squares
draw_shapes
2_squares
What 3 letters are used at the beginning when defining a function?
fun
def
for
sub
Which is the proper way to call the function three_circles?
def three_circles()
three_circles()
run three_circles()
for three_circles()
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)
How would I change Tracy’s trail to a yellow line with a thickness of 10 pixels?
Color(Yellow)
thickness(10)
color(“yellow”)
pensize(10)
color yellow()
pensize(10)
color yellow():
pensize(10)
What would be the output of the following command?
circle(50,360,5)
What would be the output of the following command?
circle(50,180,3)
What is the correct way to draw a circle that is filled in?
begin_fill() circle(20)
end_fill()
circle(20) begin_fill() end_fill()
circle(begin_fill, 20, end_fill)
circle(20) end_fill()