Class X - Java 1

Class X - Java 1

10th Grade

15 Qs

quiz-placeholder

Similar activities

Sains Komputer (Java) 1: Sintaks Asas & Pembolehubah

Sains Komputer (Java) 1: Sintaks Asas & Pembolehubah

10th Grade - University

10 Qs

"switch" Java Statement - 1

"switch" Java Statement - 1

9th - 10th Grade

17 Qs

Loops

Loops

9th - 12th Grade

10 Qs

For Loops

For Loops

9th - 12th Grade

10 Qs

Arrays by Swarn

Arrays by Swarn

10th Grade

10 Qs

STATIC KEYWORD IN JAVA

STATIC KEYWORD IN JAVA

9th - 12th Grade

18 Qs

Java Arrays Basic

Java Arrays Basic

10th - 12th Grade

15 Qs

Arithmetic Types Declare Initialize Relation Logical Ops

Arithmetic Types Declare Initialize Relation Logical Ops

9th Grade - University

16 Qs

Class X - Java 1

Class X - Java 1

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Barikynti Warjri

Used 15+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 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

20 sec • 1 pt

Which of the following is not a Java features?

Dynamic

Architecture Neutral

Use of pointers

Object-oriented

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The \u0021 article referred to as a

Unicode escape sequence

Octal escape

Hexadecimal

Line feed

4.

MULTIPLE CHOICE QUESTION

20 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

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

24

23

20

25

6.

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 )

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which keyword is used for accessing the features of a package?

package

import

extends

export

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?