
IT-OOPRGO21 PRELIM
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Wendell Cabalhin
Used 1+ times
FREE Resource
Enhance your content in a minute
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
32 questions
Microsoft Excel - Formulae
Quiz
•
9th Grade - University
30 questions
Set Theory Quiz
Quiz
•
University
37 questions
ôn tập giữa kì 2 lớp 11
Quiz
•
11th Grade - University
31 questions
Excel Basics
Quiz
•
University
30 questions
IT security - 3
Quiz
•
9th Grade - University
31 questions
Quiz#8: Elements of Film Form
Quiz
•
University
30 questions
Latihan Algotima
Quiz
•
University
30 questions
Sensor Knowledge Quiz
Quiz
•
5th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th 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
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
