
Quiz 2

Quiz
•
Computers
•
5th Grade
•
Hard
Ethan Wu
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of a string literal?
42
3.14
True
"Hello, world!"
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a boolean literal in Python?
A type of variable that can only store true or false values
A variable that can store any number
A variable that can store text
A variable that can store both text and numbers
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of an integer literal?
"Hello"
2.718
False
42
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of a float literal?
7
True
3.14159
"Python"
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of a boolean literal?
"42"
2.718
False
None
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements correctly declares a variable with the value of 42?
variable = 42
variable == 42
42 = variable
42 == variable
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name in Python?
123count
_count123
count$123
count 123
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Javascript-react-redux

Quiz
•
1st - 5th Grade
15 questions
Roblox. Язык программирования Lua 3

Quiz
•
1st - 12th Grade
10 questions
Grade 5 ICT Scratch and Software and its Types

Quiz
•
5th Grade
15 questions
Scope of Variables in Python

Quiz
•
1st Grade - Professio...
15 questions
Scratch basics

Quiz
•
3rd - 6th Grade
11 questions
Milestone SD5-6

Quiz
•
5th - 6th Grade
10 questions
QUIZIZZ DE PROGRAMACION

Quiz
•
1st - 5th Grade
10 questions
CodeTigers Python 101

Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
10 questions
Video Games

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

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade