Search Header Logo

Python magic lesson 3

Authored by Bhaskar Saxena

Computers

8th Grade

6 Questions

Used 18+ times

Python magic lesson 3
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 Python function is used when you want the user to type something in?

print()

int()

input()

idle()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does casting mean?

Adding two variables together

Changing the data type of a variable

Printing out a user input

Surrounding a gift with pretty paper

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following program print out?

74

11

number1 + number2

Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What data type is number1

String

Integer

Both of the above

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following is not the name of a variable?

name

number1

32

number2

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is line number 5 doing?

Adding two numbers together

Turning number2 from a string into an integer

Turning number2 from a integer into an string

Explaining what the program does

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?

Discover more resources for Computers