Search Header Logo

Intro to Python

Authored by Tezel Asena

Mathematics, Computers

KG - University

CCSS covered

Used 149+ times

Intro to Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a variable?

A math operator

An element, feature, or factor that is liable to vary or change.

An if statement

A computer system that can change

Tags

CCSS.6.EE.A.2B

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does print("hello) display?

hello

gives you an error

"hello"

"hello

Tags

CCSS.RI.3.10

CCSS.RI.4.10

CCSS.RI.5.10

CCSS.RI.6.4

CCSS.RI.9-10.4

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

True is a boolean

True

False

Neither

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does \n do?

Adds a quotation

Creates a number

Adds a new line

Adds a fullstop

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the following code display?


a = 1

b = 2

print(a + a)

2

3

4

22

Tags

CCSS.1.OA.C.6

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is casting?

When you convert a variable value from one type to another.

When you assign a string

When you create a boolean

When you display an integer

Tags

CCSS.6.EE.B.6

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What symbol would you use to add a comment to your code?

//

#

-

]]

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?