java

java

1st - 5th Grade

50 Qs

quiz-placeholder

Similar activities

11. BMC Axle, Wheel & Suspension

11. BMC Axle, Wheel & Suspension

1st Grade

50 Qs

FORENSIC 5 MIDTERM EXAM

FORENSIC 5 MIDTERM EXAM

1st Grade

45 Qs

POLYGRAPHY FINAL EXAM

POLYGRAPHY FINAL EXAM

1st Grade

50 Qs

CB profed 1

CB profed 1

3rd Grade - Professional Development

53 Qs

UJIAN TAHAP 1 (PENGETAHUAN UMUM)

UJIAN TAHAP 1 (PENGETAHUAN UMUM)

KG - Professional Development

50 Qs

GeneralKnowledge

GeneralKnowledge

5th Grade - University

54 Qs

Snakes

Snakes

5th Grade

50 Qs

PRM-(549-p120)

PRM-(549-p120)

2nd Grade

53 Qs

java

java

Assessment

Quiz

Professional Development

1st - 5th Grade

Practice Problem

Medium

Created by

sidarsha m

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following option leads to the portability and security of Java?

Bytecode is executed by JVM

The applet makes the Java code secure and portable

Use of exception handling

Dynamic binding between objects

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a Java features?

Dynamic

Architecture Neutral

Use of pointers

Object-oriented

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_____ is used to find and fix bugs in the Java programs.

JVM

JRE

JDK

JDB

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the expression float a = 35 / 0 return?

0

Not a number

Infinity

Run time exception

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid declaration of a char?

char ch = '\utea';

char ca = 'tea';

char cr = \u0223;

char cc = '\itea';

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate the following Java expression, if x=3, y=5, and z=10:

++z + y - y + z + x++

24

23

20

25

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following for loop declaration is not valid?

for ( int i = 99; i >= 0; i / 9 )

for ( int i = 7; i <= 77; i += 7 )

for ( int i = 20; i >= 2; - -i )

for ( int i = 2; i <= 20; i = 2* i )

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?