codinggss

codinggss

University

50 Qs

quiz-placeholder

Similar activities

Internal Exam Quiz

Internal Exam Quiz

University

47 Qs

C++ ECE Q1

C++ ECE Q1

University

55 Qs

Algoritma dan Struktur Data

Algoritma dan Struktur Data

University

50 Qs

Quis Java Gunadarma

Quis Java Gunadarma

University

45 Qs

latihan ASTS 1 kelas IX

latihan ASTS 1 kelas IX

9th Grade - University

45 Qs

2nd C Programming Quiz

2nd C Programming Quiz

University

50 Qs

Joy of Programming

Joy of Programming

University

50 Qs

C programming quiz

C programming quiz

University

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