java while loop

java while loop

9th - 12th Grade

16 Qs

quiz-placeholder

Similar activities

Quiz Pemrograman Perangkat Bergerak 2

Quiz Pemrograman Perangkat Bergerak 2

12th Grade - University

20 Qs

CHỦ ĐỀ A. MÁY TÍNH VÀ XÃ HỘI TRÍ THỨC P1

CHỦ ĐỀ A. MÁY TÍNH VÀ XÃ HỘI TRÍ THỨC P1

10th Grade

20 Qs

ASESMEN INFORMATIKAN BAB 1 SERI 2

ASESMEN INFORMATIKAN BAB 1 SERI 2

10th Grade

15 Qs

Podsumowanie: binarny, komputer, sieć

Podsumowanie: binarny, komputer, sieć

7th Grade - University

13 Qs

Written Works 4 (ICT A)

Written Works 4 (ICT A)

11th Grade

20 Qs

End of term assessment

End of term assessment

9th Grade

15 Qs

KJD X

KJD X

10th Grade

20 Qs

Quiz - Pengenalan Sistem Operasi

Quiz - Pengenalan Sistem Operasi

12th Grade

15 Qs

java while loop

java while loop

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Dara Kirschenbaum-Perry

Used 71+ times

FREE Resource

AI

Enhance your content in a minute

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

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

12

012

0123

123

01234

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

104

54

44

35

65

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

2

23

234

34

2345

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

How many times will the following code print "Welcome to Java"?


int count = 0;

while (count < 10) {

System.out.println("Welcome to Java");

count++;

}

8

9

10

0

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

What is the output of the following code?

int x = 0;

while (x < 4)

{

x = x + 1;

}

System.out.println("x is " + x);

x is 0

x is 1

x is 3

x is 4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When a piece of code runs unintentionally forever it is known as

An infinite loop

A long loop

A broken loop

A for loop

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A condition is

a statement that is either True or False

a string

an integer

a list

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?