Search Header Logo

CSP Python Review

Authored by Terry Nguyen

Computers

9th - 12th Grade

CCSS covered

Used 56+ times

CSP Python Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The second part of if, that is executed when the condition is False

if
else
for
input

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Data type that can only be True or False

int
string
bool
float

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function casts a number to a string?

str()
int()
parseInt()
convert

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python identifies blocks of code by

BEGIN and END keywords
{ and }
aligning up the starts of lines (indentation)
guessing

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

1 min • 1 pt

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

SyntaxError
Hello world!
"Hello world!"
print(Hello world!)

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will the output be from the following code?
print(3+4)

3+4
7
SyntaxError
print(3+4)

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?