Python Variables
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
Hard
Joseph Andrada Advincula
Used 29+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of data is the following?: X = "295.47"
String
Float
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
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Variables have three things:
Integer, float, string
Numeric, string, Boolean
function, value, name
name, type, value
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When you want to print something to the screen you should use
a print statement
A monitor
The computer Display
The keyboard to type it
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print("Python " * 2); will print out what
Python Python
Python 2 Python 2
Python*2 Python*2
PythonPython
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)
studentNum =80
print("studentNum")
grade = 98.7
letterGrade = "A+"
print(str(grade) + letterGrade
print("Hello World!")
Create a free account and access millions of resources
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
9 questions
Introduction To Python
Quiz
•
6th - 8th Grade
15 questions
Ôn tập kỳ 2 tin 6
Quiz
•
1st - 12th Grade
10 questions
Python
Quiz
•
3rd - 10th Grade
11 questions
Fortnite
Quiz
•
5th Grade - Professio...
15 questions
Quiz informatyczny
Quiz
•
1st - 8th Grade
10 questions
Word տեքստային խմբագրիչ
Quiz
•
8th - 9th Grade
13 questions
windows
Quiz
•
5th - 9th Grade
10 questions
CLASS 8 CODING
Quiz
•
8th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
