Quiz Space

PDSA Quiz 2: 4 August 2024 (May 2024 term)

Question 1

+4 marksOne correct option
  1. A

    A, C, F, B, E, D

  2. B

    A, C, F, B, D, E

  3. C

    A, C, B, F, E, D

  4. D

    A, C, B, F, D, E

Question 2

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

Question 3

+3 marksOne correct option

Consider a directed graph G with equal edge weights. Which of the following algorithms is most efficient to compute the shortest distance between every pair of nodes in G?

  1. A

    Run BFS once on every node

  2. B

    Run Dijkstra’s algorithm once on every node

  3. C

    Run Bellman Ford’s algorithm once on every node

  4. D

    Run Floyd-Warshall algorithm

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 4 Aug 2024 paper

The IIT Madras BS Programming, Data Structures and Algorithms using Python (PDSA) Quiz 2 paper sat on 4 Aug 2024, in the May 2024 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 4 Aug 2024 at a glance
TermMay 2024 term
SubjectProgramming, Data Structures and Algorithms using Python
Course codeBSCS2002
Questions16
Marks50
Duration120 min
MCQ10
Numerical3
MSQ3
Official paperIIT M DIPLOMA AN EXAM QDD2 4 Aug 2024
Negative markingNo negative marking.
Updated

Same Quiz 2, other subjects

More PDSA