Design And Analysis Of Algorithms Set 15

On This Page

This set of Design and Analysis of Algorithms Multiple Choice Questions & Answers (MCQs) focuses on Design And Analysis Of Algorithms Set 15

Q1 | Find the maximum flow from the following graph.
  • 22
  • 17
  • 15
  • 20
Q2 | A simple acyclic path between source and sink which pass through only positive weighted edges is called?
  • augmenting path
  • critical path
  • residual path
  • maximum path
Q3 | Dinic’s algorithm runs faster than the Ford-Fulkerson algorithm.
  • true
  • false
Q4 | Who is the formulator of Maximum flow problem?
  • lester r. ford and delbert r. fulkerson
  • t.e. harris and f.s. ross
  • y.a. dinitz
  • kruskal
Q5 | How many constraints does flow have?
  • one
  • three
  • two
  • four
Q6 | Stable marriage problem is an example of?
  • branch and bound algorithm
  • backtracking algorithm
  • greedy algorithm
  • divide and conquer algorithm
Q7 | Which of the following algorithms does Stable marriage problem uses?
  • gale-shapley algorithm
  • dijkstra’s algorithm
  • ford-fulkerson algorithm
  • prim’s algorithm
Q8 | An optimal solution satisfying men’s preferences is said to be?
  • man optimal
  • woman optimal
  • pair optimal
  • best optimal
Q9 | When a free man proposes to an available woman, which of the following happens?
  • she will think and decide
  • she will reject
  • she will replace her current mate
  • she will accept
Q10 | If there are n couples who would prefer each other to their actual marriage partners, then the assignment is said to be unstable.
  • true
  • false
Q11 | How many 2*2 matrices are used in this problem?
  • 1
  • 2
  • 3
  • 4
Q12 | What happens when a free man approaches a married woman?
  • she simply rejects him
  • she simply replaces her mate with him
  • she goes through her preference list and accordingly, she replaces her current mate with him
  • she accepts his proposal
Q13 | In case of stability, how many symmetric possibilities of trouble can occur?
  • 1
  • 2
  • 4
  • 3
Q14 | Which of the following happens?
  • w2 replaces m1 with m2
  • w2 rejects m2
  • w2 accepts both m1 and m2
  • w2 rejects both m1 and m2
Q15 | Who formulated a straight forward backtracking scheme for stable marriage problem?
  • mcvitie and wilson
  • gale
  • ford and fulkerson
  • dinitz
Q16 | Can stable marriage cannot be solved using branch and bound algorithm.
  • true
  • false
Q17 | What is the prime task of the stable marriage problem?
  • to provide man optimal solution
  • to provide woman optimal solution
  • to determine stability of marriage
  • to use backtracking approach
Q18 | Which of the following problems is related to stable marriage problem?
  • choice of school by students
  • n-queen problem
  • arranging data in a database
  • knapsack problem
Q19 | What is the efficiency of Gale-Shapley algorithm used in stable marriage problem?
  • o(n)
  • o(n log n)
  • o(n2)
  • o(log n)
Q20 |                            is a matching with the largest number of edges.
  • maximum bipartite matching
  • non-bipartite matching
  • stable marriage
  • simplex
Q21 | Maximum matching is also called as maximum cardinality matching.
  • true
  • false
Q22 | How many colours are used in a bipartite graph?
  • 1
  • 2
  • 3
  • 4
Q23 | What is the simplest method to prove that a graph is bipartite?
  • it has a cycle of an odd length
  • it does not have cycles
  • it does not have a cycle of an odd length
  • both odd and even cycles are formed
Q24 | A matching that matches all the vertices of a graph is called?
  • perfect matching
  • cardinality matching
  • good matching
  • simplex matching
Q25 | What is the length of an augmenting path?
  • even
  • odd
  • depends on graph
  • 1