Python: Print Function, Data Types, and Variables

Python: Print Function, Data Types, and Variables

6th Grade

20 Qs

quiz-placeholder

Similar activities

Robotics 2.6 Quiz

Robotics 2.6 Quiz

6th - 8th Grade

20 Qs

VEX EXP Part Function

VEX EXP Part Function

6th - 8th Grade

15 Qs

Module III

Module III

2nd Grade - University

15 Qs

TinkerCAD Guide Vocabulary

TinkerCAD Guide Vocabulary

6th - 8th Grade

20 Qs

Algebra quiz

Algebra quiz

5th Grade - University

16 Qs

Design and Modeling Quiz 1.1

Design and Modeling Quiz 1.1

6th Grade

15 Qs

Universal System Model_TECH

Universal System Model_TECH

6th - 8th Grade

24 Qs

 China's Tech Revolution

China's Tech Revolution

6th Grade

20 Qs

Python: Print Function, Data Types, and Variables

Python: Print Function, Data Types, and Variables

Assessment

Quiz

Engineering

6th Grade

Practice Problem

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

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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?