wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Y8 Tracy Student created quiz

Total questions: 62

Worksheet time: 31mins

Name
Class
Date
1.
Michael asks: what is a for loop
a)
a loop of four
b)
im not sure
c)
a loop of designated times
d)
four loops
2.
Joby asks: what command do we use when we use numbers in user input
a)
int
b)
forward(30)
c)
imp
d)
for i in range
3.
Mila asks: What below will make the background pink?
a)
bgcolor("🩷")
b)
bgcolor("pink")
c)
bgcolor(pink)
d)
bgcolour("pink")
4.
Zara asks: What is wrong with this code for i in range () forward (100) right (90) backward (100)
a)
missing number
b)
missing colon
c)
missing capital letter
d)
missing indent
5.
Oli asks: In which direction does Tracy start facing?
a)
Up
b)
Right
c)
Down
d)
Left
6.
Keinner asks: What is a for loop used for
a)
To repeat sequences
b)
to change the background color
c)
to draw circles once
d)
i dont know
7.
Asha asks: Which for loop is correct
a)
for i in range ():
b)
For i in range():
c)
for i in range():
d)
for i in range()
8.
Jackson asks: Whats the code to change the size of tracy's trail
a)
changepensize(30)
b)
pensize(30
c)
PenSize(30)
d)
pensize(30)
9.
Micah asks: How do you create a for loop?
a)
For i in range() :
b)
for i in range :
c)
for i in range ():
d)
for I in Range()
10.
Joby asks: how do you make the turtle spin round
a)
for i in range (61): left(90)
b)
for i inininininininininninininininininininininininini rng (61611616)
c)
turtle i order you to turn round
d)
left(90)
11.
Mila asks: What command changes Tracy into a triangle?
a)
shape(traingle)
b)
turtle(triangle)
c)
shape("triangle")
d)
turtle("traingle")
12.
Parker asks: what would you add to this to complete it : def green_pentagon(): color("green") circle(60,360,5) end_fill()
a)
add: setposition(-100,50)
b)
add: begin_fill()
c)
add: start_fill()
d)
add: initiate_fill()
13.
Michael asks: what is the code for backround colour
a)
bgcolour("color")
b)
bgcolor(" number")
c)
bgcolor("color_name")
d)
backroundcolur("color_name")
14.
Zara asks: what will this code do: circle(10, 180)
a)
draws a circle
b)
draws a square
c)
draws a semi circle
d)
draws quarter
15.
Gavin asks: how do we make tracy go down
a)
Right(90)
b)
left(90)
c)
forward(90)
d)
right(90)
16.
Jackson asks: how to change backround color
a)
backround(blue)
b)
bgcolor("blue")
c)
bgcolor(blue)
d)
BGcolor("blue")
17.
Micah asks: Which function in correct?
a)
def draw square
b)
def draw_square():
c)
def draw square():
d)
draw_square () :
18.
Adreana asks: how to add cercle to your code
a)
cercle
b)
(cercle)
c)
"cercle"
d)
*cercle
19.
Parker asks: what is missing? for i in range(10) color("green") draw_circle() color("blue") forward(100)
a)
( )
b)
,
c)
" "
d)
:
20.
Zaiden asks: Which command makes the background of the canvas Blue?
a)
bgcolor("purple")
b)
bgcolor("red")
c)
bgcolor("blue")
d)
bgcolor("bluue")
21.
Harper asks: What is the starting value of i in a for loop
a)
i
b)
Harper has left this answer blank- ask why?
c)
4
d)
depends on the number in the brackets
22.
Matilda asks: What is wrong with this code? for i in range (4) forward(50) left(90) forward(50)
a)
There is a space after the word range
b)
There are no capital letters
c)
There is no colon after for i in range (4)
d)
There is no colon after forward(50)
23.
Jackson asks: where does tracy start facing when she spawns on the canvas
a)
Up
b)
Down
c)
Left
d)
Right
24.
Jackson asks: how many lefts would tracy have to turn in order to face the same way as she started
a)
3
b)
1
c)
4
d)
2
25.
Caio asks: how do u use a 4 loop
a)
helps you do the code more than once
b)
it does not help u with your code
c)
to move
d)
zaiden
26.
Austin asks: def draw_line_segment(): forward(50) left(90) def draw_half_square(): draw_line_segment() draw_line_segment() def draw_cool_shape(): for i in range(4): draw_half_square() penup() forward(20) pendown() right(45) # Main part of the program speed(0) draw_cool_shape()
a)
Draw a star.
b)
Not work. (Error)
c)
Draw a jumbled star. (Lines not lined up.)
d)
Draw spiderman.
27.
Caio asks: how do u make a for loop
a)
for i in range (4)
b)
for in i range ($)
c)
for range in i (#)
d)
range for i in (%)
28.
Bodhi asks: What would you put in the brackets to make a semi-circle?
a)
circle(360, radius)
b)
circle(180, 50, 2)
c)
circle(radius, 180)
d)
circle(50, 360, 2)
29.
Alex asks: make tracy the turtle into a basic game.
a)
code ( your choice) choice, add a function and click the mouse for it to work.
b)
code tracy to move and stuff...
c)
code your choice of code and make sure to click the enter button for it to work.
d)
ditch the code and ask AI.
30.
Clara asks: What is wrong with this line? int(input(What is the radius of the circle? ))
a)
()
b)
" "
c)
?
d)
int
31.
Hayden asks: what is wrong with this for loop? for i in rane(4): forward(40) left(90)
a)
Wrong ending
b)
spelling
c)
forward is in the wrong place
d)
speling
32.
Ibra asks: What is wrong with this code # This function will make tracy draw a blue edge def draw_blue_edge(): forward(50) left(90)
a)
This isn't complete
b)
The function doesn't do anything, it doesn't have a command that tells the color.
c)
Nothing is wrong
d)
It doesn't go forward to the end of the canvas.
33.
Liam asks: What do you put inside a For Loop??????????????
a)
Amount of fours that go through a loop.
b)
To run 10 times.
c)
The amount of times you want the code to run..
d)
To tell Tracy how to get through the loop.
34.
Zaiden asks: What is a variable
a)
Use variables when you want to repeat something a fixed number of times.
b)
Holds data (like numbers, text, lists, etc.) Lets you reuse and modify that data Makes your code easier to read
c)
We use variables to alter certain commands in our function.
d)
When the variable command is used, Tracy will not leave a trail as she moves
35.
Freya asks: Is this code right or wrong? def Make_a_decagon (): for i in range (36): right (10) forward (50) speed(5) for i in range(10): Make_a_decagon ()
a)
Yes, It's right
b)
No, It's wrong
c)
Don't Know
d)
No Idea...
36.
Austin asks: What is the value stored in c after the following code fragment has executed? a = 5 b = 7 c = a + b.
a)
57
b)
12
c)
7
d)
5
37.
Kensie asks: what is 2+5=?
a)
4
b)
6
c)
7
d)
10
38.
Lexi asks: what does 'int' mean
a)
input
b)
i don't know
c)
integer
d)
indent
39.
Caleigh asks: How do you start a single line comment?
a)
With a #
b)
With a !
c)
With a "
d)
With a $
40.
Jocelyn asks: Which one of these will print 67?
a)
x=1 y=3 x=x+y x=x*x x=x*4 print(x)
b)
x=1 y=3 x=x+y x=x*x x=x*4 x=x+y print(x)
c)
x=1 x=x+y x=x*x x=x*4 x=x+y print(x)
d)
x=1 y=3 x=x+y x=x*x x=x*4 x=x+2 print(x)
41.
Amelie asks: Which option adhears to all of the variable naming rules?
a)
choose_a_color
b)
Color_choice
c)
Pick a color
d)
color
42.
Oliver asks: Will this code make a blue square?: speed(0) hide_turtle() begin_fill() color(blue) for i in range(4): forward(50) left(90) end_ fill()
a)
Yes
b)
No
c)
I don't know
d)
Maybe
43.
Harrison asks: how big is Tracys grid world
a)
100x100
b)
400x400
c)
200x200
d)
300x300
44.
Josh asks: How many parameters can we use in each function.
a)
4
b)
3
c)
1
d)
As many as you need
45.
Tea asks: what is the width of tracys home
a)
200200
b)
200400
c)
400400
d)
100200
46.
Kensie asks: what code changes the background color
a)
color()
b)
bgcolor()
c)
background()
d)
pink background()
47.
Toby asks: what corner of the canvas will this code take you to: def quarters4(): penup() setposition(-75,75) pendown() color("black") pensize(3) forward(150) backward(75) left(90) forward(75) backward(150) forward(75)
a)
top right
b)
bottom right
c)
top left
d)
bottom left
48.
Aiyla asks: Can you start your code with a capital so it moves quicker?
a)
YESSSSS
b)
No, because there is a speed code and capitals prevent your code from driving a car
c)
Badgers are amazing
d)
No, because there is a speed code and capitals stop your code from working
49.
Ryan asks: What is correct with this code? for i in range(2): circle(35) forward(20) circle(35) forward(20) circle(35) forward(20)
a)
it loops 2times
b)
It's wrong
c)
It's not right
d)
It's indented
50.
Amelie asks: Tracey starts facing right. She moves forward 80 steps, turns right 90°, then moves forward 40 steps. What has Tracey drawn so far?
a)
A straight line
b)
An L-shape
c)
A square
d)
A circle
51.
Amanda asks: What is the bug in this code?: penup() color('red') forward50 left(90)
a)
left needs to be capital
b)
Red is not a color
c)
forward50 needs brackets
d)
This is just wrong because
52.
Oliver asks: x=6, x=7, x+x=?
a)
13
b)
12
c)
14
d)
15
53.
Tea asks: how to make a diffrent square size in for loops
a)
def drawSquare(size): for i in range(4): drawSide(size) turnLeft()
b)
def drawSquare(size): for i in range(size): move()
c)
def drawSquare(size): for i in range(4): for j in range(size): move() turnLeft() turnLeft()
d)
def drawSquare(size): for i in range(4): move() turnLeft()
54.
Amanda asks: What does this make ?: color('red') forward(100) left(90) color('yellow') forward(100) backward(200) penup() left(90) forward(100) right(90) color('blue') pendown() forward(200)
a)
H
b)
A square
c)
A pentagon
d)
A
55.
Caleigh asks: How big is Tracy"s grid?
a)
200x200
b)
300x300
c)
400x440
d)
400x400
56.
Jocelyn asks: Will this code make a yellow circle? def yellow_circle(radius): color("yellow") begin_fill() circle(radius) end_fill() penup() forward(radius*2) pendown() yellow_circle()
a)
No
b)
Yes
c)
I don't know
d)
67 MUSTARD MANGOOOOO!!!!!
57.
Toby asks: which of these is not an acceptable variable name?
a)
color
b)
greencircle
c)
color_choice
d)
colorchoice
58.
Ryan asks: What is the name of the turtle?
a)
turtle
b)
Troy
c)
Tracy
d)
tane
59.
Jocelyn asks: If Tracy starts at (0, -50), facing east, where will she be at the end of this code? forward(50) backward(20) left(90)) forward(50)
a)
(30, 0)
b)
I don't know
c)
Beavers are cool
d)
It wouldn't work
60.
Lexi asks: Why didn't we just use the word 'color' instead of 'color_choice'? color_choice=input("what color should the circle be?: ") color(color_choice) circle(50)
a)
because we are choosing the colour
b)
because we need to be as specific as possible when coding
c)
because we felt like it
d)
because colour is a reserved word in python
61.
Aiyla asks: Can you make a square by writing "circle (83)"
a)
No you need to climb a tree first
b)
Of course you can sweetie
c)
No its "badger (they are the best)"
d)
No, that makes a circle
62.
Harrison asks: What does a for loop do
a)
duplicates your code
b)
makes your code use more lines
c)
edits you're code for you
d)
deletes you're code