DMCS (5th) Dec2017
DMCS (5th) Dec2017
SECTION-B
3. Explain the solution to the following problem:
(a) Traveling Salesman Problem.
o m
.r c
(b) Shortest path from a source vertex to destination vertex in a graph.
4. (a) Find an Euler path or Euler circuit, if it exists in the following graphs. If it does not exist,
explain why?
p e m
a o
r p .r c
b p e
(b) Prove that number of vertices of odd degree in a graph is always even.
5.
SECTION-C
p a
(a) What is meant by a state in a finite state machine (FSM)? What the difference between
r
deterministic and nondeterministic find State Automation.
b
(b) What is an algorithm? What is meant by time complexity of algorithm ? Define
notations used in analysis algorithms.
and
6. (a) What are distributive and complemented lattices? Establish De Morgan's laws in a
complemented, distributive lattice.
(b) In a distributive lattice, prove that a × b = a × c and . imply b=c:
SECTION-D
7. (a) Prove by mathematical induction that, for all
o m
.r c
p e m
a o
r p .r c
b p e
p a
b r