Iteration - While Loop

Iteration - While Loop

8th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

TIN8-HK1-KTTX1

TIN8-HK1-KTTX1

8th Grade

10 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

Adventure game project

Adventure game project

7th - 8th Grade

12 Qs

Java: repetition control structure for & while

Java: repetition control structure for & while

10th - 12th Grade

10 Qs

Latihan Brainware dan Hardware

Latihan Brainware dan Hardware

9th - 12th Grade

10 Qs

G7 - Ôn tập C1,2

G7 - Ôn tập C1,2

KG - University

10 Qs

Iteration - While Loop

Iteration - While Loop

Assessment

Quiz

Computers

8th - 12th Grade

Practice Problem

Hard

Created by

M Dwedari

Used 51+ times

FREE Resource

AI

Enhance your content in a minute

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

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will be the output of this code?

Error

0, 1, 2, ...., 27

0, 1, 2, ...., 30

Infinite iteration

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of this code?

0, 1, 2, 3, 4, ...., 29

0, 2, 4, ...., 28, 30

0, 1, 2, 3, 4, ...., 30

Infinite loop

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

0, 1, 2, 3,...., 30

Error

0, 1, 2, 3,...., 29

0, 1, 2, 3,...., 28

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will be the output of this code?

0, 3, 6, 9,....., 30

0, 3, 6, 9, ...., 27

0, 1, 2, 3, 4, ..., 30

0, 3, 6, 9,....., 33

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

10, 13, 16, ....30

10, 13, 16,....27

Error

no errors and no output

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output of this code?

10, 12, 14, 16

10, 12, 14, 16, 18

10, 12, 14

Infinite iteration

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output of this code?

65, 63, 61, 59, 57, 55

65, 63, 61, 59, 57, 59

67, 65, 63, 61

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?