Year 7 Python Game Reflection Quiz

Year 7 Python Game Reflection Quiz

7th - 12th Grade

26 Qs

quiz-placeholder

Similar activities

Parts of the violin/viola/cello/bass and bow

Parts of the violin/viola/cello/bass and bow

KG - 8th Grade

24 Qs

Romeo & Juliet Balcony Scene QUIZ

Romeo & Juliet Balcony Scene QUIZ

7th - 8th Grade

25 Qs

🎵 Popular Music 🎵

🎵 Popular Music 🎵

KG - University

25 Qs

Theatre Hierarchy

Theatre Hierarchy

6th - 8th Grade

25 Qs

Rhythm and Time Signatures

Rhythm and Time Signatures

7th Grade

21 Qs

La Commedia dell'arte Quiz

La Commedia dell'arte Quiz

12th Grade

21 Qs

Christmas Movie Fun for Kids

Christmas Movie Fun for Kids

4th Grade - University

21 Qs

Piano Basics

Piano Basics

6th - 8th Grade

23 Qs

Year 7 Python Game Reflection Quiz

Year 7 Python Game Reflection Quiz

Assessment

Quiz

Performing Arts

7th - 12th Grade

Practice Problem

Medium

Created by

David Gill

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in Python used for?

Drawing shapes

Storing information

Printing to the screen

Making your game faster

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What does this loop do? for i in range(5): print(i)

Loops forever

Prints numbers 1–5

Prints numbers 0–4

Creates a new variable

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of these is a conditional statement?

while True:

for i in range(10):

if score > 100:

print(score)

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What happens if you forget a colon (:) in a Python if statement?

The code will run

You get a syntax error

It prints nothing

The if statement is skipped

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which function would you use to get a random number?

random()

choice.random()

random.randint()

number.random()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these could cause your game to crash?

Too many spaces

A syntax error

Using variables

Having comments

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What’s the best way to fix an error?

Ignore it

Ask someone else to code it

Read the error message and trace the problem

Restart your computer

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?