Python Boolean

Python Boolean

11th - 12th Grade

11 Qs

quiz-placeholder

Similar activities

11° Evaluación bimestral de informática

11° Evaluación bimestral de informática

11th Grade

15 Qs

Effect of ICT

Effect of ICT

9th - 12th Grade

12 Qs

Technology Week HTG Quiz - Monday

Technology Week HTG Quiz - Monday

7th - 12th Grade

10 Qs

Typography

Typography

11th Grade

10 Qs

Python Testing

Python Testing

9th - 12th Grade

10 Qs

RECAPS

RECAPS

12th Grade

10 Qs

Module 3: Imaging and Design For The Online Environment

Module 3: Imaging and Design For The Online Environment

11th - 12th Grade

10 Qs

Working with tables

Working with tables

5th - 12th Grade

10 Qs

Python Boolean

Python Boolean

Assessment

Quiz

Computers

11th - 12th Grade

Practice Problem

Medium

Used 408+ times

FREE Resource

AI

Enhance your content in a minute

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

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

A variable that can only have two values, True or False.

Boolean
If
elif
else

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which is the correct syntax?

has_dog = true
has_dog = True
has_dog = Treu
HAS_DOG = tRue

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

This operator means that one value is the same as the other value

==
!=
>
<

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The result of this program:
Friday = False
if Friday:

    print "Jeans day!"
else:
    print "Dress code"

Jeans Day
Jeans day
Dress code
Dress Code

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What will be the output?
name = 'Dave'
greeting = "Good morning" + name
print (greeting)

Good morning 'Dave'
Good morning Dave
Good morning name
Good morning + Dave

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

A syntax error means you have an error with your Python grammar or a symbol/operator is incorrectly used.  

TRUE
FALSE

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which symbol do we use if we want to add a comment to our code?

@
#
*
&

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?