Circular Linked List

Circular Linked List

Professional Development

15 Qs

quiz-placeholder

Similar activities

DataStructure

DataStructure

Professional Development

18 Qs

PSC Quiz1

PSC Quiz1

University - Professional Development

20 Qs

DS Tut 2

DS Tut 2

Professional Development

10 Qs

datastructures

datastructures

Professional Development

20 Qs

Python - Linked List

Python - Linked List

Professional Development

10 Qs

TCS Preparation

TCS Preparation

Professional Development

10 Qs

Cardiology

Cardiology

Professional Development

10 Qs

dataStructure

dataStructure

Professional Development

14 Qs

Circular Linked List

Circular Linked List

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

LE210 Sankara Nayaki K

Used 123+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of this not about linked list ?

A nonlinear collection of data elements

It can be used to implement several other common abstract data types example stack, queue, tree

It use more memory than arrays because of the storage used by their pointers.

Each record of a linked list is often called an 'element' or 'node'

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which the following circular linked list

Media Image
Media Image
Media Image

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What advantage does a linked list have over an array?

A linked list can give you the data faster

It is easier to use

A linked list is not of a fixed size

It's better

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the best and worst-case time complexity for searching for a value in a Linked List?

O(1) and O(log n)

O(1) and O(1)

O(1) and O(n^2)

O(1) and O(n)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Nodes in a linked list contain two things

Direction and a pointer

Data and a pointer

A Pointer and a reference

A pointer and a node

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an advantage of using a linked list over an array?

Size of the list doesn't need to be mentioned at the beginning of the program

You can add or remove elements from the middle of the list.

The linked list doesn't have a size limit,

Both of these are true.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How to delete node B

head->next=TempPtr; delete TemPtr;

delete TempPtr; head->next=TempPtr->next;

head->next=TempPtr->next; delete TempPtr;

delete head; head->next= TempPtr->next

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?