Python year 9

Python year 9

8th - 11th Grade

20 Qs

quiz-placeholder

Similar activities

Python Beginner

Python Beginner

9th - 10th Grade

16 Qs

Python while loops

Python while loops

8th - 9th Grade

20 Qs

Python

Python

10th Grade

23 Qs

Python First Steps Homework Quiz

Python First Steps Homework Quiz

7th - 9th Grade

20 Qs

Python basics yr7

Python basics yr7

6th - 9th Grade

20 Qs

Variables, Inputs and Concatenation

Variables, Inputs and Concatenation

9th Grade

16 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

Python -Iteration (loops)

Python -Iteration (loops)

7th - 12th Grade

20 Qs

Python year 9

Python year 9

Assessment

Quiz

Computers

8th - 11th Grade

Hard

Created by

Louise Lockwood

Used 178+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To repeat a fixed number of times use a
while loop
for loop
if loop
indentation

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The character that must be at the end of the line for if, while, for etc.
:
;
.
,

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would be the answer here?

x = "hello"

print(len(x))

2

3

4

5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the coder's word for converting one data type into another?

casting

throwing

catching

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a variable?


name=input("Welcome to the quiz, what is your name?")

print("Hello",name)

input

print

name

Hello

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the syntax error in this code?

Incorrect use of variable

Missing : characters at the end of the if and else statements

The code is not indented correctly

Missing brackets

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the syntax error in this code?

Incorrect use of variable

The code is not indented correctly

Missing : character at the end of the else statement

Missing brackets

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?