COLLECTIONS FRAMEWORK
Between ArrayList and LinkedList, which collection would you choose for fast random access to elements?

Week 13 - Quizz

Quiz
•
Computers
•
Professional Development
•
Medium
IO IO
Used 7+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
ArrayList
LinkedList
2.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
COLLECTIONS FRAMEWORK
What is the primary characteristic of a HashMap in Java?
It sorts the keys in natural order.
It allows duplicate keys.
It maintains the order of its keys in the order they were inserted.
It provides constant-time performance for basic operations (get and put).
3.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
OBJECTS
Which of the following statements is true about the relationship between equals() and hashCode()?
hashCode() and equals() are independent and do not affect each other.
Two objects with the same hash code must be equal.
Two objects that are equal must have the same hash code.
If two objects are unequal according to the equals() method, they must have the same hashCode().
4.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
EXCEPTIONS
Which of the following is a checked exception?
NullPointerException
IOException
ArithmeticException
ArrayIndexOutOf
BoundsException
5.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
I/O STREAMS
Which class should be used to improve the performance of character input stream?
BufferedReader
FileReader
FileInputStream
InputStreamReader
6.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
NETWORKING
What identifies a running process in a machine and helps direct network traffic to it?
Port Number
IP Address
MAC address
Ethernet Frame
7.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
NETWORKING
What is the primary advantage of using UDP over TCP?
Reliable delivery
Faster data transmission
Data encryption
Data recovery features
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
CySa+ PT 4: 2/3

Quiz
•
9th Grade - Professio...
10 questions
IT General Control

Quiz
•
Professional Development
10 questions
DB2 (5/4)

Quiz
•
Professional Development
15 questions
Sec+ CH.1 Review Test

Quiz
•
Professional Development
11 questions
Cloud Computing

Quiz
•
KG - Professional Dev...
17 questions
Cyber Quiz

Quiz
•
Professional Development
20 questions
Data Structure

Quiz
•
Professional Development
10 questions
Cloud Computing

Quiz
•
University - Professi...
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade