Python - True or False?

Python - True or False?

7th - 11th Grade

14 Qs

quiz-placeholder

Similar activities

Test Lesson

Test Lesson

6th - 8th Grade

10 Qs

N4 SDD - Code understanding quiz 1

N4 SDD - Code understanding quiz 1

10th - 12th Grade

15 Qs

Block 3 Review

Block 3 Review

6th - 8th Grade

10 Qs

Data Protection Act & Computer Misuse Act

Data Protection Act & Computer Misuse Act

11th Grade

18 Qs

Email Etiquette

Email Etiquette

8th - 9th Grade

10 Qs

U3: [Assess] L14-L17 Code.org

U3: [Assess] L14-L17 Code.org

9th - 12th Grade

9 Qs

Linux-2 Quiz 2 -- LAMP

Linux-2 Quiz 2 -- LAMP

1st - 12th Grade

15 Qs

IGCSE ICT Chapter 10: Communication

IGCSE ICT Chapter 10: Communication

9th - 10th Grade

15 Qs

Python - True or False?

Python - True or False?

Assessment

Quiz

Computers

7th - 11th Grade

Hard

Created by

Michael Jefferson

Used 6+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does this if statement evaluate to?

height = 148

if height > 120:

...

True

False

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does this if statement evaluate to?

height = 118

if height > 120:

...

True

False

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does this if statement evaluate to?

height = 120

if height > 120:

...

True

False

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does this if statement evaluate to?

message = "Hi"

if message != "hi":

...

True

False

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does this if statement evaluate to?

message = 'hello'

if message == "hello":

...

True

False

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does this if statement evaluate to?

points = 12

points += 5

if points >= "15":

...

True

False

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does this if statement evaluate to?

points = 12

points += 5

if points == 17:

...

True

False

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?