Search Header Logo

Python: Print Function, Data Types, and Variables

Authored by OMAR PINEDA

Engineering

6th Grade

CCSS covered

Used 11+ times

Python: Print Function, Data Types, and Variables
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to declare a string variable in Python?

string name = "Hello"

str name = "Hello"

name = "Hello"

name = Hello

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an integer in Python?

3.14

"42"

42

True

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

How do you correctly print the text "Hello, World!" in Python?

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a floating point number?

7

7.0

"7.0"

True

Tags

CCSS.7.NS.A.3

5.

DROPDOWN QUESTION

1 min • 1 pt

What is the boolean value of the expression 5 > 3 in Python?

(a)  

True
False
5
3

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correctly named variable in Python?

1st_variable

firstVariable

first-variable

first variable

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What will be the output of the following code: print(3 + 4.5)?

Tags

CCSS.4.OA.A.3

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?