MauryaHub PYQ Practice

Advanced Algorithms · End Term · Sep 2023 · FN

Advanced Algorithms · End Term · Sep 2023 FN

← Course papers · Start practice / exam

This page contains the reliably extracted subset, not the complete original paper.

Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.

0 / 24 published solutions

Question 157 NAT · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q157

Question 158 NAT · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q158

Question 159 MCQ · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406532333044.Source diagram or notation
6406532333045.Source diagram or notation
6406532333046.Source diagram or notation
6406532333047.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q159

Question 160 MCQ · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406532333048.
the first q days of the term
6406532333049.
the last q days of the term
6406532333050.
the middle q days of the term
6406532333051.
it makes no difference

A published solution is not available for this question yet.

Report a correction for Q160

Question 161 MCQ · 2.0 marks

Source diagram or notation
6406532333052.
TRUE
6406532333053.
FALSE

A published solution is not available for this question yet.

Report a correction for Q161

Question 162 MSQ · 3.0 marks

Choose the correct options
6406532333054.Source diagram or notation
6406532333055.Source diagram or notation
6406532333056.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q162

Question 163 MCQ · 3.0 marks

Source diagram or notation
6406532333057.
0
6406532333058.
1
6406532333059.
2
6406532333060.
3

A published solution is not available for this question yet.

Report a correction for Q163

Question 164 MCQ · 2.0 marks

You have been given a R × C chessboard, with a list of squares cut out. This problem will involve placing rooks on a chessboard, so that they cannot attack each other. For a rook to attack a target piece, it must share the same row or column as the target. Find the maximum number of rooks that can be placed on the chessboard, such that no pair of rooks can attack each other. Rooks cannot be placed on cut out squares. The cut out squares do not affect where the rooks can attack. Based on the above data, answer the given subquestions.
Source diagram or notation
6406532333061.Source diagram or notation
6406532333062.Source diagram or notation
6406532333063.Source diagram or notation
6406532333064.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q164

Question 165 MCQ · 2.0 marks

You have been given a R × C chessboard, with a list of squares cut out. This problem will involve placing rooks on a chessboard, so that they cannot attack each other. For a rook to attack a target piece, it must share the same row or column as the target. Find the maximum number of rooks that can be placed on the chessboard, such that no pair of rooks can attack each other. Rooks cannot be placed on cut out squares. The cut out squares do not affect where the rooks can attack. Based on the above data, answer the given subquestions.
What is the answer if R = C = N and all the squares on the topmost row and rightmost column (i.e, a L-shape) are cut out?
6406532333065.Source diagram or notation
6406532333066.Source diagram or notation
6406532333067.Source diagram or notation
6406532333068.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q165

Question 166 MCQ · 2.0 marks

You have been given a R × C chessboard, with a list of squares cut out. This problem will involve placing rooks on a chessboard, so that they cannot attack each other. For a rook to attack a target piece, it must share the same row or column as the target. Find the maximum number of rooks that can be placed on the chessboard, such that no pair of rooks can attack each other. Rooks cannot be placed on cut out squares. The cut out squares do not affect where the rooks can attack. Based on the above data, answer the given subquestions.
Consider the following bipartite graph: the set A is composed of elements corresponding to every row of the board, while set B consists of the columns. For each row add edges to every column if the corresponding square is not cut out of the board. What does the answer correspond to in this graph?
6406532333069.
the maximum vertex degree
6406532333070.
the number of edges in a minimum spanning forest
6406532333071.
the size of a maximum matching
6406532333072.
none of these

A published solution is not available for this question yet.

Report a correction for Q166

Question 167 MCQ · 2.0 marks

You have been given a R × C chessboard, with a list of squares cut out. This problem will involve placing rooks on a chessboard, so that they cannot attack each other. For a rook to attack a target piece, it must share the same row or column as the target. Find the maximum number of rooks that can be placed on the chessboard, such that no pair of rooks can attack each other. Rooks cannot be placed on cut out squares. The cut out squares do not affect where the rooks can attack. Based on the above data, answer the given subquestions.
What is the number of valid placements of N mutually non-attacking rooks if R = C = N and there are no cut out squares? Two placements are distinct if there is at least one square which has a rook in one of them and does not have a rook in the other.
6406532333073.
2N
6406532333074.
2\(^{N}\)
6406532333075.
N!
6406532333076.
N\(^{2}\)

A published solution is not available for this question yet.

Report a correction for Q167

Question 168 MCQ · 3.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Which DP table entries do we lookup to find Π({a, c, d}, 3)?
6406532333077.Source diagram or notation
6406532333078.Source diagram or notation
6406532333079.Source diagram or notation
6406532333080.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q168

Question 169 MCQ · 3.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Which DP table entries do we lookup to find Π({a, b, c}, 2)?
6406532333081.Source diagram or notation
6406532333082.Source diagram or notation
6406532333083.Source diagram or notation
6406532333084.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q169

Question 170 NAT · 1.0 marks

The three-bonaci numbers are defined as follows (please read the definition carefully, as it may not be the generalization of the popular Fibonacci numbers that you might expect):
Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q170

Question 171 NAT · 1.0 marks

The three-bonaci numbers are defined as follows (please read the definition carefully, as it may not be the generalization of the popular Fibonacci numbers that you might expect):
Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q171

Question 172 NAT · 1.0 marks

The three-bonaci numbers are defined as follows (please read the definition carefully, as it may not be the generalization of the popular Fibonacci numbers that you might expect):
Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q172

Question 173 MCQ · 3.0 marks

Source diagram or notation
6406532333088.Source diagram or notation
6406532333089.Source diagram or notation
6406532333090.Source diagram or notation
6406532333091.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q173

Question 174 MCQ · 2.0 marks

Consider the given statements and answer if they are true or false.
The worst-case running time and expected running time are equal to within constant factors for any randomized algorithm.
6406532333092.
TRUE
6406532333093.
FALSE

A published solution is not available for this question yet.

Report a correction for Q174

Question 175 MCQ · 2.0 marks

Consider the given statements and answer if they are true or false.
Source diagram or notation
6406532333094.
TRUE
6406532333095.
FALSE

A published solution is not available for this question yet.

Report a correction for Q175

Question 176 MCQ · 2.0 marks

Answer the given subquestions.
Every linear program has a unique optimal solution.
6406532333096.
TRUE
6406532333097.
FALSE

A published solution is not available for this question yet.

Report a correction for Q176

Question 177 MCQ · 2.0 marks

Answer the given subquestions.
Source diagram or notation
6406532333098.
Yes
6406532333099.
No

A published solution is not available for this question yet.

Report a correction for Q177

Question 178 MCQ · 2.0 marks

Answer the given subquestions.
Consider the algorithm in the previous question. Does the algorithm always output an optimal vertex cover?
6406532333100.
Yes
6406532333101.
No

A published solution is not available for this question yet.

Report a correction for Q178

Question 179 MCQ · 2.0 marks

Answer the given subquestions.
Consider the algorithm in the previous question. Does the algorithm always output a 2- approximate vertex cover?
6406532333102.
Yes
6406532333103.
No

A published solution is not available for this question yet.

Report a correction for Q179

Question 180 MCQ · 2.0 marks

Answer the given subquestions.
Recall that the size of an optimal vertex cover is at most twice the size of a maximum matching of a graph G. Are there examples of graphs where the size of the optimal vertex cover is **exactly** **equal** to twice the size of its maximum matching? For example, this is not true for a path on three vertices: the size of both the maximum matching and minimum vertex cover is 1.
6406532333104.
Yes
6406532333105.
No       **SPG** **Section Id :** 64065349297 **Section Number :** 8 **Section type :** Online **Mandatory or Optional :** Mandatory **Number of Questions :** 23 **Number of Questions to be attempted :** 23 **Section Marks :** 40 **Display Number Panel :** Yes **Section Negative Marks :** 0 **Group All Questions :** No **Enable Mark as Answered Mark for Review and** Yes **Clear Response :** **Maximum Instruction Time :** 0

A published solution is not available for this question yet.

Report a correction for Q180