Search Header Logo

Grade 12-Python selection&iteration

Authored by julie Binu

Computers

11th - 12th Grade

Used 100+ times

Grade 12-Python selection&iteration
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

2 mins • 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

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which two statements are used to implement iteration?

IF and WHILE

ELSE and WHILE

FOR and WHILE

IF and ELSE

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The condition for a while loop to continue could include which of the following?

While something equals something

While something is greater than something

While something is True

All of these

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

number=number-1

5

4

3

2

1

4

3

2

1

0

5 4 3 2 1

4 3 2 1 0

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

10 8 6 4 2

10

8

6

4

2

2 4 6 8 10

10 9 8 7 6 5 4 3 2 1

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

12 17 22

5

12

5 10

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Hello world!

Hello world

Hello world!

Hello world!

Hello world!

Hello world!

Hello world!

Hello world!

......(repeated continuously)

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?