Quiz 10 - While Loops

Quiz 10 - While Loops

11th Grade

10 Qs

quiz-placeholder

Similar activities

Revision Gr2-2025

Revision Gr2-2025

3rd Grade - University

12 Qs

8525 AQA GCSE  3.1.1 Pseudo-code

8525 AQA GCSE 3.1.1 Pseudo-code

10th - 11th Grade

14 Qs

After Effect Intoduction

After Effect Intoduction

10th Grade - University

15 Qs

Google Aptitude Test

Google Aptitude Test

KG - University

10 Qs

Inspire - AI Trivia

Inspire - AI Trivia

11th Grade

10 Qs

Empowerment Technologies Quiz 2

Empowerment Technologies Quiz 2

11th Grade

10 Qs

BIM1014 Quiz 2

BIM1014 Quiz 2

KG - University

15 Qs

PRUEBA CORTA I - SISTEMA E INSTALACIÓN DE SOFTWARE I - U4

PRUEBA CORTA I - SISTEMA E INSTALACIÓN DE SOFTWARE I - U4

9th - 12th Grade

15 Qs

Quiz 10 - While Loops

Quiz 10 - While Loops

Assessment

Quiz

Computers

11th Grade

Practice Problem

Medium

Created by

Casey Devet

Used 68+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which of the following is the correct syntax for a while loop in Java?

Media Image
Media Image
Media Image
Media Image

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

The body of a while loop will run as long as the test condition is "false".

True

False

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

The body of a while loop must run at least one time.

True

False

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

In the body of a while loop, the value of at least one variable must be changed or else there may be an infinite loop.

True

False

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

There is a maximum number of times that a while loop's body will run.

True

False

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which of the following will print the numbers from 1 to 10?

Media Image
Media Image
Media Image
Media Image

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which of the following will print the numbers from 50 down to 1?

Media Image
Media Image
Media Image
Media Image

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?