Linked Lists In Data Structures — Part 2 MCQs with Explanations
Practice high-yield Computer Science & IT MCQs on Linked Lists In Data Structures — Part 2 with worked academic solutions for PPSC, FPSC, CSS, PMS, NTS.
Questions
40
Difficulty Level
Exam-Level
Target Exams
PPSC, FPSC, CSS...
Estimated Time
48 mins
Exam-Level PPSC FPSC CSS PMS NTS
Verified for Commission Syllabus • Oct 14, 2026
40
Verified Practice Questions
Interactive test mode with detailed academic worked solutions
Live Progress|0/40 answered
✓0 correct
✗0 wrong
0% score
🎉 Set complete! All 40 questions answered.
Question 1 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
How do you efficiently find the kth to last element in a singly linked list?
Correct Answer: Option B — Using two pointers (k steps apart)
Detailed Academic Explanation:
Using two pointers (k steps apart) is the correct answer to “How do you efficiently find the kth to last element in a singly linked list”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 2 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following operations is most efficient in a singly linked list?
Correct Answer: Option C — Insertion at the beginning
Detailed Academic Explanation:
Insertion at the beginning is the correct answer to “Which of the following operations is most efficient in a singly linked list”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 3 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
In a linked list, what is a dummy node typically used for?
Correct Answer: Option A — To simplify insertion and deletion
Detailed Academic Explanation:
To simplify insertion and deletion is the correct answer to “In a linked list, what is a dummy node typically used for”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 4 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
In the above question would using arrays and swaping of elements in place of xor linked list would have been more efficient?
Correct Answer: Option B — yes arrays would have been better than xor lists
Detailed Academic Explanation:
yes arrays would have been better than xor lists is the correct answer to “In the above question would using arrays and swaping of elements in place of xor linked list would have been more efficient”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 5 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What are the disadvantages in implementing buddy system algorithm for free lists?
Correct Answer: Option D — both a and c are correct
Detailed Academic Explanation:
both a and c are correct is the correct answer to “What are the disadvantages in implementing buddy system algorithm for free lists”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 6 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
The self organizing list improves . . . . . . . .
Correct Answer: Option A — average access time
Detailed Academic Explanation:
average access time is the correct answer to “The self organizing list improves . . . . . . . .”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 7 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following is true about a triply linked list?
Correct Answer: Option A — Dynamic in nature
Detailed Academic Explanation:
Dynamic in nature is the correct answer to “Which of the following is true about a triply linked list”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 8 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Consider the following pseudocode of insertion in XOR list and write the approximate code snippet of it. void xor-linked-list insert(struct node **head_ref, int value) { node *new_node = new (struct node); new_node->value = value; new_node->nodepointerxored = xor (*head_ref, NULL); if (*head_pointer == NULL) { printf("invalid"); } else { let b,c,d are nodes and a is to be inserted at beginning, a address field must contain NULL xor b and b address filed must be a xor c. } *head_pointer = new_node; }
Correct Answer: Option A — node* next = XOR ((*head_ref)->npx, NULL); (*head_ref)->npx = XOR (new_node, next)
Detailed Academic Explanation:
node* next = XOR ((*head_ref)->npx, NULL); (*head_ref)->npx = XOR (new_node, next) is the correct answer to “Consider the following pseudocode of insertion in XOR list and write the approximate code snippet of it. void xor-linked-list insert(struct node **head_ref, int value) { node *new_node = new (struct node); new_node->value = value; new_node->nodepointerxored = xor (*head_ref, NULL); if (*head_pointer == NULL) { printf("invalid"); } else { let b,c,d are nodes and a is to be inserted at beginning, a address field must contain NULL xor b and b address filed must be a xor c. } *head_pointer = new_node; }”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 9 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which among the following is a typical declaration of an unrolled linked list in C?
Correct Answer: Option A — #define SIZE N struct node { int node_count; int arr[SIZE]; struct node *next; }
Detailed Academic Explanation:
#define SIZE N struct node { int node_count; int arr[SIZE]; struct node *next; } is the correct answer to “Which among the following is a typical declaration of an unrolled linked list in C”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 10 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Assume there is a free list which contains nodes and is filled with a value if it is already assigned and the value will be the size of requested block else will be 0. z = startpoint; while ((z < end) && \\ didn't reach end (*z <= len)) \\ too small to satisfy request { assign this block } The above code represents what?
Correct Answer: Option A — code for first fit
Detailed Academic Explanation:
code for first fit is the correct answer to “Assume there is a free list which contains nodes and is filled with a value if it is already assigned and the value will be the size of requested block else will be 0. z = startpoint; while ((z < end) && \\ didn't reach end (*z <= len)) \\ too small to satisfy request { assign this block } The above code represents what”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 11 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What does first and last nodes of a xor linked lists contain ? (let address of first and last be A and B)
Correct Answer: Option A — NULL xor A and B xor NULL
Detailed Academic Explanation:
NULL xor A and B xor NULL is the correct answer to “What does first and last nodes of a xor linked lists contain ? (let address of first and last be A and B)”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 12 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following data structure is preferred to have lesser search time when the list size is small?
Correct Answer: Option C — self organizing list
Detailed Academic Explanation:
self organizing list is the correct answer to “Which of the following data structure is preferred to have lesser search time when the list size is small”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 13 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What is xor linked list?
Correct Answer: Option A — uses of bitwise XOR operation to decrease storage requirements for doubly linked lists
Detailed Academic Explanation:
uses of bitwise XOR operation to decrease storage requirements for doubly linked lists is the correct answer to “What is xor linked list”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 14 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What are implicit and explicit implementations of freelists?
Correct Answer: Option A — garbage collection and new or malloc operators respectively
Detailed Academic Explanation:
garbage collection and new or malloc operators respectively is the correct answer to “What are implicit and explicit implementations of freelists”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 15 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which among the following is the time complexity for inserting an element in an unrolled linked list?
Correct Answer: Option B — O(n)
Detailed Academic Explanation:
O(n) is the correct answer to “Which among the following is the time complexity for inserting an element in an unrolled linked list”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 16 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following method performs poorly when elements are accessed in sequential order?
Correct Answer: Option B — move to front method
Detailed Academic Explanation:
move to front method is the correct answer to “Which of the following method performs poorly when elements are accessed in sequential order”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 17 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Skip lists are similar to which of the following datastructure?
Correct Answer: Option D — balanced binary search tree
Detailed Academic Explanation:
balanced binary search tree is the correct answer to “Skip lists are similar to which of the following datastructure”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 18 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What technique is used in Transpose method?
Correct Answer: Option A — searched node is swapped with its predecessor
Detailed Academic Explanation:
searched node is swapped with its predecessor is the correct answer to “What technique is used in Transpose method”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 19 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What happens if a node cannot fit an element in an unrolled linked list?
Correct Answer: Option B — The elements are moved to the next node
Detailed Academic Explanation:
The elements are moved to the next node is the correct answer to “What happens if a node cannot fit an element in an unrolled linked list”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 20 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Unrolled linked-list requires more storage space for pointers compared to a singly linked list.
Correct Answer: Option B — False
Detailed Academic Explanation:
False is the correct answer to “Unrolled linked-list requires more storage space for pointers compared to a singly linked list.”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 21 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What datastructures can be used in implementing a free list?
Correct Answer: Option B — linked list or sort trees
Detailed Academic Explanation:
linked list or sort trees is the correct answer to “What datastructures can be used in implementing a free list”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 22 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Consider the 2-level skip list How to access 38?
Correct Answer: Option A — travel 20-30-35-38
Detailed Academic Explanation:
travel 20-30-35-38 is the correct answer to “Consider the 2-level skip list How to access 38”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 23 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
To which datastructure are skip lists similar to in terms of time complexities in worst and best cases?
Correct Answer: Option A — balanced binary search trees
Detailed Academic Explanation:
balanced binary search trees is the correct answer to “To which datastructure are skip lists similar to in terms of time complexities in worst and best cases”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 24 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
The worst case running time of a linear search on the self organizing list is . . . . . . . .
Correct Answer: Option C — O(n)
Detailed Academic Explanation:
O(n) is the correct answer to “The worst case running time of a linear search on the self organizing list is . . . . . . . .”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 25 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Is a skip list like balanced tree?
Correct Answer: Option A — true
Detailed Academic Explanation:
true is the correct answer to “Is a skip list like balanced tree”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 26 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
For which of the following purpose a top pointer can be used?
Correct Answer: Option D — Storing equal values on the same level
Detailed Academic Explanation:
Storing equal values on the same level is the correct answer to “For which of the following purpose a top pointer can be used”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 27 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What's wrong with this code which returns xor of two nodes address? //struct is common userdefined datatype in c/c++ and class is it's alternative struct node* XOR (struct node *a, struct node *b) { //this logic is used to fill the nodes with address of a xor linked list return ((int) (a) ^ (int) (b)); }
Correct Answer: Option B — type casting at return is missing
Detailed Academic Explanation:
type casting at return is missing is the correct answer to “What's wrong with this code which returns xor of two nodes address? //struct is common userdefined datatype in c/c++ and class is it's alternative struct node* XOR (struct node *a, struct node *b) { //this logic is used to fill the nodes with address of a xor linked list return ((int) (a) ^ (int) (b)); }”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 28 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Suppose, in a triply linked list, the elements 2, 3, 3, 5, 5, 5 and 6 are inserted in the given sequence. To which of the following elements will the top pointer point, if the linked list is traversed starting from the head?
Correct Answer: Option C — 2 3 top → 3 5 top → 5 top → 5 6
Detailed Academic Explanation:
2 3 top → 3 5 top → 5 top → 5 6 is the correct answer to “Suppose, in a triply linked list, the elements 2, 3, 3, 5, 5, 5 and 6 are inserted in the given sequence. To which of the following elements will the top pointer point, if the linked list is traversed starting from the head”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 29 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
The algorithm given is for deleting an element in an unrolled linked list. What should be the correct statement for the blank given below? Find an element in node a a.data.delete(element) a.elementNum-- while a.elementNum < a.data.size / 2 put element from a.next.data in a.data a.next.elementNum-- a.elementNum++ if a.next.elementNum < a.next.data.size / 2 _______________________ _______________________
Correct Answer: Option A — merge nodes a and a.next delete node a.next
Detailed Academic Explanation:
merge nodes a and a.next delete node a.next is the correct answer to “The algorithm given is for deleting an element in an unrolled linked list. What should be the correct statement for the blank given below? Find an element in node a a.data.delete(element) a.elementNum-- while a.elementNum < a.data.size / 2 put element from a.next.data in a.data a.next.elementNum-- a.elementNum++ if a.next.elementNum < a.next.data.size / 2 _______________________ _______________________”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 30 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
The nodes in a skip list may have many forward references. their number is determined
Correct Answer: Option A — probabilistically
Detailed Academic Explanation:
probabilistically is the correct answer to “The nodes in a skip list may have many forward references. their number is determined”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 31 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What is a skip list?
Correct Answer: Option B — a linkedlist that allows faster search within an ordered sequence
Detailed Academic Explanation:
a linkedlist that allows faster search within an ordered sequence is the correct answer to “What is a skip list”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 32 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following is a drawback of an unrolled linked list?
Correct Answer: Option C — High overhead per node
Detailed Academic Explanation:
High overhead per node is the correct answer to “Which of the following is a drawback of an unrolled linked list”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 33 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following is not the properties of XOR lists?
Correct Answer: Option D — X⊕0 = 1
Detailed Academic Explanation:
X⊕0 = 1 is the correct answer to “Which of the following is not the properties of XOR lists”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 34 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following is true about the Move-To-Front Method for rearranging nodes?
Correct Answer: Option C — may over-reward infrequently accessed nodes
Detailed Academic Explanation:
may over-reward infrequently accessed nodes is the correct answer to “Which of the following is true about the Move-To-Front Method for rearranging nodes”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 35 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Are the below statements true about skiplists? In a sorted set of elements skip lists can implement the below operations i.given a element find closest element to the given value in the sorted set in O(logn) ii.find the number of elements in the set whose values fall a given range in O(logn)
Correct Answer: Option A — true
Detailed Academic Explanation:
true is the correct answer to “Are the below statements true about skiplists? In a sorted set of elements skip lists can implement the below operations i.given a element find closest element to the given value in the sorted set in O(logn) ii.find the number of elements in the set whose values fall a given range in O(logn)”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 36 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Where does a triply linked list contains an extra pointer in comparison to a doubly linked list?
Correct Answer: Option A — Top of the node
Detailed Academic Explanation:
Top of the node is the correct answer to “Where does a triply linked list contains an extra pointer in comparison to a doubly linked list”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 37 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
How are free blocks linked together mostly and in what addressing order?
Correct Answer: Option A — circular linked list and increasing addressing order
Detailed Academic Explanation:
circular linked list and increasing addressing order is the correct answer to “How are free blocks linked together mostly and in what addressing order”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 38 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Symbol tables during compilation of program is efficiently implemented using . . . . . . . .
Correct Answer: Option C — a self organizing list
Detailed Academic Explanation:
a self organizing list is the correct answer to “Symbol tables during compilation of program is efficiently implemented using . . . . . . . .”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 39 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following statements are true? i) practical application of XOR linked lists are in environments with limited space requirements, such as embedded devices. ii)xor lists are not suitable because most garbage collectors will fail to work properly with classes or structures that don't contain literal pointers iii)in order to calculate the address of the next node you need to remember the address of the previous node iv)xor lists are much efficient than single, doubly linked lists and arrays
Correct Answer: Option B — i, ii, iii
Detailed Academic Explanation:
i, ii, iii is the correct answer to “Which of the following statements are true? i) practical application of XOR linked lists are in environments with limited space requirements, such as embedded devices. ii)xor lists are not suitable because most garbage collectors will fail to work properly with classes or structures that don't contain literal pointers iii)in order to calculate the address of the next node you need to remember the address of the previous node iv)xor lists are much efficient than single, doubly linked lists and arrays”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
Question 40 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following is a typical declaration of a triply linked list in C?
Correct Answer: Option C — struct node { int data; struct node *next; struct node *previous; struct node *top; }
Detailed Academic Explanation:
struct node { int data; struct node *next; struct node *previous; struct node *top; } is the correct answer to “Which of the following is a typical declaration of a triply linked list in C”. This question is standard in competitive examination syllabi for Linked Lists In Data Structures.
💡Key Conceptual Anchor:Linked Lists In Data Structures
✓Link copied to clipboard
Continue Your Practice
Advanced Mapreduce Concepts — Part 1
Master the next curriculum module with 40 exam-standard MCQs.
In competitive commission exams (FPSC, PPSC, KPPSC, SPSC, CSS, PMS), questions are frequently phrased with distractor options designed to catch rote learners. Whenever you answer an MCQ, read the Detailed Academic Explanation and Conceptual Anchor to understand why the remaining options are incorrect.