JF S6-S9

JF S6-S9

9th - 12th Grade

118 Qs

quiz-placeholder

Similar activities

Computer Science Paper 2 AMH

Computer Science Paper 2 AMH

10th Grade

120 Qs

CF1 Quiz 3 - Java with Conditionals

CF1 Quiz 3 - Java with Conditionals

10th Grade

117 Qs

Ôn tập KTCK I - Tin 11 ( PBC - PT )

Ôn tập KTCK I - Tin 11 ( PBC - PT )

11th Grade

123 Qs

CS A2 Level

CS A2 Level

12th Grade

116 Qs

AP CSP Final Review

AP CSP Final Review

9th - 12th Grade

118 Qs

4.2 Computers - Hardware

4.2 Computers - Hardware

10th - 12th Grade

120 Qs

CSP EOC Review

CSP EOC Review

9th - 12th Grade

118 Qs

Year 8 CS Quiz

Year 8 CS Quiz

9th - 12th Grade

120 Qs

JF S6-S9

JF S6-S9

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Jerry Mahana

Used 138+ times

FREE Resource

AI

Enhance your content in a minute

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

118 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A for loop is also called a definite loop

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The for loop provides a complicated way to iterate over a range of values.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement will produce the output: 2, 4, 6, 8, 10?

for (int i = 0; i < 10; i += 2) {

System.out.print(i + " ");

}

for (int i = 1; i < 10; i += 2) {

System.out.print(i + " ");

}

for (int i = 0; i < 8; i += 2) {

System.out.print(i + " ");

}

for (int i = 2; i <= 10; i += 2) {

System.out.print(i + " ");

}

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given:


for(int i = 0; i > 10; i++){ }


What type of variable is i?

Global

Static

Member

Local

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which two operators cannot be used as the conditional expression in a for loop?

<

!<

!>

==

!=

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is not a looping statement in Java?

for

do-while

switch

while

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the two are pre-test loops?

for

while

do-while

forEach

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?