Discrete Structure Model Question

Tribhuwan University
Institute of Science and Technology
Model Question
Bachelor Level / Second Semester / Science
Information Technology ( Na )
( Discrete Structure )
Full Marks: 60
Pass Marks: 24
Time: 3 hours

Section A

Long Answer Questions

Attempt any 2 questions.         [2*10=20]

1. Explain mathematical induction. Use mathematical induction to prove that the sum of the first n odd positive integers is n2 . What is recursively defined function? (2 + 6 + 2)

10 marks view

2. Define recurrence relation. What do you mean by linear homogenous recurrence of degree k with constant coefficients? What is the solution of the recurrence relation an = an-1 + an-2 with initial conditions and a0 = 0 and a1 = 1. (1 + 2 + 7)

10 marks view

3. What is shortest path finding problem? Use Dijkstra’s algorithm to find the length of the shortest path between a and z in the given weighted graphs. (2 + 8)

        

10 marks view

Section B

Short Answer Questions

Attempt any 8 questions.         [8*5=40]

4. What do you mean by converse, inverse, and contrapositive? Show that the sentences “if it is hot today then today is Sunday” and “if it is not Sunday then today is not hot” are logically equivalent. (3 + 2)

5 marks view

5. What direct proof? Give a direct proof of the theorem “If n is an odd integer, then n2 is an odd integer.” (1 + 4)

5 marks view

6. Let U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}. Use bit strings to find the union and intersection of the sets {1, 2, 3, 4, 5} and {1, 3, 5, 7, 9}.     (5)

5 marks view

7. Define celling and floor function. Explain Boolean function with example. (2 + 3)

5 marks view

8. How can we represent a relation using directed graph? Draw a directed graph of the relation R = {(1, 1), (1, 3), (2, 1), (2, 3), (2, 4), (3, 1), (3, 2), (4, 1)} on the set {1, 2, 3, 4}.         (2 + 3)

5 marks view

9. Explain Euclidean algorithm. Use Euclidean algorithm to find the greatest common divisor of 414 and 662. (2 + 3)

5 marks view

10. Differentiate permutation with combination. What is the next permutation in lexicographic order after 362541?         (2 + 3)

5 marks view

11. How can we represent a graph using Adjacency Matrix? Explain. (5) 

5 marks view

12. Define spanning tree. Explain minimum spanning tree with example.         (1 + 4)

5 marks view