Discrete Structure 2068

Question Paper Details
Tribhuwan University
Institute of Science and Technology
2068
Bachelor Level / Second Semester / Science
Computer Science and Information Technology ( CSC-152 )
( Discrete Structure )
Full Marks: 80
Pass Marks: 32
Time: 3 hours
Candidates are required to give their answers in their own words as far as practicable.
The figures in the margin indicate full marks.

Attempt all questions:

Official Answer
AI Generated Answer

AI is thinking...

Group A (10x2=20)

Official Answer
AI Generated Answer

AI is thinking...

1. Define disjunction and conjunction with suitable examples.

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

2. Is the following argument valid?

Smoking is healthy.

If smoking is healthy, then cigarettes are prescribed by physicians.

∴Cigarettes are prescribed by physicians

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

3. State the rules for the strong form of mathematical induction with propositions.

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

4. State and prove “the extended pigeonhole principle”.

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

5. Define the terms a language over a vocabulary and the phrase – structure grammar.

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

6. Distinguish between binary tree and spanning tree with suitable examples.

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

7. Consider Kn, the complete graph on n vertices. What is the degree of each vertex?

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

8. Explain the static transition function of the finite state machine with a suitable table.

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

9. Define regular expression over a non-empty set A.

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

10. What is the chromatic number of the complete bipartite graph, where m and n are positive integers?

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

Group B (5x4=20)

Official Answer
AI Generated Answer

AI is thinking...

11. Explain the rules of inference for quantified statements.

4 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

12. Let A = {p, q, r}. Give the regular set corresponding to the regular expression given:

a) (p v q ) ┌  q*    b) p( q q )* r.

4 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

13. Find an explicit formula for the Fibonacci sequence defined by

fn = fn−1 + fn−2 ,  f1 = f2 = 1

4 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

14. Define finite – state machines with output.

4 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

15. Show that the maximum number of vertices in a binary tree of height n is 2n+1 − 1.

OR

Draw all possible unordered trees on the set {a, b, c}.

4 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

Group C (5x8=40)

Official Answer
AI Generated Answer

AI is thinking...

16. Construct the transition table of the finite – state machine whose diagraph is shown?


8 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

17.  Let G = ( V, S, v0, |→), where V = { v0, x, y, z}, S = {x, y, z } and

|→ : v0 |→ xv0

v0 |→ yv0

v0 |→ z

What is L(G), the language of this grammar?

8 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

18. Find a maximum flow in the network shown in figure


8 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

19. Prove that a symmetric connected relation has a undirected spanning tree.

OR

Give a simple condition on the weights of a graph that will guarantee that there is a unique maximal spanning tree for the graph.

8 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

20. Use Fleury’s algorithm to construct an Euler circuit for the following graph.

OR

Explain the concept of network flows and max-flow min- cut with suitable examples.

8 marks
Details
Official Answer
AI Generated Answer

AI is thinking...