Search Header Logo

Python

Authored by Manzoor Ahmd

Computers

9th Grade

Used 5+ times

Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do we use variables for?

To store data

Print data

Produce functions

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate

5 * 3 ** 2 + 3

33

48

Error

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What would be printed to the screen?


x, y, z = "Orange", "Banana", "Cherry"

print(z)

Orange

Banana

Cherry

Orange, Banana, Cherry

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be printed to the screen?


x = 5

y = "John"

print (x + y)

5 + John

Syntax error - you cannot add str and int together

John

JohnJohnJohnJohnJohn

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In the following code, what value will be assigned to the variable "cat"?


mouse, cat, dog = "small", "medium", "large"

small, medium, large

small

medium

large

Nothing, that operation will throw an error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In python the ' boolean' data type can be defined as...?

holds alphanumerical data

holds whole numbers

holds a number with a decimal point

holds either true or false

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

print(9>2 and 6<=6)

TRUE

FALSE

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?