Quiz Space

Advanced Algorithms Quiz 1: 29 October 2023 (September 2023 term)

Question 1

+3 marksOne correct option

Which of the following statements is true?

Statement 1: For every graph GG and every maximum flow on GG, there always exists an edge such that increasing the capacity on that edge will increase the maximum flow that's possible in the graph.

Statement 2: Suppose the maximum (s,t)(s,t)-flow of some graph has value ff. Now we increase the capacity of every edge by 1. Then the maximum (s,t)(s,t)-flow in this modified graph will have value at most f+1f + 1.

  1. A

    Statement 1

  2. B

    Statement 2

  3. C

    Both statements

  4. D

    Neither statement

Question 2

+2 marksOne correct option

Consider the following instance of the stable matching problem for 4 men (PQRS) and 4 women (WXYZ).

P: W > X > Y > Z
Q: X > Y > Z > W
R: W > X > Z > Y
S: X > Y > W > Z

and

W: S > Q > R > P
X: P > S > Q > R
Y: R > P > Q > S
Z: R > P > S > Q

Consider the following matching: M = {(P, W), (Q, X), (R, Z), (S, Y)}.

Which of the following is a blocking pair in the matching above?

  1. A

    (P-X)

  2. B

    (Q-Y)

  3. C

    (R-W)

  4. D

    (S-X)

Question 3

+3 marksNumerical answer

Consider 4 sets as follows: W={w1,w2,w3}W = \{w_1, w_2, w_3\}, X={x1,x2}X = \{x_1, x_2\}, Y={y1,y2,y3}Y = \{y_1, y_2, y_3\} and Z={z1,z2}Z = \{z_1, z_2\}. Suppose we are also given capacity constraints are as follows:

c(w2)=c(y1)=c(y3)=1,c(w_2) = c(y_1) = c(y_3) = 1,

c(w1)=c(w3)=c(x2)=c(y2)=c(z1)=2,c(w_1) = c(w_3) = c(x_2) = c(y_2) = c(z_1) = 2,

c(x1)=c(z2)=3c(x_1) = c(z_2) = 3

c(wi,xj)=1, for all wi∈W and all xj∈X,c(w_i, x_j) = 1, \text{ for all } w_i \in W \text{ and all } x_j \in X,

c(yi,zj)=1, for all yi∈Y and all zj∈Zc(y_i, z_j) = 1, \text{ for all } y_i \in Y \text{ and all } z_j \in Z

c(x1,y1)=1,c(x1,y2)=2,c(x1,y3)=1c(x_1, y_1) = 1, c(x_1, y_2) = 2, c(x_1, y_3) = 1

c(x2,y1)=0,c(x2,y2)=2,c(x2,y3)=1.c(x_2, y_1) = 0, c(x_2, y_2) = 2, c(x_2, y_3) = 1.

Identify the size of a largest collection of 4-tuples from the sets W,X,YW, X, Y and ZZ satisfying the given constraints.

18 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 Advanced Algorithms Quiz 1 29 Oct 2023 paper

The IIT Madras BS Advanced Algorithms (Advanced Algorithms) Quiz 1 paper sat on 29 Oct 2023, in the September 2023 term: 21 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.

FeatureAdvanced Algorithms Quiz 1 29 Oct 2023 at a glance
TermSeptember 2023 term
SubjectAdvanced Algorithms
Course codeBSCS4021
Questions21
Marks50
Duration120 min
MCQ12
Numerical8
MSQ1
Official paperIIT M DEGREE AN2 EXAM QPE2 29 Oct 2023
Negative markingNo negative marking.
Updated

Same Quiz 1, other subjects

More Advanced Algorithms