CSC165 Discrete Structure

Discrete Structure TU Board 2080 (new course) question paper

12 questionsSit this paper (timed)

Tribhuvan University

Bachelor of Science in Computer Science and Information Technology

Semester 2 · TU Board 2080 (new course)

Course Title: Discrete Structure (CSC165)

Full Marks: 60Pass Marks: 24Time: 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.

Group A

Attempt any TWO question.(2 × 10 = 20)

  1. 1.

    How can you use mathematical induction to prove statements? Use mathematical induction to show that sum of first n positive integer is

    10
  2. 2.

    Explain linear homogeneous recurrence relation with constant coefficients. What is the solution of the recurrence relation a_n = 6a_n-1 – 9a_n-2 with initial conditions a_0 = 1 and a_1 = 6?

    10
  3. 3.

    What is shortest path problem? Use Dijkstra's shortest path algorithm to find the shorteszt path between vertices a and z in the weighted graph below:

    [figure in the original paper]

    10

Group B

Attempt any EIGHT question.(8 × 5 = 40)

  1. 4.

    Let us assume tha R be a relation on the set of ordered pair of positive integers such that ((a, b), (c, d)) ∈ R if and only if ad = bc. Is R an equivalence relation?

    5
  2. 5.

    Define function. Let f_1 and f_2 be function from R to R such that f_1(x) = x^2 and f_2(x) = x – x^2 . What are the functions f_1 + f_2 and f_1 . f_2?

    5
  3. 6.

    Explain fuzzy set with example. How do you find complement of a fuzzy set?

    5
  4. 7.

    What is congurent modulo? Determine whether 37 is congurent to 3 modulo 7 and wheather -29 is congurent to 5 modulo 17.

    5
  5. 8.

    Define network flow with example. What are saturated edge, unsaturated edge and slack value?

    5
  6. 9.

    Give an example of tautology and contradiction. Show that implication and contrapositive are equivalence.

    5
  7. 10.

    What is direct proof ? Give a direct proof that if m and n are both perfect squares, then mn is also a perfect square.

    5
  8. 11.

    What is product rule? How many strings are there of four lowercase letters that have the letter x in them?

    5
  9. 12.

    Explain the matrix representation of relations with example.

    5

— The End —