Chapter 2 Review

Chapter 2 Review

10th - 12th Grade

25 Qs

quiz-placeholder

Similar activities

ว30285-ข้อสอบวัดผลปลายภาคเรียน(1-67)

ว30285-ข้อสอบวัดผลปลายภาคเรียน(1-67)

10th Grade

20 Qs

PEMROGRAMAN DASAR

PEMROGRAMAN DASAR

10th Grade

20 Qs

SK T4 1.3 Pemboleh Ubah, Pemalar dan Jenis Data

SK T4 1.3 Pemboleh Ubah, Pemalar dan Jenis Data

9th - 12th Grade

20 Qs

Java

Java

11th Grade

20 Qs

4Inf_Java_base

4Inf_Java_base

11th Grade

25 Qs

8 klasa C++

8 klasa C++

7th - 10th Grade

20 Qs

การเขียนโปรแกรมไพทอน

การเขียนโปรแกรมไพทอน

12th Grade

20 Qs

PTS BasisData XI (Maret2020)

PTS BasisData XI (Maret2020)

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