wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Python Turtle - MCA Year 7

Total questions: 14

Worksheet time: 9mins

Name
Class
Date
1.
To make the turtle move forward, which command is used?
a)
turtle.penup()
b)
turtle.forward()
c)
turtle.left()
d)
turtle.backward()
2.
When creating a rectangle with the turtle, what angle is needed when turning?
a)
120
b)
180
c)
45
d)
90
3.
How do you write a program in Python?
a)
Using Word
b)
Using IDLE
c)
Using Powerpoint
d)
Using Excel
4.
Look at this code, what shape will it make?
a)
Square
b)
Triangle
c)
Rectangle
d)
Hexagon 
5.
What does turn(90) do?
a)
Turns right 90 degrees
b)
Turns left 90 degrees
c)
Moves forward 90
d)
Does nothing as 'turn' is not a turtle instruction
6.

What shape will this create?

a)

Triangle

b)

Hexagon

c)

Rectangle

d)

Will look like the turtle is climbing stairs

7.

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

8.
What is the name of the programming language we are learning?
a)
Scratch
b)
Python
c)
Pie thin
d)
Scribble
9.
When you have an error in your code what is the term to summarise finding and fixing that error?
a)
Error checking
b)
Debugging
c)
Syntax finder
d)
Error finder
10.
Python is an example of a....
a)
Text-based programming language
b)
Object orientated programming language
c)
language written in java script
d)
Visual-based programming language
11.
What is the name of the environment in Python that write your programs and then test them out?
a)
Shell
b)
Window
c)
IDLE
d)
CLI
12.
What button do you press to compile (run) your program so that it runs in the shell?
a)
F3
b)
F5
c)
F7
d)
F9
13.
What will the output be from the following code?
print("Hello world!")
a)
SyntaxError
b)
Hello world!
c)
"Hello world!"
d)
print(Hello world!)
14.
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