wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Year 8 - Progress Check 1 (Python Turtle Shapes)

Total questions: 10

Worksheet time: 6mins

Name
Class
Date
1.

Look at this code, what shape will it make?

a)

Square

b)

Triangle

c)

Rectangle

d)

Hexagon

2.

What will this draw?

a)

A Brown rectangle with yellow outline

b)

A Brown Square with a Red outline

c)

A Red Square with a Red Outline

d)

A Yellow Rectangle with a purple outline

3.
What is syntax?
a)
Syntax is the word used to describe an error
b)
Syntax is the rules of the programming language
c)
It is used to read information
d)
It is used to output information 
4.
What will be the output from this code?
a)
Square
b)
Triangle
c)
Circle
d)
Rectangle
5.

This code should draw a solid orange square but it is not correct. How many errors are there?(do NOT take addressing the turtle as an error this time e.g. turtle.right(90))

a)
1
b)
2
c)
3
d)
4
6.
To stop the turtle drawing you need to use which of the following commands?
a)
penup:
b)
pen_up( )
c)
penup( )
d)
penup( ):
7.
When using a command to move the turtle to a specific position on the drawing canvas, the middle of the canvas is represented by which coordinates?
a)
1, 1
b)
100, 100
c)
0, 0
d)
500, 500
8.

How do you tell that Python that you are going to use the turtle library?

a)

import_turtle

b)

turtle import

c)

# from turtle import *

d)

from turtle import

9.

There is an error on this piece of code, what is wrong?

a)

Nothing

b)

No begin_fill() set

c)

No colour set in the end fill e.g. end_fill("blue")

d)

No colour set in the start fill e.g. begin_fill("blue")

10.

What will be the output from this code?

a)

A pentagon with an orange outline

b)

A solid orange star

c)

A pentagon

d)

A solid orange pentagon