Search Header Logo

Variables- Conditional-Looping reviews

Authored by Ismahene Arraour

Computers

7th - 10th Grade

18 Questions

Used 13+ times

Variables- Conditional-Looping reviews
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 do we use variables for?

To store data

Print data

Produce functions

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To get the users input what function do we use?

input

input<>

input()

INPUT()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be printed to the screen?

5 + John

Syntax error - you cannot add str and int together

John

JohnJohnJohnJohnJohn

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Num = 90

Num = 20

print(Num)

90

4.5

20

1800

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the following code, what is happening?

foo = "bar"

A variable named foo is being created, with a value of "bar"

A variable named bar is being created, with a value of "foo"

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the following code, what type of variable is being created?

foo = "bar"

Integer

Float

String

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The ‘else’ statement is optional in Python

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?