Design And Analysis Of Algorithms Set 16

On This Page

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

Q1 | In a bipartite graph G=(V,U,E), the matching of a free vertex in V to a free vertex in U is called?
  • bipartite matching
  • cardinality matching
  • augmenting
  • weight matching
Q2 | A matching M is maximal if and only if there exists no augmenting path with respect to M.
  • true
  • false
Q3 | Which one of the following is an application for matching?
  • proposal of marriage
  • pairing boys and girls for a dance
  • arranging elements in a set
  • finding the shortest traversal path
Q4 | Which is the correct technique for finding a maximum matching in a graph?
  • dfs traversal
  • bfs traversal
  • shortest path traversal
  • heap order traversal
Q5 | The problem of maximizing the sum of weights on edges connecting matched pairs of vertices is?
  • maximum- mass matching
  • maximum bipartite matching
  • maximum weight matching
  • maximum node matching
Q6 | Who was the first person to solve the maximum matching problem?
  • jack edmonds
  • hopcroft
  • karp
  • claude berge
Q7 | From the given graph, how many vertices can be matched using maximum matching in bipartite graph algorithm?
  • 5
  • 4
  • 3
  • 2
Q8 | The worst-case efficiency of solving a problem in polynomial time is?
  • o(p(n))
  • o(p( n log n))
  • o(p(n2))
  • o(p(m log n))
Q9 | Problems that can be solved in polynomial time are known as?
  • intractable
  • tractable
  • decision
  • complete
Q10 | The sum and composition of two polynomials are always polynomials.
  • true
  • false
Q11 |                    is the class of decision problems that can be solved by non- deterministic polynomial algorithms?
  • np
  • p
  • hard
  • complete
Q12 | Problems that cannot be solved by any algorithm are called?
  • tractable problems
  • intractable problems
  • undecidable problems
  • decidable problems
Q13 | The Euler’s circuit problem can be solved in?
  • o(n)
  • o( n log n)
  • o(log n)
  • o(n2)
Q14 | To which class does the Euler’s circuit problem belong?
  • p class
  • np class
  • partition class
  • complete class
Q15 | Halting problem is an example for?
  • decidable problem
  • undecidable problem
  • complete problem
  • trackable problem
Q16 | How many stages of procedure does a non- deterministic algorithm consist of?
  • 1
  • 2
  • 3
  • 4
Q17 | A non-deterministic algorithm is said to be non-deterministic polynomial if the time- efficiency of its verification stage is polynomial.
  • true
  • false
Q18 | How many conditions have to be met if an NP- complete problem is polynomially reducible?
  • 1
  • 2
  • 3
  • 4
Q19 | To which of the following class does a CNF-satisfiability problem belong?
  • np class
  • p class
  • np complete
  • np hard
Q20 | How many steps are required to prove that a decision problem is NP complete?
  • 1
  • 2
  • 3
  • 4
Q21 | Which of the following problems is not NP complete?
  • hamiltonian circuit
  • bin packing
  • partition problem
  • halting problem
Q22 | The choice of polynomial class has led to the development of an extensive theory called
  • computational complexity
  • time complexity
  • problem complexity
  • decision complexity
Q23 | Which of the following algorithm can be used to solve the Hamiltonian path problem efficiently?
  • branch and bound
  • iterative improvement
  • divide and conquer
  • greedy algorithm
Q24 | The problem of finding a path in a graph that visits every vertex exactly once is called?
  • hamiltonian path problem
  • hamiltonian cycle problem
  • subset sum problem
  • turnpike reconstruction problem
Q25 | Hamiltonian path problem is                    
  • np problem
  • n class problem
  • p class problem
  • np complete problem