Skip to main content

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
Question 1 of 40
★ PPSC ★ FPSC

How do you efficiently find the kth to last element in a singly linked list?

Question 2 of 40
★ PPSC ★ FPSC

Which of the following operations is most efficient in a singly linked list?

Question 3 of 40
★ PPSC ★ FPSC

In a linked list, what is a dummy node typically used for?

Question 4 of 40
★ PPSC ★ FPSC

In the above question would using arrays and swaping of elements in place of xor linked list would have been more efficient?

Question 5 of 40
★ PPSC ★ FPSC

What are the disadvantages in implementing buddy system algorithm for free lists?

Question 6 of 40
★ PPSC ★ FPSC

The self organizing list improves . . . . . . . .

Question 7 of 40
★ PPSC ★ FPSC

Which of the following is true about a triply linked list?

Question 8 of 40
★ 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; }

Question 9 of 40
★ PPSC ★ FPSC

Which among the following is a typical declaration of an unrolled linked list in C?

Question 10 of 40
★ 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?

Question 11 of 40
★ PPSC ★ FPSC

What does first and last nodes of a xor linked lists contain ? (let address of first and last be A and B)

Question 12 of 40
★ PPSC ★ FPSC

Which of the following data structure is preferred to have lesser search time when the list size is small?

Question 13 of 40
★ PPSC ★ FPSC

What is xor linked list?

Question 14 of 40
★ PPSC ★ FPSC

What are implicit and explicit implementations of freelists?

Question 15 of 40
★ PPSC ★ FPSC

Which among the following is the time complexity for inserting an element in an unrolled linked list?

Question 16 of 40
★ PPSC ★ FPSC

Which of the following method performs poorly when elements are accessed in sequential order?

Question 17 of 40
★ PPSC ★ FPSC

Skip lists are similar to which of the following datastructure?

Question 18 of 40
★ PPSC ★ FPSC

What technique is used in Transpose method?

Question 19 of 40
★ PPSC ★ FPSC

What happens if a node cannot fit an element in an unrolled linked list?

Question 20 of 40
★ PPSC ★ FPSC

Unrolled linked-list requires more storage space for pointers compared to a singly linked list.

Question 21 of 40
★ PPSC ★ FPSC

What datastructures can be used in implementing a free list?

Question 22 of 40
★ PPSC ★ FPSC

Consider the 2-level skip list How to access 38?

Question 23 of 40
★ PPSC ★ FPSC

To which datastructure are skip lists similar to in terms of time complexities in worst and best cases?

Question 24 of 40
★ PPSC ★ FPSC

The worst case running time of a linear search on the self organizing list is . . . . . . . .

Question 25 of 40
★ PPSC ★ FPSC

Is a skip list like balanced tree?

Question 26 of 40
★ PPSC ★ FPSC

For which of the following purpose a top pointer can be used?

Question 27 of 40
★ 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)); }

Question 28 of 40
★ 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?

Question 29 of 40
★ 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 _______________________ _______________________

Question 30 of 40
★ PPSC ★ FPSC

The nodes in a skip list may have many forward references. their number is determined

Question 31 of 40
★ PPSC ★ FPSC

What is a skip list?

Question 32 of 40
★ PPSC ★ FPSC

Which of the following is a drawback of an unrolled linked list?

Question 33 of 40
★ PPSC ★ FPSC

Which of the following is not the properties of XOR lists?

Question 34 of 40
★ PPSC ★ FPSC

Which of the following is true about the Move-To-Front Method for rearranging nodes?

Question 35 of 40
★ 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)

Question 36 of 40
★ PPSC ★ FPSC

Where does a triply linked list contains an extra pointer in comparison to a doubly linked list?

Question 37 of 40
★ PPSC ★ FPSC

How are free blocks linked together mostly and in what addressing order?

Question 38 of 40
★ PPSC ★ FPSC

Symbol tables during compilation of program is efficiently implemented using . . . . . . . .

Question 39 of 40
★ 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

Question 40 of 40
★ PPSC ★ FPSC

Which of the following is a typical declaration of a triply linked list in C?

✓ Link copied to clipboard
Continue Your Practice

Advanced Mapreduce Concepts — Part 1

Master the next curriculum module with 40 exam-standard MCQs.

Next Practice Set →

💡 Examiner's Advisory for Computer Science & IT

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.

More Modules in Computer Science & IT

View All →
📚

Study Guides

Topic summaries and syllabus breakdown

Explore Guides →
🎯

Complete Library

Search through 78,000+ verified MCQs

Browse Library →
📱

Mobile App

Offline mock tests and instant bookmarks

Get Mobile App →