Search Header Logo

Python-loops, branches, functions

Authored by Shannon Duvall

Computers

University

Used 98+ times

Python-loops, branches, functions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What does this code print?

A

B

C

A

C

A

A

B

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What does this code print?

A

B

C

A

A

C

B

C

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What does the code print?

B

C

A

C

B

A

C

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What does the code print?

True True

True False

False True

False False

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What does the code print?

True True

True False

False True

False False

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What does the code print?

10

7

4

1

Done

10

9

8

7

6

5

4

3

2

1

Done

Done

10

7

4

1

-2

-5

... and more, running infinitely.

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What does the code print?

10 stars, then the word "Done"

4 stars, then the word "Done"

Just the word "Done"

Infinitely many stars

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?

Discover more resources for Computers