
IT-OOPRGO21 PRELIM
Authored by Wendell Cabalhin
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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()
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
30 questions
Technical-connection Round-1
Quiz
•
University
40 questions
Post test Keamanan Jaringan
Quiz
•
University
30 questions
Freehand and Digital Drawing Midterm Exam 2021-2022
Quiz
•
University
34 questions
MOS Word 2016 - Quiz 2
Quiz
•
University
30 questions
Quiz 1
Quiz
•
University
30 questions
Flareup CSI
Quiz
•
12th Grade - University
30 questions
ACA 1
Quiz
•
University
30 questions
Blank Quiz
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
20 questions
Endocrine System
Quiz
•
University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
30 questions
W25: PSYCH 250 - Exam 2 Practice
Quiz
•
University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
38 questions
Unit 8 Review - Absolutism & Revolution
Quiz
•
10th Grade - University