Python

Python

9th Grade

40 Qs

quiz-placeholder

Similar activities

9th Grade - IT Programming - 2nd Cycle Exam

9th Grade - IT Programming - 2nd Cycle Exam

9th Grade - University

40 Qs

python assessment

python assessment

8th - 9th Grade

35 Qs

Y10 - Python Quiz 1

Y10 - Python Quiz 1

9th Grade

37 Qs

Python Assessment 1

Python Assessment 1

7th - 9th Grade

40 Qs

Edexcel Topic A: ProblemSolving

Edexcel Topic A: ProblemSolving

9th - 12th Grade

40 Qs

Project STEM 2.1-2.2

Project STEM 2.1-2.2

9th - 12th Grade

40 Qs

Python Quiz

Python Quiz

8th - 12th Grade

40 Qs

Y9 Summary

Y9 Summary

9th Grade

45 Qs

Python

Python

Assessment

Quiz

Computers

9th Grade

Hard

CCSS
L.2.2C

Standards-aligned

Created by

Adrian Ward

Used 53+ times

FREE Resource

40 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

45 sec • 1 pt

Code executed based on a condition being true

Sequence

Condition

Iteration

Variable

3.

MULTIPLE CHOICE QUESTION

30 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

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Python named after

The snake

Television show called Monty Python

Surname of the creator

Combination of names of the creators

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

Tags

CCSS.L.2.2C

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Used to create a function

const

int

def

while

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Python identifies blocks of code by
BEGIN and END keywords
{ and }
aligning up the starts of lines (indentation)
guessing

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?