Question 1
Consider the following Python function:
If the function is called as: What value will the function return?
Consider the following Python function:
If the function is called as: What value will the function return?
Inscript Consider a connected undirected graph with vertices and edges. What is the minimum number of edges that must be added to to make it a complete graph?
Consider the following function:
What is the asymptotic running time of the function?
—
—
—
—
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.
The IIT Madras BS Programming, Data Structures and Algorithms using Python (PDSA) Quiz 1 paper sat on 19 Jul 2026, in the May 2026 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.
| Feature | PDSA Quiz 1 19 Jul 2026 at a glance |
|---|---|
| Term | May 2026 term |
| Subject | Programming, Data Structures and Algorithms using Python |
| Course code | BSCS2002 |
| Questions | 16 |
| Marks | 50 |
| Duration | 120 min |
| Written | 4 |
| MCQ | 8 |
| MSQ | 4 |
| Official paper | Programming, Data Structures And Algorithms Using Python 16 Jul 26 |
| Negative marking | No negative marking. |
| Updated |