MauryaHub PYQ Practice

Advanced Algorithms · Quiz 1 · May 2025

Advanced Algorithms · Quiz 1 · May 2025

← 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 / 26 published solutions

Question 108 MCQ · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406534313698.
True
6406534313699.
False

A published solution is not available for this question yet.

Report a correction for Q108

Question 109 MCQ · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406534313700.
True
6406534313701.
False

A published solution is not available for this question yet.

Report a correction for Q109

Question 110 MCQ · 3.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406534313702.
True
6406534313703.
False

A published solution is not available for this question yet.

Report a correction for Q110

Question 111 MCQ · 2.0 marks

Consider the given problem, called BoxDepth: Given a set of n axis-aligned rectangles in the plane, how big is the largest subset of these rectangles that contain a common point? For each statement given in the subquestions, determine if it is true or false.
There is a polynomial-time reduction from BoxDepth to MaxClique.
6406534313704.
True
6406534313705.
False

A published solution is not available for this question yet.

Report a correction for Q111

Question 112 MCQ · 2.0 marks

Consider the given problem, called BoxDepth: Given a set of n axis-aligned rectangles in the plane, how big is the largest subset of these rectangles that contain a common point? For each statement given in the subquestions, determine if it is true or false.
There is a polynomial-time algorithm for BoxDepth.
6406534313706.
True
6406534313707.
False

A published solution is not available for this question yet.

Report a correction for Q112

Question 113 MCQ · 2.0 marks

Consider the given problem, called BoxDepth: Given a set of n axis-aligned rectangles in the plane, how big is the largest subset of these rectangles that contain a common point? For each statement given in the subquestions, determine if it is true or false.
Only one of the statements in the previous question can be true assuming **P** ≠ **NP**.
6406534313708.
True
6406534313709.
False

A published solution is not available for this question yet.

Report a correction for Q113

Question 114 MCQ · 2.0 marks

Suppose your friend comes up with an algorithm to solve Partition in time O(nM), where n is the size of the input set and M is the sum of the absolute values of its elements. Which of the following statements is correct?
6406534313710.
Such an algorithm cannot be possibly correct, since it runs in polynomial time and Partition is NP-hard.
6406534313711.
Even if such an algorithm exists, then it does not imply that P=NP.

A published solution is not available for this question yet.

Report a correction for Q114

Question 115 MCQ · 2.0 marks

The problem AllOrNothing3Sat asks, given a 3CNF boolean formula, whether there is an assignment to the variables such that each clause either has three True literals or has three False literals. Consider the following statements: (1) There is a polynomial-time algorithm to solve AllOrNothing3Sat. (2) There is a polynomial-time reduction from 3SAT to AllOrNothing3Sat. Assuming P ≠ NP, which of the following is true?
6406534313712.
Both statements are true.
6406534313713.
Statement (1) is true and statement (2) is false.
6406534313714.
Statement (1) is false and statement (2) is true.
6406534313715.
Both statements are false.

A published solution is not available for this question yet.

Report a correction for Q115

Question 116 MSQ · 4.0 marks

Which of the following statements is true about a flow network?
6406534313716.
Increasing the capacity of one edge (u,v) by 1 can result in an increase of at most 1 in the max flow.
6406534313717.
Increasing the capacity of one edge (u,v) by 1 will result in an increase of at least 1 in the max flow.
6406534313718.
Decreasing the capacity of one edge (u,v) by 1 can result in a decrease of at most 1 in the max flow.
6406534313719.
Decreasing the capacity of one edge (u,v) by 1 will result in a decrease of at least 1 in the max flow.

A published solution is not available for this question yet.

Report a correction for Q116

Question 117 MCQ · 4.0 marks

Given a flow network (G, s, t, c) and a flow f, how will you determine if f is maximum flow?
6406534313720.
If there is any edge that is not saturated to full capacity, then we can conclude that f is not a maximum flow.
6406534313721.
If the residual graph does not have any augmenting paths then f is a maximum flow.
6406534313722.
If the value of the flow f is not the sum of the capacities of the edges coming out of the source s then f is not a maximum flow.
6406534313723.
If the value of the flow f is not the sum of the capacities of the edges coming into the sink t then f is not a maximum flow.

A published solution is not available for this question yet.

Report a correction for Q117

Question 118 MCQ · 2.0 marks

In this question, we consider a card game called SWISH. In the commercial version of SWISH, there are 60 transparent cards. Those cards are made up of three columns and four rows, they are obtained by placing a point in each ofthe four possible positions (accounting for symmetries), and then a circle in each of the other possible positions. Some example cards are shown below.
Source diagram or notation
Source diagram or notation
Based on the above data, answer the given subquestions.
SWISH-SPECIAL is in P.
6406534313724.
True
6406534313725.
False

A published solution is not available for this question yet.

Report a correction for Q118

Question 119 MCQ · 2.0 marks

In this question, we consider a card game called SWISH. In the commercial version of SWISH, there are 60 transparent cards. Those cards are made up of three columns and four rows, they are obtained by placing a point in each ofthe four possible positions (accounting for symmetries), and then a circle in each of the other possible positions. Some example cards are shown below.
Source diagram or notation
Source diagram or notation
Based on the above data, answer the given subquestions.
SWISH-SPECIAL is in NP.
6406534313726.
True
6406534313727.
False

A published solution is not available for this question yet.

Report a correction for Q119

Question 120 MCQ · 2.0 marks

In this question, we consider a card game called SWISH. In the commercial version of SWISH, there are 60 transparent cards. Those cards are made up of three columns and four rows, they are obtained by placing a point in each ofthe four possible positions (accounting for symmetries), and then a circle in each of the other possible positions. Some example cards are shown below.
Source diagram or notation
Source diagram or notation
Based on the above data, answer the given subquestions.
SWISH-SPECIAL is NP-hard.
6406534313728.
True
6406534313729.
False

A published solution is not available for this question yet.

Report a correction for Q120

Question 121 MCQ · 2.0 marks

In this question, we consider a card game called SWISH. In the commercial version of SWISH, there are 60 transparent cards. Those cards are made up of three columns and four rows, they are obtained by placing a point in each ofthe four possible positions (accounting for symmetries), and then a circle in each of the other possible positions. Some example cards are shown below.
Source diagram or notation
Source diagram or notation
Based on the above data, answer the given subquestions.
SWISH-SPECIAL is NP-complete.
6406534313730.
True
6406534313731.
False

A published solution is not available for this question yet.

Report a correction for Q121

Question 122 MCQ · 1.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406534313732.
Yes
6406534313733.
No

A published solution is not available for this question yet.

Report a correction for Q122

Question 123 MCQ · 1.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406534313734.
None
6406534313735.
One
6406534313736.
Three
6406534313737.
All

A published solution is not available for this question yet.

Report a correction for Q123

Question 124 MCQ · 1.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406534313738.
None
6406534313739.
One
6406534313740.
Three
6406534313741.
All

A published solution is not available for this question yet.

Report a correction for Q124

Question 125 MCQ · 1.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406534313742.
0
6406534313743.
1/5
6406534313744.
4/5
6406534313745.
1

A published solution is not available for this question yet.

Report a correction for Q125

Question 126 MCQ · 1.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406534313746.
0
6406534313747.
1/3
6406534313748.
2/3
6406534313749.
1

A published solution is not available for this question yet.

Report a correction for Q126

Question 127 MCQ · 1.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406534313750.
25
6406534313751.
60
6406534313752.
90
6406534313753.
120

A published solution is not available for this question yet.

Report a correction for Q127

Question 128 MCQ · 1.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406534313754.
25
6406534313755.
50
6406534313756.
90
6406534313757.
100

A published solution is not available for this question yet.

Report a correction for Q128

Question 129 MCQ · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406534313758.Source diagram or notation
6406534313759.Source diagram or notation
6406534313760.Source diagram or notation
6406534313761.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q129

Question 130 MCQ · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Further, if the good event occurs, then:
6406534313762.Source diagram or notation
6406534313763.Source diagram or notation
6406534313764.Source diagram or notation
6406534313765.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q130

Question 131 MCQ · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406534313766.Source diagram or notation
6406534313767.Source diagram or notation
6406534313768.Source diagram or notation
6406534313769.Source diagram or notation
6406534313770.Source diagram or notation
6406534313771.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q131

Question 132 MCQ · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406534313772.Source diagram or notation
6406534313773.Source diagram or notation
6406534313774.Source diagram or notation
6406534313775.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q132

Question 133 MCQ · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
We continue the notation from the previous question. Suppose the randomly assigned weights lead to the good event, that is, there is an unique perfect matching in G with minimum weight, and say this minimum weight is r. What can you say about the determinant of Z in this case?
6406534313776.Source diagram or notation
6406534313777.Source diagram or notation
6406534313778.Source diagram or notation
6406534313779.Source diagram or notation
      **LLM** **Section Id :** 64065391701 **Section Number :** 8 **Section type :** Online **Mandatory or Optional :** Mandatory **Number of Questions :** 16 **Number of Questions to be attempted :** 16 **Section Marks :** 50 **Display Number Panel :** Yes **Section Negative Marks :** 0 **Group All Questions :** No **Enable Mark as Answered Mark for Review and** No **Clear Response :** **Section Maximum Duration :** 0 **Section Minimum Duration :** 0 **Section Time In :** Minutes

A published solution is not available for this question yet.

Report a correction for Q133