Computing Python quiz

Computing Python quiz

7th Grade

20 Qs

quiz-placeholder

Similar activities

Python_2R

Python_2R

KG - Professional Development

20 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

python_1

python_1

5th - 12th Grade

22 Qs

Grade 7 Python

Grade 7 Python

7th Grade

20 Qs

Python Year 9 Final Recall Activity

Python Year 9 Final Recall Activity

7th - 9th Grade

15 Qs

Y8 Python Revision

Y8 Python Revision

6th - 7th Grade

20 Qs

Python : Codeathon Competition

Python : Codeathon Competition

5th - 8th Grade

15 Qs

Python Basics

Python Basics

6th - 7th Grade

15 Qs

Computing Python quiz

Computing Python quiz

Assessment

Quiz

Computers

7th Grade

Hard

Created by

Staff-ISK Molloy

Used 19+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will the output be from the following code?
print("Hello world!\nHello world!")
Hello world! Hello world!
Hello world!
Hello world!
SyntaxError
Hello world!

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will the output be from the following code?
print("Hello" + str(2) + "world!")
Hello world! Hello world!
Hello2world!
Hello Hello world! world!
SyntaxError

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is syntax?
Syntax is the word used to describe an error
Syntax is the rules of the programming language
It is used to read information
It is used to output information 

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Code executed based on a condition being true
Sequence
Selection
Iteration
Variable

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Code repeated / looped until a condition has been met or a set number of times.
Sequence
Selection
Iteration
Variable

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the following code do? myAge = int (myAge)

Converts the var (variable) myAge to a string

Converts the var (variable) myAge to a integer

Converts the var (variable) myAge from a integer to a string

Converts the var (variable) myAge to if statement

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is python named after
The snake
Television show called Monty Python

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?