Search Header Logo

Booleans Quiz

Authored by Salman Alasyi

Computers

8th Grade

Used 8+ times

Booleans Quiz
AI

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

FACTORIAL MARK

NOT

NOR

EXCLAMATION MARK

3.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Media Image

  1. 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

  1. 4. What is "AND" Operator in booleans?

&

&&

\\

||

5.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

  1. 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

  1. 6. What the meaning of this symbol "||" in booleans?

OR

NOT

AND

NO

7.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

  1. 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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?