Booleans Quiz

Booleans Quiz

8th Grade

10 Qs

quiz-placeholder

Similar activities

Operator dan Pemalar

Operator dan Pemalar

8th - 9th Grade

10 Qs

Kod Arahan Tingkatan 1

Kod Arahan Tingkatan 1

8th Grade

15 Qs

Grade 8 End of Unit Revision

Grade 8 End of Unit Revision

8th Grade - University

15 Qs

Year 5 - 1.2 Using operators

Year 5 - 1.2 Using operators

5th Grade - University

12 Qs

Advanced Functions

Advanced Functions

6th - 8th Grade

14 Qs

Inputs and Booleans

Inputs and Booleans

3rd - 10th Grade

10 Qs

Karel Programming Drill

Karel Programming Drill

8th Grade

7 Qs

asas sains komputer, bab 3, tingkatan 1

asas sains komputer, bab 3, tingkatan 1

1st - 8th Grade

10 Qs

Booleans Quiz

Booleans Quiz

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Salman Alasyi

Used 8+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?