Tribhuvan University
Bachelor of Science in Computer Science and Information Technology
Semester 2 · TU Board 2082
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.10
State inclusion-exclusion principle. For which number x is true that ?Let f and g be functions from {1, 2, 3, 4} to {a, b, c, d}, and from {a, b, c, d} to {1, 2, 3, 4}, respectively with f(1) = d, f(2) = c, f(3) = a, and f(4) = b, and g(a) = 2, g(b) = 1, g(c) = 3 and g(d) = 2.
- a. If f and g one-to-one?
- b. If f and g on-to?
- c. Does either f or g have an inverse? If so find this inverse.
- 2.10
How many ways are there to assign 24 students to five faculty advisors?
\vspace{0.5cm}
Find the solution of the recurrence relation
if - 3.10
Define an Euler circuit and Euler path in an undirected graph. Compute the maximal flow from the following network flow.
[figure in the original paper]
Answer comingAlso asked in 2078, 2076, 2075
Group B
Attempt any EIGHT question.(8 × 5 = 40)
- 4.5
Explain how the pigeonhole principle can be used to show that among any 11 integers, at least two must have the same last digit. Find a minimum spanning tree from the following graph where the degree of each vertex in the spanning tree does not exceed 2.
[figure in the original paper]
- 5.5
Find the solution to the system of congruences
using the Chinese Remainder Theorem. - 6.5
Suppose that on an island there are three types of people, knights, knaves, and normals. Knights always tell the truth, knaves always lie, and normals sometimes lie and sometimes tell the truth. Detectives questioned three inhabitants of the island — Amy, Brenda, and Claire — as part of the investigation of a crime. The detectives knew that one of the three committed the crime, but not which one. They also knew that the criminal was a knight, and that the other two were not. Additionally, the detectives recorded these statements: Amy: "I am innocent." Brenda: "What Amy says is true." Claire: "Brenda is not a normal." After analyzing their information, the detectives positively identified the guilty party. Who was it?
- 7.5
Use mathematical induction to prove that
- 8.5
Suppose that R is the relation on the set of strings of English letters such that aRb if and only if L(a) = L(b), where L(x) is the length of the string x. Is R an equivalence relation?
- 9.5
What is the negation of "This is a boring course"? Give a direct proof for the statement: "If n is even, then n + 4 is even."
- 10.5
Define well ordering property. Find the multiplicative inverse of 7 modulo 19 using Extended Euclidean Algorithm.
Answer comingAlso asked in 2081, 2080, 2079
- 11.5
What are the necessary conditions for a graph to be isomorphic? List and illustrate with an example.
Answer comingAlso asked in 2079
- 12.5
Solve the recurrence relationwith
— The End —