Python year 9

Python year 9

8th - 11th Grade

20 Qs

quiz-placeholder

Similar activities

Unit 8 Practice Test For CSP

Unit 8 Practice Test For CSP

9th Grade

16 Qs

Aplikasi Perkantoran

Aplikasi Perkantoran

10th Grade

15 Qs

TO PAS AIJ

TO PAS AIJ

11th Grade

20 Qs

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

DPS Jorhat - Robotics Skill Assessment

DPS Jorhat - Robotics Skill Assessment

6th - 8th Grade

20 Qs

LA1.C1: Introduction to Small Basic

LA1.C1: Introduction to Small Basic

9th Grade

15 Qs

12AIT - All About W3C <3

12AIT - All About W3C <3

10th Grade - University

18 Qs

Google Docs Basics Quiz

Google Docs Basics Quiz

9th Grade

20 Qs

Python year 9

Python year 9

Assessment

Quiz

Computers

8th - 11th Grade

Practice Problem

Hard

Created by

Louise Lockwood

Used 189+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?