Advanced Algorithms End Term 1 Sept 2024 — Question 6
Show answer
Correct answer
Question 6 of 53 in the IIT Madras BS Advanced Algorithms (Advanced Algorithms) End Term paper sat on 1 Sept 2024, in the May 2024 term (IIT M DEGREE AN EXAM QDB3 01 Sep 2024). It carries 3 marks.
More questions from this paper
- Figure question
- Figure question
- In this problem you are given as input a graph T = (V, E) that is a tree (that is, T is undirected, connected, and acyc…
- Which of the following statements is true?\ Statement 1: For every graph G and every maximum flow on G, there always ex…
- Recall the max-flow problem: for a directed graph G(V, E) with non-negative capacities c_e for every e \in E and two sp…
- A subset S of vertices in an undirected graph G is half-independent if each vertex in S is adjacent to at most one othe…
- Can the disk with dimensions [2,1,2] be placed above [3,2,3]?
- Can the disk with dimensions [2,2,2] be placed above [3,2,3]?
- Suppose the input consists of the following triplets: [[3, 5, 7], [3, 2, 2], [3, 1, 1], [5, 5, 9]]. What’s the answer?
- Our approach will be to building a DP table of the same length as the array of disks. Let d_i denote the i^{th} disk in…
- With the same notation as in the previous question, consider the following alternate approach. We process the DP array …
- With the same notation as in the previous questions, consider the following alternate approach. We first organize the d…
- What is the complexity of this algorithm?
- If we have 1 die with 6 sides, how many ways can we achieve a target sum of 4?
- If we have 3 dice with 17 sides each, how many ways can we achieve a target sum of 7?
- Suppose the input consists of 3 dice, each with 4 sides, and the target sum is 9. What’s the answer?
- In which of the following scenarios will the answer be zero?
- If we have one die with six sides, what are the achievable targets?
- Let DP[N,T ] denote the number of ways to achieve a target sum of T > 0 using N > 0 dice. Which of the following recurs…
- What is the value of DP[0, 0]?
- What is the value of DP[0, T ] for any T > 0?
- What is the value of DP[N , 0] for any N > 0?
- What is the value of DP[N , T ] if T \< N ?
- What is the complexity of this algorithm ?
- Based on the above data, answer the given subquestions.
- Based on the above data, answer the given subquestions.
- Based on the above data, answer the given subquestions.
- In this given subquestion, we will examine the relationship of treewidth with other graph parameters. Let G be an undir…
- In this given subquestion, we will examine the relationship of treewidth with other graph parameters. Let G be an undir…
- In this given subquestion, we will examine the relationship of treewidth with other graph parameters.
- If the ILP is feasible, its optimal solution must be greater than or equal to 54.3
- If the ILP is feasible, its optimal solution must be less than or equal to 54.3.
- It is possible that the ILP’s optimal solution (if it exists) will be 50 ×10²³³¹.
- It is possible that the ILP’s optimal solution (if it exists) will also be 54.3.
- The ILP is guaranteed to be feasible.
- What is the size of each Ai?
- Based on the above data, answer the given subquestions.
- Based on the above data, answer the given subquestions.
- For n = 4, calculate the number of sequences of length 3 consisting only of numbers 0, 1, and 2 such that each number o…
- For n = 6, calculate the number of sequences of length 5 consisting only of numbers 0, 1, and 2 such that each number o…
- How many numbers in the interval [1; r] are divisible by pi ? The answer to this question is:
- The final answer is:
- A graph is called a cluster graph if and only if it is a disjoint union of cliques. Recall that a clique is a graph whe…
- A graph is called a cluster graph if and only if it is a disjoint union of cliques. Recall that a clique is a graph whe…
- A graph is called a cluster graph if and only if it is a disjoint union of cliques. Recall that a clique is a graph whe…
- A graph is called a cluster graph if and only if it is a disjoint union of cliques. Recall that a clique is a graph whe…
- A graph is called a cluster graph if and only if it is a disjoint union of cliques. Recall that a clique is a graph whe…
- A graph is called a cluster graph if and only if it is a disjoint union of cliques. Recall that a clique is a graph whe…
- A graph is called a cluster graph if and only if it is a disjoint union of cliques. Recall that a clique is a graph whe…
- A graph is called a cluster graph if and only if it is a disjoint union of cliques. Recall that a clique is a graph whe…
- A graph is called a cluster graph if and only if it is a disjoint union of cliques. Recall that a clique is a graph whe…
- A graph is called a cluster graph if and only if it is a disjoint union of cliques. Recall that a clique is a graph whe…