Search Header Logo

Python (Week 7)

Authored by Learn ICT

Computers

9th Grade

Used 3+ times

Python (Week 7)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The second part of if, that is executed when the condition is false

if

else

for

input

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which statement will check to see if a is equal to b?

if a == b

if a = b:

if a != b:

if a == b:

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output?

more than 7

more than 23

spam

7

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output?

True

False

condition1

condition2

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What will be displayed at the end of the program?

Nothing will be displayed.

Case 1 and Case 2

Case 1

Case 2

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

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

==

!=

>

<

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

I am 71 years old! What will the output be?: IF you are 70 or older, say “You are aged to perfection!” ELIF you are exactly 50, say “Wow, you are half a century old!” ELSE say “You are a spring chicken!”

“You are aged to perfection!”

"Wow, you are half a century old!"

"You are a spring chicken!"

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?