FINAL TEST FOR JAVA PROGRAMMING 2

FINAL TEST FOR JAVA PROGRAMMING 2

University

50 Qs

quiz-placeholder

Similar activities

Quiz JavaScript

Quiz JavaScript

University

51 Qs

Java Programming Quiz 2-6

Java Programming Quiz 2-6

University

50 Qs

EPA-11-DEC-2021 On Java

EPA-11-DEC-2021 On Java

University

50 Qs

Understanding Loops in Programming

Understanding Loops in Programming

9th Grade - University

54 Qs

Array in Python

Array in Python

University

45 Qs

PHP Basics

PHP Basics

University

54 Qs

JavaScript-ITELECTIVE

JavaScript-ITELECTIVE

University

50 Qs

Technical Training Test for III BTech - VCE - CSE

Technical Training Test for III BTech - VCE - CSE

University

45 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?