Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 3 subjective questions Introduction to Linked Lists

INT322 — Computing System And Technologies 20 questions with model answers. Write yours first, then compare.

Read the notes Practice MCQs
  1. Question 1 of 20

    Define a linked list. Explain the structure of a node in a singly linked list and the role of the head pointer.

  2. Question 2 of 20

    Describe how a singly linked list can be implemented using a self-referential structure. Include the steps required to create the first node.

  3. Question 3 of 20

    Explain the traversal of a singly linked list. Write an algorithm and state its time and space complexity.

  4. Question 4 of 20

    Describe the procedure for inserting a new node at the beginning of a singly linked list. Illustrate the pointer changes.

  5. Question 5 of 20

    Explain how a node is inserted at the end of a singly linked list. Discuss the cases of an empty and a non-empty list.

  6. Question 6 of 20

    Describe an algorithm to insert a node at a specified position in a singly linked list. Explain how invalid positions should be handled.

  7. Question 7 of 20

    Explain how the first node is deleted from a singly linked list. Why must the removed node be released?

  8. Question 8 of 20

    Describe the deletion of the last node from a singly linked list. Explain the special cases that must be considered.

  9. Question 9 of 20

    Develop an algorithm to delete the first node containing a specified key from a singly linked list. Explain all possible outcomes.

  10. Question 10 of 20

    What are linked list underflow and overflow conditions? Explain when each condition occurs and how it should be handled.

  11. Question 11 of 20

    Compare a singly linked list with an array in terms of memory organization, size, access, insertion, and deletion.

  12. Question 12 of 20

    Define a tree as a data structure. How does a tree differ conceptually from a linear data structure such as a linked list?

  13. Question 13 of 20

    Explain the tree terms root, edge, parent, child, siblings, and leaf with the help of a suitable example.

  14. Question 14 of 20

    Define degree, level, depth, and height in a tree. Clearly distinguish the height of a node from the height of a tree.

  15. Question 15 of 20

    What are a path and a subtree in a tree? Explain how path length is measured and how a subtree is formed.

  16. Question 16 of 20

    Explain the concept of a binary tree. State important properties of binary trees and distinguish a binary tree from a general tree.

  17. Question 17 of 20

    Define a binary search tree. Explain its ordering property and describe how searching, insertion, and deletion are conceptually performed.

  18. Question 18 of 20

    Explain preorder traversal of a binary tree. Give its recursive algorithm and determine the preorder sequence for a tree with root A, children B and C, children D and E under B, and right child F under C.

  19. Question 19 of 20

    Explain inorder traversal of a binary tree. Give its recursive algorithm and state its special significance for a binary search tree.

  20. Question 20 of 20

    Explain postorder traversal and compare preorder, inorder, and postorder traversals. Mention one practical use of each traversal.

That's unit 3

Long answers stick best when they're tested again soon. Run the MCQs on this unit, then come back to the questions you found hardest.