Search Header Logo

2 Python Variables

Authored by Andrew Boden

Fun

7th - 9th Grade

Used 624+ times

2 Python Variables
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will this print to the screen?


print(2*4)

2*4

8

4

error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which is the python logo?

Top left

Bottom left

Top right

Bottom right

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do we use variables for?

To store data

Print data

Produce functions

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To get the users input what function do we use?

input

input<>

input()

INPUT()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does int() represent?

internet

integer

intel

input

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose what / performs.

multiply

add

subtract

divide

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Why would I get a syntax error?

Line 1 doesn't make sense

Line 2 needs to be indented

No need for quotation marks on line 2

No such thing as an if statement

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?