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

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

6th Grade

10 Qs

quiz-placeholder

Similar activities

Maze game

Maze game

5th - 7th Grade

11 Qs

Spacing & Other Questions

Spacing & Other Questions

6th - 7th Grade

10 Qs

7.02 going online

7.02 going online

4th - 9th Grade

10 Qs

hardware and software(g3)

hardware and software(g3)

2nd - 10th Grade

10 Qs

Microbit Features Activity

Microbit Features Activity

6th - 8th Grade

9 Qs

Internet Safety Quiz

Internet Safety Quiz

5th - 6th Grade

10 Qs

ZOOM QUIZ

ZOOM QUIZ

1st - 12th Grade

10 Qs

CPF 1 - 3

CPF 1 - 3

6th - 8th Grade

15 Qs

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

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

Assessment

Quiz

Computers

6th Grade

Practice Problem

Hard

Created by

Courtney Owen

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?