Discrete Structure 2070

Question Paper Details
Tribhuwan University
Institute of Science and Technology
2070
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. What is compound proposition? Discuss implication with suitable example.

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

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

Ram is hard working. If Ram is hard working, then he is intelligent. Therefore Ram is intelligent.

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

3. What is the coefficient of x12 y13 in the expansion of (2x – 3y)25 ?

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

4. Is the sequence {an} a solution of the recurrence relation an = -3an-1 + 4an-2 if an = 2n?

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

5. Define linear homogeneous recurrence relation of degree k with constant coefficients.

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

6. What is phrase-structure grammar?

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

7. What is regular expression?

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

8. What is chromatic number of a graph?

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

9. What is spanning tree?

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

10. State max-flow min-cut theorem.

2 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

Group B (5x4=20)

Official Answer
AI Generated Answer

AI is thinking...

11. How many bit strings of length eight either start with a 1 bit or end with two bits 00?

4 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

12. Discuss the importance of recurrence relations in the analysis of 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, 0, 1}, set of terminals T= {0, 1}; starting symbol S, and productions P= {S→11s, S→0}. Determine the language L(G) of this grammar.

4 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

14. Discuss adjacency matrix representation of a graph with suitable example.

4 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

15. Prove that “a simple graph is connected if and only if it has a spanning tree”.

4 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

Group C (5x8=40)

Official Answer
AI Generated Answer

AI is thinking...

16. What is mathematical induction? Use mathematical induction to prove that1.1! + 2.2! + ... + n.n! = (n+1)! – 1, wherever n is a positive integer.

8 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

17. Solve the recurrence relation an = 2an-1 + 2an-2 + 2an-3 for n ≥ 3, a0 = 3, a1 = 6 and a2 = 9.

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 without output with suitable example. What are the strings in the regular set specified by the regular expression 0* 1*?

8 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

19. Define an Euler circuit and Euler path in an undirected graph. How can it be determined whether an undirected graph has an Euler circuit and an Euler path? Explain with suitable example.

8 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

20. Define maximal flow and minimal cut and state and prove min-cut max-flow theorem.

OR

Find a maximal flow for the network shown in the figure below:


8 marks
Details
Official Answer
AI Generated Answer

AI is thinking...