codinggss

codinggss

University

50 Qs

quiz-placeholder

Similar activities

Python PCAP 31-03

Python PCAP 31-03

University

50 Qs

Python Quiz

Python Quiz

University

45 Qs

Quiz Trivia

Quiz Trivia

University

50 Qs

PVP_Operators in C

PVP_Operators in C

University

50 Qs

Technology

Technology

University

45 Qs

Pre-Test Praktikum

Pre-Test Praktikum

University

50 Qs

Technical MCQ

Technical MCQ

University

45 Qs

codinggss

codinggss

Assessment

Quiz

Computers

University

Hard

Created by

codingEvent codingEvent

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is not a feature of Java?

object-oriented

Platform-independent

compiled

Interpreted language

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default value of a boolean variable in Java?

true

false

0

null

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of this operation in Java: (int) (7.9)?

7

7.9

8

Syntax Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the range of the short data type in Java?

-32768 to 32767

-128 to 127

-2147483648 to 2147483647

0 to 65535

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code snippet

int a = 10;

 int b = 20;

  System.out.println(a + b);

10

20

30

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate this pseudocode:

SET a = 3

SET b = 4

PRINT a * b

7

12

Error

None of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate this pseudocode:

SET a = 3

SET b = 4

PRINT a * b

7

12

Error

None of the above

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?