Boolean and Operators

Boolean and Operators

4th - 12th Grade

5 Qs

quiz-placeholder

Similar activities

Learning Task #1 & #2

Learning Task #1 & #2

5th - 6th Grade

10 Qs

AI Components

AI Components

8th Grade

10 Qs

Thiết bị ngoại vi

Thiết bị ngoại vi

7th Grade

10 Qs

Bai 29

Bai 29

10th Grade

10 Qs

5th Fill in the blanks

5th Fill in the blanks

5th Grade

10 Qs

แบบทดสอบหลังเรียน หน่วยที่ 14

แบบทดสอบหลังเรียน หน่วยที่ 14

4th Grade

10 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

Java: repetition control structure for & while

Java: repetition control structure for & while

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