MauryaHub PYQ Practice

Advanced Algorithms · End Term · May 2025 · FN

Advanced Algorithms · End Term · May 2025 FN

← Course papers · Start practice / exam

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

0 / 21 published solutions

Question 26 MCQ · 3.0 marks

Source diagram or notation
6406534739723.
Neither algorithm always correctly determines whether or not a given tree graph has a perfect matching.
6406534739724.
Both algorithms always correctly determine whether or not a given tree graph has a perfect matching.
6406534739725.
Algorithm B always correctly determines whether or not a given tree graph has a perfect matching; algorithm A does not.
6406534739726.
Algorithm A always correctly determines whether or not a given tree graph has a perfect matching; algorithm B does not.

A published solution is not available for this question yet.

Report a correction for Q26

Question 27 MCQ · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406534739727.
3\(^{n}\)
6406534739728.
2\(^{n}\)
6406534739729.
n\(^{3}\)
6406534739730.
n\(^{2}\)

A published solution is not available for this question yet.

Report a correction for Q27

Question 28 MCQ · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406534739731.
2\(^{n}\)
6406534739732.
n
6406534739733.
1
6406534739734.
0

A published solution is not available for this question yet.

Report a correction for Q28

Question 29 MCQ · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406534739735.
3\(^{n}\)
6406534739736.
2\(^{n}\)
6406534739737.
1
6406534739738.
0

A published solution is not available for this question yet.

Report a correction for Q29

Question 30 NAT · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
For n = 4, calculate the number of sequences of length 4 consisting only of numbers 0, 1, and 2 such that each number occurs at least once.

A published solution is not available for this question yet.

Report a correction for Q30

Question 31 NAT · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
For n = 5, calculate the number of sequences of length 5 consisting only of numbers 0, 1, and 2 such that each number occurs at least once.

A published solution is not available for this question yet.

Report a correction for Q31

Question 32 MSQ · 3.0 marks

Source diagram or notation
6406534739741.
It is in P.
6406534739742.
It is in NP.
6406534739743.
It is NP-hard.
6406534739744.
It is NP-complete.

A published solution is not available for this question yet.

Report a correction for Q32

Question 33 MSQ · 3.0 marks

Choose the correct
6406534739747.Source diagram or notation
6406534739748.Source diagram or notation
6406534739749.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q33

Question 34 MCQ · 2.0 marks

Source diagram or notation
6406534739745.
TRUE
6406534739746.
FALSE

A published solution is not available for this question yet.

Report a correction for Q34

Question 35 MCQ · 3.0 marks

Source diagram or notation
6406534739750.
0
6406534739751.
1
6406534739752.
2
6406534739753.
3

A published solution is not available for this question yet.

Report a correction for Q35

Question 36 MCQ · 3.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406534739754.Source diagram or notation
6406534739755.Source diagram or notation
6406534739756.Source diagram or notation
6406534739757.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q36

Question 37 MCQ · 3.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406534739758.Source diagram or notation
6406534739759.Source diagram or notation
6406534739760.Source diagram or notation
6406534739761.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q37

Question 38 MCQ · 3.0 marks

Source diagram or notation
6406534739762.Source diagram or notation
6406534739763.Source diagram or notation
6406534739764.Source diagram or notation
6406534739765.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q38

Question 39 MCQ · 2.0 marks

Consider the following statements and answer the given subquestions 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.
6406534739766.
TRUE
6406534739767.
FALSE

A published solution is not available for this question yet.

Report a correction for Q39

Question 40 MCQ · 2.0 marks

Consider the following statements and answer the given subquestions if they are true or false.
Source diagram or notation
6406534739768.
TRUE
6406534739769.
FALSE

A published solution is not available for this question yet.

Report a correction for Q40

Question 41 MCQ · 2.0 marks

Answer the given subquestions.
Every linear program has a unique optimal solution.
6406534739770.
TRUE
6406534739771.
FALSE

A published solution is not available for this question yet.

Report a correction for Q41

Question 42 MCQ · 2.0 marks

Answer the given subquestions.
Source diagram or notation
6406534739772.
Yes
6406534739773.
No

A published solution is not available for this question yet.

Report a correction for Q42

Question 43 MCQ · 2.0 marks

Answer the given subquestions.
Consider the algorithm in the previous question no 18. Does the algorithm always output an optimal vertex cover?
6406534739774.
Yes
6406534739775.
No

A published solution is not available for this question yet.

Report a correction for Q43

Question 44 MCQ · 2.0 marks

Answer the given subquestions.
Consider the algorithm in the previous question no 18. Does the algorithm always output a 2- approximate vertex cover?
6406534739776.
Yes
6406534739777.
No

A published solution is not available for this question yet.

Report a correction for Q44

Question 45 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.
6406534739778.
Yes
6406534739779.
No

A published solution is not available for this question yet.

Report a correction for Q45

Question 46 MCQ · 3.0 marks

Source diagram or notation
6406534739780.Source diagram or notation
6406534739781.Source diagram or notation
6406534739782.Source diagram or notation
6406534739783.Source diagram or notation
      **DL(CV)** **Section Id :** 64065399589 **Section Number :** 3 **Section type :** Online **Mandatory or Optional :** Mandatory

A published solution is not available for this question yet.

Report a correction for Q46