What type of data is the following?: X = "195.67"
Python Variables

Quiz
•
Computers
•
7th - 12th Grade
•
Hard

Janelle Yearwood
Used 87+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Float
String
Boolean
integer
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of variable is the following?: Y = False
Float
String
Integer
Boolean
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following Python program print?
X = "Hello World!"
Y = "I can code "
Z = " In Python"
print( X + Y + Z)
Hello World! I can code In Python
Hello World!I can code In Python
Hello World! I can codeIn Python
Hello World!I can code In Python
Answer explanation
There is a space after the word "code" and before the word "In".
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Variables have three things:
Numeric, string, Boolean
Integer, float, string
name, type, value
function, value, name
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When you want to print something to the screen you should use
The keyboard to type it
The computer Display
A monitor
a print statement
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print("Python " * 3); will print out what
Python 3 Python 3 Python 3
Python Python Python
PythonPythonPython
Python*3 Python*3 Python*3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one to the following Python programs will not run?
num = 4
greeting = "Hello"
print(num + greeting)
grade = 98.7
letterGrade = "A+"
print(str(grade) + letterGrade
studentNum =80
print("studentNum")
print("Hello World!")
Answer explanation
You cannot concatenate a string and an integer. the integer must be converted to a string.
Create a free account and access millions of resources
Similar Resources on Quizizz
12 questions
Year 7 Python

Quiz
•
7th Grade
10 questions
Python Statements

Quiz
•
5th - 7th Grade
15 questions
Python basics

Quiz
•
6th - 8th Grade
15 questions
Python Programming

Quiz
•
5th Grade - University
10 questions
Python Variables

Quiz
•
8th Grade
14 questions
Python Basics - Year 8

Quiz
•
7th - 9th Grade
12 questions
Python Print Statement

Quiz
•
6th - 10th Grade
13 questions
Program Development - Python: Errors

Quiz
•
8th - 10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade