FINAL TEST FOR JAVA PROGRAMMING 2

FINAL TEST FOR JAVA PROGRAMMING 2

University

50 Qs

quiz-placeholder

Similar activities

Unit 4 - Coding and Logic | End of LO1 and LO2 Ax.

Unit 4 - Coding and Logic | End of LO1 and LO2 Ax.

12th Grade - University

45 Qs

JAVA REVIEW QUIZ

JAVA REVIEW QUIZ

University

48 Qs

Web Designing-2025

Web Designing-2025

University

50 Qs

Java Exception Handling and String Handling

Java Exception Handling and String Handling

University

49 Qs

Technical Quiz 2022-23

Technical Quiz 2022-23

University

50 Qs

CIE2 Java Lab Quiz

CIE2 Java Lab Quiz

University

50 Qs

IP MIDTERM

IP MIDTERM

University

45 Qs

Assignment Quiz

Assignment Quiz

University

47 Qs

FINAL TEST FOR JAVA PROGRAMMING 2

FINAL TEST FOR JAVA PROGRAMMING 2

Assessment

Quiz

Computers

University

Hard

Created by

Jeffmark Pinaredondo

Used 1+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is a valid Java identifier?

my Variable
2ndVariable
variable-1
myVariable

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the decimal equivalent of the octal number 34?

28
31
42
25

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How is the decimal number 63 represented in hexadecimal?

3F
6E
FF
63

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How is the octal number 54 converted to binary?

110011
101100
100101
111000

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the result of the expression int x = 5; x++;?

6
4
10
7

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the value of int y = 8; y--; after this statement is executed?

5
9
6
7

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does the expression int z = 10; ++z; evaluate to?

11
0
12
10

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?