Search Header Logo

pyhthon condition statement

Authored by Assistant Chennai

Professional Development

Professional Development

Used 41+ times

pyhthon condition statement
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 of total in the WHILE LOOP code?

0

5

2

20

2.

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

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

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

5.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

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

6.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

Media Image

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

7.

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

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?