Quiz on Arrays in Java

Quiz on Arrays in Java

10th Grade

63 Qs

quiz-placeholder

Similar activities

AP CSP Practice Exam

AP CSP Practice Exam

9th - 12th Grade

65 Qs

Computer Science Principles

Computer Science Principles

9th - 12th Grade

62 Qs

Cisco IT Essentials Chapter 1 Test

Cisco IT Essentials Chapter 1 Test

9th - 12th Grade

65 Qs

Quizbee 1st quarter G10

Quizbee 1st quarter G10

10th Grade

63 Qs

แบบทดสอบการเขียนโปรแกรมภาษาซีชุดที่ 1

แบบทดสอบการเขียนโปรแกรมภาษาซีชุดที่ 1

9th - 12th Grade

60 Qs

Week 12 - Even More Lists

Week 12 - Even More Lists

9th - 12th Grade

58 Qs

Spreadsheet

Spreadsheet

10th Grade

60 Qs

Scratch Coding

Scratch Coding

3rd - 12th Grade

60 Qs

Quiz on Arrays in Java

Quiz on Arrays in Java

Assessment

Quiz

Computers

10th Grade

Practice Problem

Hard

Created by

vidya anand

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?