Python Data Types and Arithmetic Quiz

Quiz
•
Computers
•
8th Grade
•
Medium
Kevin Smith
Used 195+ times
FREE Resource
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
str vs int

Quiz
•
8th Grade
10 questions
Introduction to Python Turtle

Quiz
•
7th - 8th Grade
9 questions
Introduction To Python

Quiz
•
6th - 8th Grade
10 questions
Python Basics

Quiz
•
8th - 10th Grade
12 questions
Python Programming Basics

Quiz
•
7th - 11th Grade
10 questions
Intro to Python

Quiz
•
8th Grade
10 questions
Introduction to Python Quiz

Quiz
•
8th Grade - University
11 questions
Quiz#2

Quiz
•
6th - 8th 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 Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Hallway & Bathroom Expectations

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

Interactive video
•
6th - 10th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade
15 questions
Wren Pride and School Procedures Worksheet

Quiz
•
8th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
10 questions
Converting Repeating Decimals to Fractions

Quiz
•
8th Grade