Chapter 2 Review

Chapter 2 Review

10th - 12th Grade

25 Qs

quiz-placeholder

Similar activities

Java Programming

Java Programming

10th Grade

22 Qs

Array

Array

10th - 12th Grade

20 Qs

Variabel & Tipe Data C++

Variabel & Tipe Data C++

9th - 12th Grade

20 Qs

ARRAY C++

ARRAY C++

11th Grade

20 Qs

Programování 1 - 1

Programování 1 - 1

10th Grade

20 Qs

Postest Informatika Kelas X 2 SMATA

Postest Informatika Kelas X 2 SMATA

11th Grade

20 Qs

Computer Application Practice Quiz Class 10

Computer Application Practice Quiz Class 10

10th Grade

20 Qs

Computer Science

Computer Science

9th - 12th Grade

20 Qs

Chapter 2 Review

Chapter 2 Review

Assessment

Quiz

Computers

10th - 12th Grade

Hard

Used 42+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

In Java, 5 / 2 =...
2
2.5
3
None of the above

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

In Java, % refers to...
percentages
modulus operator
division
data storage

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The following statement is valid: double price = 4,248.09;
True
False

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

In Java, 13 % 5 =...
1
2
3
4

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is a legal variable name in Java?
1test
int
value
n.1

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following variable declarations is a correct assignment?
double y = 82;
int x = 97.2;
char c = 65.5;
String i = 82;

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is output?
int val = -2;
val++;
val--;
val++;
val++;
val++;
val--;
System.out.println(val);
-2
-1
0
1

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?