Search Header Logo

Java Terminology-3

Authored by Steven Howard

Other

11th - 12th Grade

Used 1+ times

Java Terminology-3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

24 questions

Show all answers

1.

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

2.

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);

0
1
3
4

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

These controls the behavior of a program.

class
object
method
void

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A variable that holds a whole number

String
boolean
int
float

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A variable that holds words

String
boolean
int
float

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable that holds true or false

String
boolean
int
float

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A variable that holds a decimal number

String
boolean
int
float

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?