
Chapter 2 Review
Computers
10th - 12th Grade
Used 42+ times

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
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?