Python: Print Function, Data Types, and Variables

Python: Print Function, Data Types, and Variables

6th Grade

20 Qs

quiz-placeholder

Similar activities

Bill Nye Inventions

Bill Nye Inventions

6th Grade - University

15 Qs

Engineering/STEM Final

Engineering/STEM Final

6th - 8th Grade

20 Qs

Understanding Image File Formats_15

Understanding Image File Formats_15

6th Grade

15 Qs

Middle School Bell Work - Measurement Questions

Middle School Bell Work - Measurement Questions

6th - 8th Grade

15 Qs

Measuring 3D Objects with Calipers

Measuring 3D Objects with Calipers

6th Grade

15 Qs

6th|Engineering Design Process Quiz

6th|Engineering Design Process Quiz

6th Grade

15 Qs

Hydraulic Lifts Quiz

Hydraulic Lifts Quiz

6th Grade

20 Qs

Automotive Workshop G3 Quiz

Automotive Workshop G3 Quiz

1st Grade - University

16 Qs

Python: Print Function, Data Types, and Variables

Python: Print Function, Data Types, and Variables

Assessment

Quiz

Engineering

6th Grade

Medium

CCSS
7.NS.A.3, 4.OA.A.3, 5.NBT.B.7

+5

Standards-aligned

Created by

OMAR PINEDA

Used 11+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?