2024-25 - Y7 - Python Turtle Programming - Quiz 5

2024-25 - Y7 - Python Turtle Programming - Quiz 5

6th Grade

10 Qs

quiz-placeholder

Similar activities

Input Devices

Input Devices

1st - 10th Grade

10 Qs

MS Logo

MS Logo

4th - 9th Grade

10 Qs

Small Basic-Turtle Graphics

Small Basic-Turtle Graphics

6th - 9th Grade

10 Qs

Python Turtle

Python Turtle

KG - Professional Development

11 Qs

Makecode Intro.

Makecode Intro.

5th - 7th Grade

15 Qs

App Lab

App Lab

6th - 9th Grade

15 Qs

App Creator 1.4/1.5

App Creator 1.4/1.5

6th - 9th Grade

12 Qs

Edublocks L10  Advance Turtle

Edublocks L10 Advance Turtle

6th - 8th Grade

10 Qs

2024-25 - Y7 - Python Turtle Programming - Quiz 5

2024-25 - Y7 - Python Turtle Programming - Quiz 5

Assessment

Quiz

Computers

6th Grade

Hard

Created by

Courtney Owen

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a subprogram in Python?

A main part of the code
A block of code that performs a specific task
A comment in the code
A variable in the code

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to define a subprogram in Python?

def
func
function
sub

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Look at the code shown, what is the name of the sub program?
Turtle()
draw_square()
range()
forward()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Look at the code shown, what will be the output?
A square
A triangle
A rectangle
Nothing

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Look at the code shown, why will the code produce nothing when executed?
The pen object is not initialised correctly
The shape will be too big to draw

The draw_square() subprogram is defined but never called

The turtle module is imported incorrectly

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Look at the code shown, what are 'sides' and 'length' called in the draw_shape() sub program declaration?
Properties
Parameters
Prototypes
Placeholders

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Look at the code shown, what is the purpose of using parameters 'sides' and 'length' in the draw_shape() subprogram?

To pass values to the subprogram to control the size and shape of the drawn figure

To specify the color of the turtle's pen
To define the initial position of the turtle
To initialise the pen object

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?