
Booleans Quiz
Authored by Salman Alasyi
Computers
8th Grade
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
1. How many values can a Boolean have?
TRUE AND FALSE
TRUE OR FALSE
NEITHER TRUE NOR FALSE
TRUE
2.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
2. What is the meaning of this symbol "!" in Booleans
2. What is the meaning of this symbol "!" in Booleans
FACTORIAL MARK
NOT
NOR
EXCLAMATION MARK
3.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
3. How we write it with Booleans Operator?
3. How we write it with Booleans Operator?
CoinAHeads && !CoinBHeads || !CoinAHeads && CoinBHEads
CoinAHeads || !CoinBHeads && !CoinAHeads || CoinBHEads
CoinAHeads && !CoinBHeads && !CoinAHeads ! CoinBHEads
CoinAHeads && CoinAHeads || !CoinAHeads && CoinBHEads
4.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
4. What is "AND" Operator in booleans?
4. What is "AND" Operator in booleans?
&
&&
\\
||
5.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
5. What the answer of this question?
5. What the answer of this question?
Temp>0 && Temp<18
0-18
1-17
18-30
0-17
6.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
6. What the meaning of this symbol "||" in booleans?
6. What the meaning of this symbol "||" in booleans?
OR
NOT
AND
NO
7.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
7. CASE: 2 sided coin (HEAD and TAIL)
7. CASE: 2 sided coin (HEAD and TAIL)
What is the similar result of this:
!Head ?
TAIL
HEAD
COIN
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?