Presentation: BY D Group
Presentation: BY D Group
Presentation: BY D Group
com ************
Presentation
ON
BY
D Group
Member of D group
Privanka Dabhai
Insert at first in single linked list
Praful Aparnathi
Insert at Last in single linked list
Arpan Shah
Insert at Order in single linked list
Narendra Chauhan
Delete in single linked list
Ram Sanjay
Copy in single linked list
Rushabh Bhavsar
MCQ
Bhavisha Purohit
Index Of Linear Linked List
INDEX
1.Introduction
2.Algorithms
3.MCQ
Introduction Of Linked List
info Link
Introduction Of Linked List
Algorithms
→ Insert at first in single linked list
→ Insert at Last in single linked list
→ Insert at Order in single linked list
→ Delete in single linked list
→ Copy in single linked list
Insert at first in single linked
INSERT(X,FIRST)
INSERT_LAST(X,FIRST)
INSERT_ORD(X,FIRST)
Step 3: [Find X]
Repeat thru Step 5 while TEMP ≠ x and
LINK(TEMP) ≠ NULL
Step 7: [Delete X]
if X = FIRST (is X the First NODE?)
then FIRST ← LINK(FIRST)
else LINK(PRED) ← LINK(X)
1)A linear Structure in which the individual elements are joined together by
references to other elements in the structure is known as a_________
•Tree (b) Vector (c) Linked list (d) Table
2)A list that restricts insertions and removals to the front ( or top ) is known as a
(b) Linked list (b) stack (c) queue (d) frontal List
3)To Access an item in a singly linked list you must usa a _______ algorithm.
(b) Traversal (b) access (c) removal (d) insertion
4)Linked lists are collections of data items “lined up in row”-insertions and deletion can be made
only at the front and the back of a linked list.
(b) TRUE (b) FALSE
5)Self-referential objects can be linked together to from useful data structures such as
lists,queues,stacks and tree
(a) TRUE (b) FALSE
Linear Linked List MCQ PPT
7)The link field in the last node of the linked list contains
(a) NULL (b) link to the first node (c) pointer to the next element (d) Zero value
8)To delete a node at the beginning of the list, the location of the list is modified as the
address of the.
(a) Second element in the list (b)First element in the list (c) Last element in the list.
9) In the linked list representation of the stacks, the top of the stack is represented by
(a)The last node (b) Any of the nodes (c) First node
10) A linked list in which the last node points to the first is called a
(a) Doubly linked list (b) Circular list (c) Generalized list
THANK
YOU