
IT-OOPRGO21 PRELIM

Quiz
•
Computers
•
University
•
Medium
Wendell Cabalhin
Used 1+ times
FREE Resource
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the basic operations that can be performed on a two-dimensional array?
Converting to strings
Creating three-dimensional arrays
Sorting elements
Accessing elements, modifying elements, traversing, adding/removing rows and columns, and performing mathematical operations.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare and initialize a two-dimensional array in Java?
int[3,4] array = new int[][];
int array = new int[3][4];
int array[][] = new int[4][3];
int[][] array = new int[3][4]; // Declaration and initialization
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the Array class in Java and what are its main features?
The Array class in Java provides utility methods for array manipulation, including sorting, searching, and filling, but cannot be instantiated.
The Array class can be instantiated like other classes in Java.
The Array class only provides methods for array creation.
The Array class is used for managing collections of objects in Java.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List some common methods provided by the Array class in Java.
split
copyOf, copyOfRange, fill, sort, equals
reverse
merge
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an ArrayList and how does it differ from a regular array?
An ArrayList can only store primitive data types.
A regular array can change its size dynamically.
An ArrayList is a dynamic array that can resize itself, while a regular array has a fixed size.
An ArrayList is a type of linked list.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Describe the process of adding an element to an ArrayList in Java.
arrayList.addItem(element);
arrayList.insert(element);
Use arrayList.add(element);
arrayList.push(element);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are some key methods of the ArrayList class?
add(), remove(), get(), size(), clear()
update()
insert()
find()
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Coding Club_SNSCE Quiz (28-04-2023)

Quiz
•
University
30 questions
Quiz on C

Quiz
•
University
30 questions
C++ Programming Quiz sesi (ii) 2023/2024

Quiz
•
University
30 questions
MCA-101 QUIZ

Quiz
•
University
30 questions
Python MCQ for II Sem

Quiz
•
University
36 questions
AP CS A unit 1

Quiz
•
11th Grade - University
40 questions
Elements of a C# program

Quiz
•
University
35 questions
end of year Quiz

Quiz
•
12th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University