
Key Python Data Types
Authored by Sean Farrelly
Computers
9th Grade
Used 96+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Identify two values that can be stored as the Boolean data type
True
Apples
Oranges
False
Answer explanation
In python Boolean is a defined data type if you assign the value to a variable as shown below
green = True
Python will as assign the data type
Boolean to the variable green
The only possible other option you could then assign to the variable green would be False
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default data type in Python?
Real
String
Integer
Number
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which character represents a comment in Python code?
*
#
&
$
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A variable is a named value that can be changed in the program.
False
True
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a String?
A data type that contains whole numbers. eg: 3, 45, 124
Numbers with decimal point. eg: 0.5, 2.45, 56.04
Group of characters between quotation marks. eg: "dog"
Data type that can only be True or False.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an Integer?
A data type that contains whole numbers. eg: 3, 45, 124
Numbers with decimal point. eg: 0.5, 2.45, 56.04
Group of characters between quotation marks. eg: "dog"
Data type that can only be True or False.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which value is an Integer?
64
"cat"
True
0.5
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Arduino
Quiz
•
7th - 9th Grade
20 questions
Ôn tập học kỳ I
Quiz
•
9th - 12th Grade
15 questions
MS WORD - CLASS IX
Quiz
•
9th Grade
15 questions
History of Computers
Quiz
•
6th - 12th Grade
20 questions
Python Recap
Quiz
•
7th Grade - University
20 questions
CPA Revision MCQ1
Quiz
•
8th - 9th Grade
15 questions
Networking Quiz
Quiz
•
8th - 9th Grade
14 questions
Kiểu dữ liệu xâu kí tự - xử lí xâu kí tự
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade