Quiz on Arrays in Java

Quiz on Arrays in Java

10th Grade

63 Qs

quiz-placeholder

Similar activities

2024 CSP-AP Final Exam Review

2024 CSP-AP Final Exam Review

9th - 12th Grade

60 Qs

Big OCR GCSE Computer Science Quiz

Big OCR GCSE Computer Science Quiz

10th Grade

60 Qs

TIN 10 - CUỐI KÌ I

TIN 10 - CUỐI KÌ I

9th - 12th Grade

58 Qs

C++ I/O, IF and Loops Quiz

C++ I/O, IF and Loops Quiz

10th Grade

60 Qs

תשפה - סיום שנה ט-2

תשפה - סיום שנה ט-2

8th Grade - University

59 Qs

9608_Ch25_recursion

9608_Ch25_recursion

10th Grade

59 Qs

ôn tập từ bài 16 - 20 tin 10

ôn tập từ bài 16 - 20 tin 10

10th Grade - University

65 Qs

Quiz on Arrays in Java

Quiz on Arrays in Java

Assessment

Quiz

Computers

10th Grade

Hard

Created by

vidya anand

Used 3+ times

FREE Resource

63 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Special symbols used to declare an array in Java is :

Braces { }

Parentheses ()

Square Brackets [ ]

Angled Brackets < >

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The special symbols used to initialize an array at the time of the declaration itself is :

Parentheses ( )

Square Brackets [ ]

Braces { }

Angled Brackets < >

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

We can skip initializing some elements of the array during Shorthand Initialization. (TRUE / FALSE)

FALSE

TRUE

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

We can declare an array without initialization and without mentioning the size. (TRUE / FALSE)

TRUE

FALSE

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Default value of an element of Object type array is :

0

null

-1

Garbage value

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Default value of byte, short, int or long data type elements of an array in Java.

-1

1

0

Garbage value

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Identify the default value of float or double data type elements of an array in Java

0

0.0

1

1.0

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?