Search Header Logo

Java

Authored by aaa rrrrrr

Computers

Professional Development

Used 5+ times

Java
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the best description of a "relational operator"?

Comparison symbols used in logical expressions

Mathematical symbols used to calculate numeric results

Links that control the relationships between objects

None of these are true

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the best description of a "relational operator"?

Comparison symbols used in logical expressions

Mathematical symbols used to calculate numeric results

Links that control the relationships between objects

None of these are true

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given two numbers A and B, which of the following expressions will be true when "A is less than B"?

A < B

A > B

A == B

A != B

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given two numbers A and B, which of the following expressions will be true when "A is equal to B"?

A != B

A == B

A = B

A.eq(B)

5.

MULTIPLE CHOICE QUESTION

1 min • 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

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will this code display?


int i = 0;

do { System.out.print (i + ", ");

} while (i < 5);

0, 0, 0, 0, 0, 0, 0, 0, (repeat forever)

0, 1, 2, 3, 4,

1, 2, 3, 4, 5,

Compile error

10,

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

True/False Do-while loops can be nested inside of other loops.

True

False

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?