quiz image

Quiz on Linked List

BeneficentFreesia avatar
BeneficentFreesia
·
·
Download

Start Quiz

Study Flashcards

10 Questions

If the head pointer points to nullptr, this indicates

there are no nodes in the list

Linked list is generally considered as an example of _________ type of memory allocation.

dynamic

How many null pointers exists in a circular linked list?

0

What advantage does a linked list have over an array?

A linked list is not of a fixed size

If new data needs to be added to a linked list, the program simply __________ and inserts it into the series.

allocates another node

A doubly linked list keeps track of the next node in the list as well as

the previous node

What does the following fragment of code do with a linked list? current = head; while (current != null) { current = current.link; }

It traverses the list

A linked list must contain a maximum size component to manage the last item?

False

Google map navigation system is the example of ________________

Doubly Circular Linked list

what is major disadvantage of linked list

Take too much memory

Test your knowledge on linked lists by determining what it indicates when the head pointer points to nullptr.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Linked Lists Operations Quiz
5 questions
Linked Lists Quiz
5 questions

Linked Lists Quiz

HealthfulTurquoise7240 avatar
HealthfulTurquoise7240
Linked List Basics
3 questions

Linked List Basics

PromisedMiami avatar
PromisedMiami
Use Quizgecko on...
Browser
Browser