java(level2)

java(level2)

7th Grade

13 Qs

quiz-placeholder

Similar activities

Lesson 44 - Dictionary Datatype 2

Lesson 44 - Dictionary Datatype 2

5th - 8th Grade

10 Qs

3.1.1 Jenis data dalam segmen kod

3.1.1 Jenis data dalam segmen kod

7th - 9th Grade

10 Qs

Алгоритми та програми (узагальнення)

Алгоритми та програми (узагальнення)

7th Grade

13 Qs

Lesson 25 - datetime module

Lesson 25 - datetime module

5th - 8th Grade

10 Qs

Bab 3.1.2 ASK T2

Bab 3.1.2 ASK T2

1st - 12th Grade

10 Qs

Python (1-2 урок)

Python (1-2 урок)

1st - 12th Grade

9 Qs

Тыжпрограммист

Тыжпрограммист

6th - 8th Grade

10 Qs

7 клас. Підсумкове оцінювання № 2. Алгоритми з розгалуженням

7 клас. Підсумкове оцінювання № 2. Алгоритми з розгалуженням

7th Grade

12 Qs

java(level2)

java(level2)

Assessment

Quiz

Education

7th Grade

Hard

Created by

Rania Khaled

Used 5+ times

FREE Resource

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Is "X" printed?


Yes, it is printed
No, it is not printed

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Is "X" printed?


Yes, it is printed
No, it is not printed

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

F && F =


F
T

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many times does the loop print a *

Never

10

20

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare a while loop that prints numbers from 1 to 5?

while (i <= 5) { System.out.println(i++); }

while (i < 5) { System.out.println(++i); }

while (i <= 5) { System.out.println(++i); }

while (i < 5) { System.out.println(i++); }

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'continue' statement do in Java?

Exits the loop or switch statement

Skips the current iteration of a loop

Jumps to a specific label in the code

Returns a value from a method

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare an array of strings in Java?

String[] names = new String[5];

String names[] = new String[5];

String[] names = new String[];

String names[] = new String[];

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?