Boolean logic
Quiz
•
Computers
•
6th - 8th Grade
•
Practice Problem
•
Easy
ELISABETTA IANNONE
Used 3+ times
FREE Resource
Enhance your content in a minute
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a Boolean?
A number
A value that is either True or False
A type of loop
A kind of variable
Answer explanation
Booleans only have two possible values: True or False.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is a Boolean expression?
5 + 3 = 8
print("Hello")
7 > 2
x = 10
Answer explanation
This is a comparison that evaluates to True or False.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In programming, what does Boolean logic help us do?
Make decisions based on conditions
Draw pictures
Store text
Play sounds
Answer explanation
Boolean logic helps programs choose what to do depending on conditions.
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What does the AND operator do?
Returns the opposite of a condition
Returns True if any condition is True
Returns False always
Returns True if all conditions are True
Answer explanation
AND only returns True if every condition it checks is True.
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What does the OR operator do?
Returns True if all conditions are True
Returns True if at least one condition is True
Returns False if one condition is True
Returns the opposite of a condition
Answer explanation
OR returns True if any one of the conditions is True.
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What does the NOT operator do?
Checks two conditions
Combines two conditions
Reverses a condition (True becomes False, False becomes True)
Adds numbers together
Answer explanation
NOT flips the value of a condition.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the statement “score >= 50” is True, what does it mean?
The score is less than 50
The score is exactly 50
The score is negative
The score is 50 or more
Answer explanation
The symbol >= means “greater than or equal to.”
Access all questions and much more by creating a free account
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
11 questions
Ethical Issues of I.T.
Quiz
•
7th - 8th Grade
10 questions
Email Quiz - PWHS
Quiz
•
1st - 12th Grade
10 questions
G6_T2_Robotics
Quiz
•
6th Grade
10 questions
Python. Разветвляющиеся алгоритмы 7кл
Quiz
•
7th Grade
10 questions
Cutting - Edge Technology
Quiz
•
7th - 10th Grade
12 questions
Robot C Quiz
Quiz
•
7th Grade
11 questions
المتغيرات والتكرار
Quiz
•
7th - 10th Grade
11 questions
Website constructs
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
