NIELIT O Level Exam

The advantage of using linked lists over arrays is that

The advantage of using linked lists over arrays is that

सरणियों पर लिंक की गई सूचियों का उपयोग करने का लाभ यह है कि

A. Linked list is an example of linear data structure

B. Insertion and deletion of an element can be done at any position in a linked list

C. Linked list can be used to store a collection of homogenous and heterogeneous data types

D. The size of a linked list is fixed




Correct Answer is :

B. Insertion and deletion of an element can be done at any position in a linked list



Explanation
Insertion and deletion in a linked list can be done at any position. On the other hand, in an array, to insert an element at a specific position, the rest of the elements have to be moved one position to the left and to delete an element, all the elements after the deleted element have to be moved one position to the right.
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad