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
12 questions
eXtensible Markup Language

Quiz
•
12th Grade - University
8 questions
Understanding Web Development Stacks

Quiz
•
11th Grade - University
10 questions
Collections

Quiz
•
University
10 questions
Bab 4 Jaringan Komputer dan Internet

Quiz
•
11th Grade - University
10 questions
EXCEL TEST

Quiz
•
University
15 questions
Challenging Algorithms and Sorting Concepts

Quiz
•
University
15 questions
Tut04

Quiz
•
University
15 questions
BSc Lab Component

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Information Technology (IT)
15 questions
Disney Trivia

Quiz
•
University
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University
20 questions
Disney Trivia

Quiz
•
University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
5 questions
Examining Theme

Interactive video
•
4th Grade - University
23 questions
Lab 4: Quizziz Questions

Quiz
•
University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University