Discrete Structure 2073

Question Paper Details
Tribhuwan University
Institute of Science and Technology
2073
Bachelor Level / Second Semester / Science
Computer Science and Information Technology ( CSC-152 )
( Discrete Structure )
Full Marks: 60
Pass Marks: 24
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 Question :

Official Answer
AI Generated Answer

AI is thinking...

1. Show that the implication and its contrapositive are logically equivalent.

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

2. Which rule of inference is used in the following argument?

If I work all night on this homework, then I can answer all the exercise. IF answer

all the exercise, I will understand all the material. Therefore, if I work all night on

this homework, then I will understand the material.

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

3. Use binomial coefficient in the expansion of (x + y)4.

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

4. Determine whether the sequence {an} is solution of the recurrence relation an =2an−1 − an−2 where an = 3n.

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

5. Define linear nonhomogeneous recurrence relation of degree k with coefficients.

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

6. What is context free grammar?

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

7. Differentiate between DFA and NFA.

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

8. What is bipartite graph?

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

9. What is decision tree?

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

10.Define saturated and unsaturated edge?

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

Group B (5 x 4 = 20)

Official Answer
AI Generated Answer

AI is thinking...

11. State and prove pigeonhole principle. What is the minimum number of student required in a discrete mathematics class to be sure that at least six receive the same grade, if there are five possible grades A, B, C, D, and F?

4 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

12. Discuss the importance of recurrence relation in the analysis pf divide – and – conquer algorithms.

4 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

13. Let G be the grammar with vocabulary V= {S, A, a, b}, set of terminals T ={a,b}, starting symbol S, and productions P ={S→aA, S→b, A→aa}. What is L(G), the language of this grammar?

4 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

14. What is planar graph? Show that K3,3 is non-planar.

4 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

15. Prove that “a tree with n vertices has n-1 edges”.

4 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

Group C (5 x 8=40)

Official Answer
AI Generated Answer

AI is thinking...

16. Discuss direct =, indirect and vacuous proof with suitable example.

8 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

17. Find the solution to the recurrence relation an = 6an−1 − 11an−2 + 6an−3 with the initial conditions a0 = 2, a1 = 5, and a2 = 15.

OR

Find the explicit formula for the Fibonacci numbers. Use fn = fn−1 + fn−2 as recursive condition and f0 = 0 and f1 = 1 as initial condition.

8 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

18. Discuss finite state machine with output with suitable example. What are the strings in the regular set specified by the regular expression 01*0?

8 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

19. Describe Dijkstra’s algorithm for finding the shortest path in a weighted graph between two vertices with suitable example.

8 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

20. Find all S-D cuts in the following transport network. What is the value of a maximal flow?


8 marks
Details
Official Answer
AI Generated Answer

AI is thinking...