Boolean and Operators

Boolean and Operators

4th - 12th Grade

5 Qs

quiz-placeholder

Similar activities

MIL March 8, 2023

MIL March 8, 2023

12th Grade

10 Qs

Web Browser and Web Pages

Web Browser and Web Pages

4th Grade

10 Qs

MS Word (G4)

MS Word (G4)

4th Grade

10 Qs

Microsoft Windows

Microsoft Windows

3rd - 12th Grade

10 Qs

Access - Lesson 14

Access - Lesson 14

9th - 12th Grade

10 Qs

ICT 10 : Introduction to Adobe Illustrator(CS5)

ICT 10 : Introduction to Adobe Illustrator(CS5)

10th Grade

10 Qs

Asesmen Unit One dan Unit Two MIT APP INVENTOR

Asesmen Unit One dan Unit Two MIT APP INVENTOR

8th Grade

10 Qs

Desarrollo de Aplicaciones Web - Día 3

Desarrollo de Aplicaciones Web - Día 3

10th 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