Quiz Space

PDSA Quiz 2: 3 August 2025 (May 2025 term)

Question 1

+4 marksOne correct option
  1. A
  2. B
  3. C
  4. D

Question 2

+4 marksOne correct option
  1. A

    [12, 18, 20, 19, 32, 37, 27, 26, 29]

  2. B

    [12, 18, 20, 19, 32, 27, 37, 29, 26]

  3. C

    [12, 18, 19, 20, 27, 32, 37, 29, 26]

  4. D

    [12, 20, 18, 19, 32, 27, 37, 26, 29]

Question 3

+3 marksOne correct option

Consider the given statements below about Prim's algorithm's behaviour and properties. i. The choice of the starting vertex can lead to different Minimum Spanning Trees if multiple MSTs exist with the same total weight.
ii. Prim's algorithm first sorts all edges in the graph by weight.
iii. The algorithm maintains a set of visited vertices and, at each step, selects the minimum weight edge connecting a visited vertex to an unvisited vertex.
Which of the given statements are True?

  1. A

    Statements i and ii

  2. B

    Statements ii and iii

  3. C

    Statements i and iii

  4. D

    All statements i, ii and iii

13 more questions in this paper

Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.

More on the PDSA Quiz 2 3 Aug 2025 paper

The IIT Madras BS Programming, Data Structures and Algorithms using Python (PDSA) Quiz 2 paper sat on 3 Aug 2025, in the May 2025 term: 16 questions for 50 marks in 120 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.

FeaturePDSA Quiz 2 3 Aug 2025 at a glance
TermMay 2025 term
SubjectProgramming, Data Structures and Algorithms using Python
Course codeBSCS2002
Questions16
Marks50
Duration120 min
MCQ10
MSQ3
Numerical3
Official paperIIT M DEGREE AN EXAM QDB2 03 Aug 2025
Negative markingNo negative marking.
Updated

Same Quiz 2, other subjects

More PDSA