
Quiz on Arrays in Java

Quiz
•
Computers
•
10th Grade
•
Hard
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
Similar Resources on Wayground
63 questions
APCSP Midterm

Quiz
•
9th - 12th Grade
60 questions
Digital Data Quiz

Quiz
•
10th Grade
62 questions
2nd PT_ComProg 10 - Arduino

Quiz
•
10th Grade
59 questions
KHỐI 10 - ÔN TẬP KIỂM TRA CUỐI HỌC KÌ 1

Quiz
•
10th Grade
58 questions
tin gk2

Quiz
•
10th Grade
62 questions
Kiểu Dữ Liệu Danh Sách

Quiz
•
10th Grade
65 questions
The Last AWS Pretest

Quiz
•
9th - 12th Grade
60 questions
Syed: Chapter 4.1: Software

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade