3. Repetition / While Loops

3. Repetition / While Loops

7th Grade

5 Qs

quiz-placeholder

Similar activities

Understanding While Loops in Pseudocode

Understanding While Loops in Pseudocode

7th Grade

4 Qs

Simple Present Tense (L1)

Simple Present Tense (L1)

6th - 8th Grade

10 Qs

1920s - How They Roared

1920s - How They Roared

5th Grade - University

10 Qs

Tea Cozy

Tea Cozy

6th - 8th Grade

6 Qs

Computers

Computers

7th Grade

10 Qs

3. Repetition / While Loops

3. Repetition / While Loops

Assessment

Quiz

others

7th Grade

Practice Problem

Hard

Created by

Jeremy Talbot

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does this program do?

Counts up from 1 to 5
Counts down from 5 to 1
Prints "Liftoff!" 5 times
Prints "Liftoff!" only once

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does this program do?

Computes the sum of numbers until it reaches 10
Prints numbers until their sum exceeds 10
Multiplies numbers until the product exceeds 10
Computes the average of numbers until it reaches 10

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How does this program use a while loop for password validation?

The loop runs until the user enters any password
The loop runs until the user enters the correct password
The loop runs for a fixed number of iterations
The loop runs until the user decides to exit

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How does this program use a while loop for a guessing game?

The loop runs until the user decides to stop guessing
The loop runs until the user correctly guesses the target number
The loop runs for a fixed number of iterations
The loop runs until the user enters an invalid guess

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Bonus Question (Do not expect you to know this). What is the purpose of this program, and how does the while loop condition work?

It prints odd numbers until reaching 10
It prints even numbers until reaching 10
It prints all numbers until reaching 10
It prints numbers in reverse order until reaching 10

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?