Python: Print Function, Data Types, and Variables

Quiz
•
Engineering
•
6th Grade
•
Medium
+5
Standards-aligned
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)
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
Similar Resources on Wayground
20 questions
Introduction to CTSOs

Quiz
•
6th - 8th Grade
16 questions
ICT Programming Lesson 3

Quiz
•
6th Grade
17 questions
Engineering Design Process and STEM Vocabulary Quiz

Quiz
•
6th - 8th Grade
20 questions
Manufacturing Engineering Review

Quiz
•
6th - 8th Grade
15 questions
Design and Modeling Glossary 1.5

Quiz
•
6th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Engineering
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Video Games

Quiz
•
6th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Fast Food Slogans

Quiz
•
6th - 8th Grade
4 questions
End-of-month reflection

Quiz
•
6th - 8th Grade
20 questions
Adding and Subtracting Integers

Quiz
•
6th Grade