Chapter 2 Review

Chapter 2 Review

10th - 12th Grade

25 Qs

quiz-placeholder

Similar activities

Программирование кобинированный тест

Программирование кобинированный тест

10th Grade

20 Qs

Dasar Pemrograman-1

Dasar Pemrograman-1

10th Grade

20 Qs

Kuis Pemrograman Kotlin

Kuis Pemrograman Kotlin

11th Grade

20 Qs

Computer Application Practice Quiz Class 10

Computer Application Practice Quiz Class 10

10th Grade

20 Qs

Java Programming

Java Programming

10th Grade

22 Qs

1) Python Data Types

1) Python Data Types

8th - 11th Grade

23 Qs

OPC MCQ's

OPC MCQ's

12th Grade - University

20 Qs

Tipe Data C++

Tipe Data C++

10th 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?