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
15 questions
Quiz Robotica 1

Quiz
•
6th - 8th Grade
22 questions
Introduction to CTSOs

Quiz
•
6th - 8th Grade
17 questions
Greek & Latin Roots Quiz 19

Quiz
•
5th Grade - University
15 questions
Real World Application Measurements

Quiz
•
6th - 8th Grade
17 questions
Engineering Exploratory Pretest

Quiz
•
6th Grade
20 questions
Understanding Participles for Grade 6

Quiz
•
6th Grade
15 questions
Identify Electrical Circuit Components

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

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Engineering
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Figurative Language Review

Quiz
•
6th Grade
20 questions
Run-On Sentences and Sentence Fragments

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

Quiz
•
6th Grade
21 questions
Convert Fractions, Decimals, and Percents

Quiz
•
6th Grade