codinggss

codinggss

University

50 Qs

quiz-placeholder

Similar activities

TECHNICAL QUIZ

TECHNICAL QUIZ

University

45 Qs

CA Test 2

CA Test 2

University

50 Qs

Python Programming - I B.Sc CS quiz

Python Programming - I B.Sc CS quiz

University

50 Qs

Python Basic

Python Basic

University

50 Qs

Python Quiz

Python Quiz

University

50 Qs

Compro Quiz#1

Compro Quiz#1

University

51 Qs

Plaza Computación / Programación

Plaza Computación / Programación

University

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