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
Similar Resources on Wayground
10 questions
KEIRO PROGRAMMING
Quiz
•
4th - 12th Grade
10 questions
Programming Constructs
Quiz
•
5th - 11th Grade
10 questions
Microsoft word terms
Quiz
•
7th - 8th Grade
11 questions
HEALTH AND SAFETY 9
Quiz
•
7th - 9th Grade
12 questions
Il Computer
Quiz
•
8th Grade
10 questions
ICT Grade 8
Quiz
•
8th Grade
10 questions
Explorando Tinkercad en Secundaria
Quiz
•
7th Grade - University
10 questions
Business Management
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
