mile stone 2

mile stone 2

University

20 Qs

quiz-placeholder

Similar activities

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

ITE TEST 2

ITE TEST 2

University

20 Qs

Computer Hardware - CPU & GPU

Computer Hardware - CPU & GPU

7th Grade - University

16 Qs

Java Quiz 4

Java Quiz 4

University

15 Qs

Skill Competition Quiz 2024

Skill Competition Quiz 2024

10th Grade - University

20 Qs

SOFTWARE 7I

SOFTWARE 7I

7th Grade - University

20 Qs

Python Quiz

Python Quiz

University

15 Qs

Spreadsheet Fundamentals - Quiz2

Spreadsheet Fundamentals - Quiz2

University

20 Qs

mile stone 2

mile stone 2

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Rahul Avulapati

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For the array:

int stats[3];

What is the range of the index?

0 to 3

0 to 2

1 to 3

0 to 4

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

JVM

JRE

JDK

JDB

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java doesn't support structures and unions

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_________ operator returns the remainder after division

+

/

%

*

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which one of the following have elements in insertion order

sorted map

hashmap

linkedhashmap

treemap

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword raises an exception in Java code?


throw

try

break

throws

Answer explanation

To raise an exception in Java, use the throw keyword. Do not confuse throw with throws, as the latter is used by a method to indicate it has the potential to throw various checked exceptions

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

which of these is an incorrect array declaration?

int arr[]=new int[5]

int arr[]=new[5] int

int arr=new int(5)

int arr()=new (5)

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?

Discover more resources for Computers