My Report (&Account)

Singly Linked List Operation Test – 2


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

1. In Linked List implementation, a node carries information regarding ___________

2. Linked list is considered as an example of ___________ type of memory allocation.

3. Linked lists are not suitable for the implementation of ___________

4. Which of the following points is/are not true about Linked List data structure when it is compared with an array?

5. What kind of linked list is best to answer questions like “What is the item at position n?”

6. What does the following function do for a given Linked List with first node as head?

void fun1(struct node* head)
{
    if(head == NULL)
    return;
    fun1(head->next);
    printf("%d  ", head->data);
}

7. Which of the following sorting algorithms can be used to sort a random linked list with minimum time complexity?

8. Linked list data structure offers considerable saving in _____________


 

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.