Search Header Logo

Python Conditional execution, loops.

Authored by William Lugo

Computers

9th Grade

Used 18+ times

Python Conditional execution, loops.
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What part of an if statement should be indented?

All of it

The statements within it

the first line

the lines within the brackets

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output?

more than 7

more than 23

spam

7

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output?

True

False

condition1

condition2

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output?

next

stop

next

stop

syntax error - program doesn't work

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output?

3

3

7

3

5

7

7

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output?

condition

True

Program has a syntax error.

3 > 2

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output?

level 3

level 3

level 1

level 3

level 1

NIL

level 3

level 2

level 1

NIL

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?