Search Header Logo

WHILE Loops yr 9

Authored by Louise Lockwood

Computers

9th - 12th Grade

Used 19+ times

WHILE Loops yr 9
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

Which two statements are used to implement iteration?

IF and WHILE
ELSE and WHILE
FOR and WHILE
IF and ELSE

2.

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

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In this code, what is the "i"

a while loop

a variable

iteration

a loop

random letter

4.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

A condition is

a statement that is either True or False

a string

an integer

a list

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To repeat until a particular condition is true use

while loop
for loop
if loop
indentation

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of loop is used when you know how many times you want to repeat something?

A WHILE Loop
An IF function
A FOR Loop
A Variable

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A while loop is used when

You know how many times you are going to loop

You want to loop for an unknown number of times, and possibly forever

You only want to run the code in the loop once

You see the word while in the problem description

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?