Question 1
+3 marksOne or more correct optionsSelect all that apply.
- A
- B
- C
- D

The IIT Madras BS Programming, Data Structures and Algorithms using Python (PDSA) Quiz 1 paper sat on 25 Feb 2024, in the January 2024 term: 15 questions for 50 marks in 120 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.
Correct answers
Correct answers
Correct answers
Insertion of the new node at the front of the linked list.
Insertion of the new node at the end of the linked list.
Deletion of the first node of the linked list.
Deletion of the last node of the linked list.
Deletion of the second node (from starting) of the linked list.
Correct answers
Insertion of the new node at the end of the linked list.
Deletion of the last node of the linked list.
Correct answers
Correct answer
Correct answer
Correct answer
[22, 25, 56, 67, 89]
[52, 25, 76, 67, 89]
[22, 25, 76, 67, 50]
[52, 25, 89, 67, 76]
Correct answer
[22, 25, 56, 67, 89]
1 2 3 4 5 5 4 3 2 1
5 4 3 2 1 1 2 3 4 5
5 4 3 2 1 5 4 3 2 1
1 2 3 4 5 1 2 3 4 5
Correct answer
1 2 3 4 5 1 2 3 4 5
Correct answer
Correct answer: 3
Correct answer: 4
Correct answer: 10
Correct answer: 6