Python: Print Function, Data Types, and Variables

Python: Print Function, Data Types, and Variables

6th Grade

20 Qs

quiz-placeholder

Similar activities

20-Question Multiple Choice Test

20-Question Multiple Choice Test

6th - 8th Grade

20 Qs

SENA BD CIA

SENA BD CIA

3rd Grade - University

20 Qs

Lesson 4 Quiz

Lesson 4 Quiz

6th Grade

18 Qs

Engineering design

Engineering design

6th Grade

18 Qs

Arduino and Cretile Kit Quiz

Arduino and Cretile Kit Quiz

6th Grade

20 Qs

Understanding Forces and Motion Concepts _ 6th

Understanding Forces and Motion Concepts _ 6th

6th Grade

20 Qs

Idioms Unveiled: Understanding Everyday Expressions

Idioms Unveiled: Understanding Everyday Expressions

4th Grade - University

15 Qs

STEM6: Unit 1 Vocabulary Practice

STEM6: Unit 1 Vocabulary Practice

6th - 8th Grade

20 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?