Linked List Quiz

Quiz
•
Information Technology (IT)
•
University
•
Easy
Aiza Najihah Bt Razaman UPTM
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a singly linked list, each node contains:
Only data
Data and pointer to the next node
Data and pointers to next and previous nodes
Only a reference to the next node
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a doubly linked list, each node has:
One reference only
Two references: previous and next
Three references: previous, next, and head
No references
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a circular linked list, the link field of the last node contains:
NULL
Address of the first node
Address of the last node itself
Random address
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Main limitation of a singly linked list is:
Cannot store strings
Cannot traverse backward
Cannot insert nodes at all
Needs more memory than arrays
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What Java LinkedList method is used to insert an element at the beginning?
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What Java LinkedList method removes the last element?
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What will be the output of this code?
LinkedList list = new LinkedList<>();
list.add("Paul"); list.add("John");
list.add("Tina");
System.out.println(list.getFirst());
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Recurrence Relations and Algorithms Quiz

Quiz
•
University
10 questions
Red-Black Tree Quiz

Quiz
•
University
15 questions
Exam Entornos Virtuales de Aprendizaje

Quiz
•
University
10 questions
CS10337 - Lecture #5

Quiz
•
University
15 questions
DSA (QUIZ 2) Stacks and Queues Quiz

Quiz
•
University
10 questions
Berpikir Komputasional - Struktur Data

Quiz
•
9th Grade - University
13 questions
Graph Theory

Quiz
•
University
12 questions
Binary Search

Quiz
•
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 Information Technology (IT)
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