Search Header Logo

Python Programming, Final Review Part 2

Authored by Heidi Holland

Computers

9th - 12th Grade

50 Questions

Python Programming, Final Review Part 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?

name = "Dave"

print (name)

Dave

name

"Dave"

(name)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable must have been assigned (given) a value before that value is referenced (used).

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The correct way to convert user input is:

birth_year = number(input("When were you born? "))

birth_year = int(input("When were you born? "))

birth_year = (input(int))

birth_year = int(input)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To display the following on screen Hello World! the following command should be used:

print(Hello World!)

print("Hello World" + !)

print("Hello World!")

print"(Hello World!)"

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You assign a value to a variable with which symbol

@

==

=

*

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Program statements are executed in sequence, one after the other...

True

False

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

How many times will this loop run?

10
9
4
5

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?