Tribhuvan University
Bachelor of Science in Computer Science and Information Technology
Semester 2 · TU Board 2075
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 questions:(2 x 10 = 20)(2 × 10 = 20)
- 1.10
What is S-D cut? For the following network flow find the maximal flow from S to D.
[figure in the original paper]
Answer comingAlso asked in 2082, 2078, 2076
- 2.10
Consider a set U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}. What will be the computer representation for set containing the numbers which are multiple of 3 not exceeding 6? Describe injective, Surjective and bijective function with example.
- 3.10
Compute the following values.
- a) 3 mod 4 b. 7 mod 5 c. -5 mod 3 d. 11 mod 5 e. -8 mod 6
Write down the recursive algorithm to find the value of b^n and prove its correctness using induction.
Group B
Attempt any eight questions:(8 x 5 = 40)(8 × 5 = 40)
- 4.5
Solve the recurrence relation a_n = 5a_n-1 – 6a_n-2 with initial conditions a_0 = 1 and a_1 = 2.
Answer comingAlso asked in 2081, 2080, 2078, 2076
- 5.5
Find the value of x such that x = 1 (mod 5) and x = 2 (mod 7) using Chinese remainder theorem.
Answer comingAlso asked in 2079, 2076
- 6.5
Prove that 5^n-1 is divisible by 4 using mathematical induction.
- 7.5
Let A = "Aldo is Italian" and B = "Bob is English". Formalize the following sentences in proposition.
- Aldo isn't Italian.
- Aldo is Italian while Bob is English.
- If Aldo is Italian then Bob Bob is not English.
- Aldo is Italian or if Aldo isn't Italian then Bob is English.
- Either Aldo is Italian and Bob is English, or neither Aldo is Italian nor Bob is English.
- 8.5
Define Eular path and Hamilton path with examples. Draw the Hasse diagram for the divisible relation on the set { 1, 2, 5, 8, 16, 32} and find the maximal, minimal, greatest and least element if exist.
- 9.5
What does primality testing means? Describe how Fermat's Little Theorem tests for a prime number with suitable example.
- 10.5
List any two applications of conditional probability. You have 9 families you would like to invite to a wedding. Unfortunately, you can only invite 6 families. How many different sets of invitations could you write?
- 11.5
Define spanning tree and minimum spanning tree. Mention the conditions for two graphs for being isomorphic with an example.
- 12.5
Prove that the product xy is odd if and only if both x and y are odd integers .
Answer comingAlso asked in 2078
— The End —