My Report (&Account)

Free List Test


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)

1. Which of the following represents the space complexity for an unrolled linked list?

2. Insertion and deletion are much faster in an unrolled linked list than in a singly linked list.

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

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

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

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

7. An unrolled linked list consists of which of the following data structures?

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

9. 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
         _______________________
         _______________________

 

Start practicing “1000 MCQs on Data Structure”, and once you are ready, you can take tests on all topics by attempting our “Data Structure Test Series”.

advertisement
advertisement
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.