PDSA Quiz 1: 26 February 2023 (January 2023 term)
The IIT Madras BS Programming, Data Structures and Algorithms using Python (PDSA) Quiz 1 paper sat on 26 Feb 2023, in the January 2023 term: 16 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.
- 16
- 50
- 120 min
- 10
- 3
- 3
Show answer
Correct answer
Question 2
Show answer
Correct answer
Question 3
Show answer
Correct answer
Question 4
Show answer
Correct answer
Question 5
1-d, 2-a, 3-c, 4-b
1-d, 2-b, 3-c, 4-a
1-d, 2-a, 3-b, 4-c
1-c, 2-a, 3-d, 4-b
Show answer
Correct answer
1-c, 2-a, 3-d, 4-b
Question 6
Show answer
Correct answer
Question 7
Show answer
Correct answer
Question 8
Show answer
Correct answer
Question 9
5,2,4,6,7,1,3
5,2,3,1,4,7,6
5,2,1,4,7,6,3
5,2,1,3,4,6,7
Show answer
Correct answer
5,2,4,6,7,1,3
Question 10
3
4
5
6
7
Show answer
Correct answer
5
Question 11
Show answer
Correct answer: 9
Question 12
Show answer
Correct answer: 5
Question 13
Show answer
Correct answer: 12
Question 14
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
Show answer
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 second node (from starting) of the linked list
Question 15
1,1,1,1,1,1
2,2,2,2,2,2
1,1,2,2,3,5
1,2,2,2,3,3
Show answer
Correct answers
2,2,2,2,2,2
1,1,2,2,3,5
Question 16
Which of the following statement(s) is/are true about Depth First Search (DFS) on an undirected and connected graph?
Show answer
Correct answers
