Python

Python

9th Grade

40 Qs

quiz-placeholder

Similar activities

Python Test 2

Python Test 2

7th - 12th Grade

44 Qs

Python Unit 01 - Introduction to Python

Python Unit 01 - Introduction to Python

7th - 9th Grade

40 Qs

Python Test

Python Test

8th - 12th Grade

40 Qs

PLTW CSP Fall Exam 2024

PLTW CSP Fall Exam 2024

9th - 12th Grade

38 Qs

Starting Out with Python Ch 5 Functions

Starting Out with Python Ch 5 Functions

7th - 12th Grade

35 Qs

Python Basics and Syntax

Python Basics and Syntax

9th - 11th Grade

35 Qs

Computer since

Computer since

9th Grade

42 Qs

Python Basis (S3)

Python Basis (S3)

9th Grade

41 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?