
Types of Research
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Medium
Jhulyna Rubio
Used 1+ times
FREE Resource
Enhance your content in a minute
31 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Which Java package includes the LinkedList class?
Answer explanation
The LinkedList class is part of the java.util package.
2.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Which is an advantage of linked lists over arrays?
A) Constant-time random access
B) Static memory allocation
C) Dynamic resizing
D) Lower memory usage
Answer explanation
Linked lists grow/shrink dynamically without preallocating memory.
3.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
How do you traverse a singly linked list?
A) Start at the tail and follow "prev" references
B) Start at the head and follow "next" references
C) Use binary search
D) Access elements by index
Answer explanation
Singly linked lists only allow forward traversal starting from the head.
4.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What type of linked list allows traversal in both directions
a) Singly Linked List
b) Doubly Linked List
c) Circular Linked List
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
LinkedList<String> list = new LinkedList<>();
// Initial elements
list.add("Alice");
list.add("Bob");
list.add("Charlie");
// Situation: You need to perform the following operations:
// 1. Add "David" at the second position.
// 2. Remove "Charlie" from the list.
// 3. Change "Bob" to "Brian".
What is the correct set of operations?
a. list.add(1, "David");
list.remove("Charlie");
list.set(2, "Brian");
b. list.add(2, "David");
list.remove(2);
list.set(1, "Brian");
c. list.addLast("David");
list.removeFirst();
list.set(1, "Brian");
d. list.add("David");
list.remove("Charlie");
list.set(1, "Brian");
6.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
How do you determine the length of an array arr in Java?
a) arr.length()
b) arr.length
c) arr.size()
d) arr.getLength()
7.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Which of the following is the correct way to declare and allocate memory in an integer array in Java?
a) int arr = new int[5];
b) int arr[] = new int[5];
c) int[] arr = new int[5];
d) Both (b) and (c)
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
Already have an account?
Similar Resources on Wayground
35 questions
SPECIAL EXAMINATION - TM104
Quiz
•
University
26 questions
Fun with Computers and Mice
Quiz
•
2nd Grade - University
28 questions
Review Python_G8
Quiz
•
8th Grade - University
27 questions
CNTT NÂNG CAO - P3 MÔ ĐUN 07 – XỬ LÝ VĂN BẢN NÂNG CAO
Quiz
•
University
30 questions
Y9 Python Review
Quiz
•
9th Grade - University
30 questions
C-Volution (Easy 1)
Quiz
•
University
30 questions
Perkakas Analisis Data dan Web Scraping
Quiz
•
10th Grade - University
32 questions
Pengetahuan Komputer
Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Information Technology (IT)
10 questions
Identifying equations
Quiz
•
KG - University
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
HS2C2 AB QUIZIZZ
Quiz
•
1st Grade - Professio...
14 questions
Homonyms Quiz
Quiz
•
KG - University
16 questions
Parts of a Parabola
Quiz
•
8th Grade - University
10 questions
A Brief History of Geologic Time
Interactive video
•
11th Grade - University
15 questions
Black Friday/Cyber Monday
Quiz
•
9th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
