Python Data Types and Arithmetic Quiz
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
Medium
Kevin Smith
Used 195+ times
FREE Resource
Enhance your content in a minute
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default data type in Python?
Real
String
Integer
Number
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the Python code needed to display a word on the screen?
print"hello"
"hello"
print("hello")
print="hello"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the Python code needed to ask a user for input?
input("what is your name?")
input="what is your name?"
(input)=what is your name?
input=what is your name?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the correct way to store an input as a variable in Python?
answer("what is your name?")
input = "answer"(what is your name?)
answer = input("what is your name?")
input=(what is your name?)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which character represents a comment in Python code?
*
#
&
$
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Choose the TWO correct data types from the list below
Integer
Real
Fake
Short
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why do we need to convert data types in Python?
Because Python doesn't know about data types
Because Python stores data types as String by default
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
10 questions
Year 8 - Progress Check 1 (Python Turtle Shapes)
Quiz
•
8th - 9th Grade
10 questions
Social media influencers
Quiz
•
6th - 12th Grade
12 questions
Revision quiz on Access
Quiz
•
8th Grade
10 questions
Computer Education Grade 3 Volume 4 Quiz
Quiz
•
3rd Grade - University
10 questions
C# lesson10
Quiz
•
1st - 10th Grade
10 questions
แบบทดสอบบทที่ 9
Quiz
•
8th Grade
10 questions
All Fun and Games - E-saftey and gaming
Quiz
•
6th - 8th Grade
10 questions
Evaluación bimestral 3 periodo Octavo
Quiz
•
8th 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
