Search Header Logo

python loop

Authored by nikhil patten

Computers

University

Used 4+ times

python loop
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

In a Python program, what would be the ending value for y in the WHILE LOOP code?

5

51

10

3

2.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Loop executed a fixed number of times with a built-in-counter (creating a counter variable is unnecessary).

While loop
For loop
Repeat loop
If...else

3.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

A loop repeated if the condition is true / false

While loop
For loop
Repeat loop
If...else

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In programming, what is iteration?

The repetition of steps within a program
The order in which instructions are carried out
A decision point in a program
Testing a program to make sure it works

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

5
4
3
2
1
4
3
2
1
0
5  4  3  2  1
4  3  2  1  0

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What will this code do?

Print Numbers 1-11

Print Numbers 1-10

Print Numbers 2-10

Print Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

5
4
3
2
1
4
3
2
1
0
5  4  3  2  1
4  3  2  1  0

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