Search Header Logo

while_Python

Authored by Jayasree Sujeev

Computers

7th Grade

Used 226+ times

while_Python
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

30 sec • 12 pts

Which type of loop iterates until instructed otherwise?

FOR loop
A count-controlled loop
Repeat-once loop
WHILE loop

2.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

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

3.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

Which of the following symbols is used in Python to mean "Equal to"?

=
!=
==
>=

4.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

WHILE loops are

loops which run an unknown number of times

loops which run for a specific number of times

the same as if statements

not part of programming

5.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

A condition is

a statement that is either True or False

a string

an integer

a list

6.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

In a Python program, what would be the starting value in the WHILE LOOP code?

6

1

0

10

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which word completes this sentence: "Iteration makes code more ___________"

Complex

Efficient

Simple

Straightforward

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?