Search Header Logo

Python1

Authored by Chris McDonald

Other

9th - 12th Grade

Used 1+ times

Python1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

27 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What type is the following variable?
x = "Hi there"

float

integer

boolean

string

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What type is the following variable?
x = 4.02

float

integer

boolean

string

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following Python programs will not run?

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is NOT a program that will produce the following output?

hellohellohello

Media Image
Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What does the following Python program print?

9

12

15

21

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following operations will output a value of 5?


11 % 6


11/2

float(11)/2


2 + 3 * 2

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will the following code segment evaluate to?

29

56.0

29.0

56

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?