Python

Python

9th Grade

40 Qs

quiz-placeholder

Similar activities

PLTW CSIM Lesson 1 Assessment

PLTW CSIM Lesson 1 Assessment

5th - 9th Grade

35 Qs

Python Lists and Dictionaries

Python Lists and Dictionaries

9th - 12th Grade

40 Qs

Sem 1 Final Review Computer Programming

Sem 1 Final Review Computer Programming

9th - 12th Grade

35 Qs

Python

Python

KG - Professional Development

35 Qs

Python Exam Practice

Python Exam Practice

9th - 12th Grade

43 Qs

Year nine revision for summer assessment

Year nine revision for summer assessment

9th Grade

36 Qs

Python cơ bản 1

Python cơ bản 1

9th - 12th Grade

41 Qs

AP CSP | Conditionals Review

AP CSP | Conditionals Review

9th - 12th Grade

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