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
24 questions
Microcontroller and Servo Motor Quiz

Quiz
•
6th - 8th Grade
18 questions
Lesson 4 Quiz

Quiz
•
6th Grade
20 questions
Cuestionario sobre Herramientas de Calidad

Quiz
•
3rd Grade - University
19 questions
Universal Systems Model Vocab Practice

Quiz
•
6th Grade
20 questions
Understanding Forces and Motion Concepts _ 6th

Quiz
•
6th Grade
18 questions
Engineering design

Quiz
•
6th Grade
20 questions
Lesson 1 Review

Quiz
•
6th Grade
15 questions
Exploring Elastic Energy Experiments

Quiz
•
6th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Engineering
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

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

Interactive video
•
6th - 10th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
30 questions
Teacher Facts

Quiz
•
6th Grade
24 questions
Flinn Lab Safety Quiz

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

Quiz
•
6th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade