Boolean and Operators

Boolean and Operators

4th - 12th Grade

5 Qs

quiz-placeholder

Similar activities

ICT as Platform for Change

ICT as Platform for Change

11th - 12th Grade

10 Qs

Contact Center Sevices

Contact Center Sevices

7th - 10th Grade

10 Qs

Software-Chapter 6

Software-Chapter 6

7th - 10th Grade

10 Qs

Creative Tech 2 - Recitation 1

Creative Tech 2 - Recitation 1

8th Grade

10 Qs

Networking_Terminology_1

Networking_Terminology_1

8th - 12th Grade

10 Qs

Review for PC1

Review for PC1

4th Grade

10 Qs

U07 D1 Mobile App Design & Implementation

U07 D1 Mobile App Design & Implementation

12th Grade

10 Qs

Digcit 5-6

Digcit 5-6

5th - 6th Grade

10 Qs

Boolean and Operators

Boolean and Operators

Assessment

Quiz

Computers

4th - 12th Grade

Hard

Created by

Whizara Teacher

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which one from the following can only have two values (True or False)?

if

else

elif

boolean

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

This operator checks if one value is the same as the other value

==

<

<=

>=

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

This operator checks if one value is not equal to the other value

==

!=

>=

<=

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the output of the following code?

Friday = False

if Friday:

    print "Jeans day!"

else:

    print "Dress code"

Jeans day!

error

Dress code

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the output of the following code?

team = 'Cowboys'

if team = 'Cowboys':

    print "Dallas is #1"

Error

Cowboys

Dallas is #1

None of the above

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?