Python Variables

Quiz
•
Computers
•
8th Grade
•
Hard
Joseph Andrada Advincula
Used 28+ times
FREE Resource
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
Similar Resources on Wayground
11 questions
Python Basics Quiz

Quiz
•
8th Grade
15 questions
Python Operator by Resha

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

Quiz
•
7th - 9th Grade
11 questions
Python Intro 1

Quiz
•
7th - 12th Grade
15 questions
Python : Codeathon Competition

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

Quiz
•
7th Grade - University
10 questions
Introduction to Python Quiz

Quiz
•
8th Grade - University
15 questions
python

Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade