Hello Peers, Today we are going to share** all week assessment and quizzes answers** of **Advanced Algorithms and Complexity **course launched by Coursera for totally free of cost✅✅✅. This is a certification course for every interested students.

In case you didn’t find this course for free, then you can** apply for financial ads** to get this course for totally free.

*Checkout this article for – “How to Apply for Financial Ads?”*

**Coursera**, a **India’s biggest learning platform** which launched millions of free courses for students daily. These courses are from various recognized university, where industry experts and professors teaches in a very well manner and in a more understandable way.

Here, you will find ** Advanced Algorithms and Complexity Exam Answers** in

**Bold Color**which are given below.

**These answers are updated recently and are** **100% correct**✅ **answers of all week, assessment and final exam answers of** **Advanced Algorithms and Complexity****from Coursera** **Free** **Certification Course.**

Use “Ctrl+F” To Find Any Questions Answer. & For Mobile User, You Just Need To Click On Three dots In Your Browser & You Will Get A “Find” Option There. Use These Option to Get Any Random Questions Answer.

Apply Now – Advanced Algorithms and Complexity

**Advanced Algorithms and Complexity Answer**

**Week- 1**

Flow Algorithms

1.

Question 1

Which vertices are in the minimum S-T cut in the network below?

1 point

- A
**B**- C
**D****E****S**- T

2.

Question 2

What is the augmenting path that will be used by the Edmonds-Karp algorithm to increase the flow given below?

1 point

- S-B-D-C-T
- S-B-A-C-D-T
**S-B-A-C-T**- S-B-T
- S-A-C-T

3.

Question 3

Which of the statements below is true?

1 point

**The sum of the capacities of the edges of a network equals the sum of the capacities of the edges of any residual network.**- The Edmonds-Karp algorithm is always faster than the Ford-Fulkerson algorithm.
**The Ford-Fulkerson algorithms runs in polynomial time on graphs with unit edge capacities.**

4.

Question 4

What is the size of the maximum matching of the following graph?

1 point

Enter answer here

4 |

5.

Question 5

Consider the image segmentation problem on a picture that is given by an n by n grid of pixels. Suppose that separation penalties are imposed only for adjacent pairs of pixels. If we use the Edmonds-Karp algorithm to solve this problem as described in class, the final runtime is O(n^a) for some a. What is the best such a?

1 point

5 |

Programming Assignment: Programming Assignment 1

**Week- 2**

Linear Programming Quiz

1.

Question 1

What is the minimum number of linear inequalities needed to define the figure pictured below?

1 point

Enter answer here

8 |

2.

Question 2

Given a solution to a linear program, one could try to show that it is optimal by finding a matching solution to the dual program. Which of the following theorems will make it easier to do so?

1 point

- Separation of convex sets from outside points by hyperplanes.
- Polytopes achieve optimum values at vertices.
**Complementary slackness.**

3.

Question 3

Which of the following statements are true?

1 point

**A system of linear equations has a solution unless they can be combined in some combination to give the equation 0=1.****A system of linear equations has always 0, 1, or infinitely many solutions.**- A system of n linear equations in n variables always has a unique solution.

4.

Question 4

Suppose that you are trying to solve the optimization problem:

Maximize v\cdot xv⋅x subject to Ax \geq bAx≥b for some A\in \mathbb{R}^{m\times n}A∈R

m×n

(i.e. trying to solve an optimization problem in nn variables with mm linear inequality constraints).

This problem can be reduced to running a solution finding algorithm on a different system of linear equations in kk variables. What is the smallest value of kk for which this can be done?

1 point

Enter math expression here

K=0 |

5.

Question 5

What is the largest possible value of x+y achievable by pairs x,y of real numbers satisfying the constraints:

x <= 7

y <= 10

2x+y <= 21

-x + 2y <= 12

5x-y <= 30

15 |

Programming Assignment: Programming Assignment 2

**Week- 3**

NP-complete Problems

1.

Question 1

How many satisfying assignments does the following formula have?

(x_1 \lor \overline{x}_2 \lor \overline{x}_3)(x_1 \lor x_2) (\overline{x}_1 \lor \overline{x}_2)(x

1

1 point

Enter answer here

3 |

2.

Question 2

How many integer solutions does the following linear program have?

x_1 \ge 0,\quad x_2 \ge 0,\quad 4x_1+3x_2 \le 12,\quad 3x_1+5x_2\le 15x

1

1 point

Enter answer here

10 |

3.

Question 3

Consider the following graph:

It has 6 different independent sets: empty set, \{A\}{A}, \{B\}{B}, \{C\}{C}, \{A, C\}{A,C}, \{B, C\}{B,C}.

How many different independent sets does the following graph have?

1 point

Enter answer here

7 |

4.

Question 4

In the 3-coloring problem, you are given an undirected graph and the goal is to assign one of three available colors to its vertices such that the ends of each edge of the graph receive different colors. This is clearly a search problem: given a graph and a coloring of its vertices, one can check in polynomial time whether there are only three different colors and that no edge is monochromatic. This problem is known to be NP-complete. Do we have a polynomial time algorithm for this problem?

1 point

**This is an open problem.**- Yes, this problem can be solved in polynomial time.
- No, this problem cannot be solved in polynomial time for sure.

5.

Question 5

In the lectures, we constructed a reduction from 3-SAT to Independent Set. Now, we show the reverse reduction. For this, we are going to reduce Independent set to SAT. We can then use the fact that SAT reduces to 3-SAT.

In the Independent Set problem we are given a graph GG with nn vertices \{1,2,\dotsc,n\}{1,2,…,n} and a positive integer bb. Our goal is to check whether the graph has bb vertices \{u_1,u_2,\dotsc,u_b\} \subseteq \{1,2,\dotsc,n\}{u

is equal to some vertex of the graph: for all 1 \le i \le b1≤i≤b, (x_{i1} \lor x_{i2} \lor \dotsb \lor x_{in})(x

.

The resulting formula is satisfiable if and only if the initial graph has an independent set of size bb.

Is this reduction correct?

1 point

- No, it is not correct, because for a graph that does not have an independent set of size bb it might produce an a satisfiable formula.
- No, it is not correct, because it might produce an unsatisfiable formula for a graph that has an independent set of size bb.
- No, it is not correct, because it is not a polynomial time reduction.
**Yes, the reduction is correct.**

6.

Question 6

How many satisfying assignments does the following circuit have?

3 |

Programming Assignment: Programming Assignment 3

**Week-4 **

Coping with NP-completeness

1.

Question 1

What is the weight of a minimum traveling salesman cycle in the following graph?

1 point

Enter answer here

110 |

2.

Question 2

Recall that the dynamic programming algorithm for the traveling salesman problem uses O(n^2 \cdot 2^n)O(n

2

⋅2

n

) time and O(n \cdot 2^n)O(n⋅2

n

) space (as usual, nn is the number of vertices). You are going to run this algorithm on a graph with 50 vertices. Roughly how much space is needed for this assuming that each cell of the dynamic programming table occupies 8 bytes? (See How much is 1 megabyte, gigabyte, etc?)

1 point

- Kilobyte
- Megabyte
- Gigabyte
- Terabyte
- Petabyte
**Exabyte**- Zettabyte
- Yottabyte

3.

Question 3

What is the maximum size of an independent set in the following tree?

1 point

Enter answer here

10 |

Programming Assignment: Programming Assignment 4

**Conclusion**

Hopefully, this article will be useful for you to find all the **Week, final assessment and Peer Graded Assessment Answers of Advanced Algorithms and Complexity of Coursera** and grab some premium knowledge with less effort. If this article really helped you in any way then make sure to share it with your friends on social media and let them also know about this amazing training. You can also check out our other course Answers. So, be with us guys we will share a lot more free courses and their exam/quiz solutions also and follow our Techno-RJ **Blog** for more updates.