Discrete Structures 2074

Tribhuwan University
Institute of Science and Technology
2074
Bachelor Level / Second Semester / Science
Computer Science and Information Technology ( CSC160 )
( Discrete Structures )
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:(2 x10 = 20)

Group A

1. Define the term converse, contropositive and inverse.

2 marks view

2. Is the following argument valid? If Socrates is human, then Socrates is mortal Socrates is human.

 ∴ Socrates is mortal.

2 marks view

3. State the rule for the strong form of mathematical induction with prepositions.

2 marks view

4. State and prove " the extended pigeonhole principle".

2 marks view

5. Define the terms a language over a regular grammer and regular expression. 

2 marks view

6. Define linear homogeneous recurrence relation.

2 marks view

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

2 marks view

8. Distinguish between multigraph and pseudograph with suitable examples. 

2 marks view

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

2 marks view

10. What is regular graph ?

2 marks view

 Group B (5 x 4 = 20)

11. Express the statement " Everyone has exactly one best friend " as a logical expression involving predicates, quantifiers with a domain consisiting of all people and logical connectives.

4 marks view

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

(a) (pvq)rq*   (b) p(q q) r.

4 marks view

13. Explain the finite-state with output with suitable examples.

OR

Explain the deterministic finite state automata. When are two finite state automata equivalent?Give an example.

4 marks view

14. When does the two simple graphs G1 = m(V1, E1) and G2(V2, E2) are isomorphic. Show that the graph G = (V, E) and H = (W, F) displayed in the following figure are isomorphic.



4 marks view

15. Define rooted tree. Show that a full m-ary tree with i internal vertices contains n = mi + 1 vertices.

4 marks view

Group C (8 x 5 = 40)

16. Construct truth tables to determine whether the given statement is a tautology a contingency or an absurdity.

a) p ⇒ (q ⇒p)

b) q ⇒ (q ⇒p)

c) p ∧ ~ p

OR

Explain the method of proving theorems by direct indirect, controdiction and by cases.

8 marks view

17. Define linear homogenous recurssion relation of degree k with constant coefficient with suitable examples. What is the solution of recurrence relation an = 6 an-1 - 9 an-2 with a0 = 1 and a1 = 6?

8 marks view

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


8 marks view

19. What do you mean by spanning tree? Find a spanning tree of the simple graph G shown in figure.


A graph is connected if and only if it has a spanning tree.

OR

Prove that an undirected graph is a tree if and only if there is a unique simple path between any two of its vertices.

8 marks view

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

8 marks view