BSc CSIT (TU) Science Discrete Structure (BSc CSIT, CSC160) Question Paper 2081 Nepal
This is the official BSc CSIT (TU) (Science stream) Discrete Structure (BSc CSIT, CSC160) question paper for 2081, as set in the regular annual examination. It carries 60 full marks and a time allowance of 180 minutes, across 12 questions. On Kekkei you can attempt this Discrete Structure (BSc CSIT, CSC160) past paper online with a timer, get instant AI feedback and step-by-step solutions, and track the topics where you lose marks — completely free. Whether you are revising for your BSc CSIT (TU) Discrete Structure (BSc CSIT, CSC160) exam or solving previous years' question papers, this 2081 paper is a great way to practise under real exam conditions.
Section A: Long Answer Questions
Attempt any TWO questions.
Define lattice. Explain partially ordered sets (poset) and draw a Hasse diagram for the divisibility relation on the set {1, 2, 3, 6, 12, 24, 36}. Identify the maximal, minimal, greatest and least elements.
Lattice
A lattice is a partially ordered set (poset) in which every pair of elements has both a least upper bound (LUB / join, ) and a greatest lower bound (GLB / meet, ).
Partially Ordered Set (Poset)
A relation on a set is a partial order if it is:
- Reflexive — for all .
- Antisymmetric — if and , then .
- Transitive — if and , then .
The pair is called a poset. The divisibility relation (" divides ") on positive integers is a partial order.
Hasse Diagram for Divisibility on {1, 2, 3, 6, 12, 24, 36}
Under the relation , the covering (immediate-successor) relations are:
- ,
- ,
- ,
Hasse diagram (drawn upward, omitting reflexive loops and transitive edges):
24 36
\ /
\ /
12
|
6
/ \
2 3
\ /
1
Reading bottom to top: is at the bottom; and sit above it; both join into ; then ; and branches up to the two incomparable top elements and .
Special Elements
| Element type | Definition | Here |
|---|---|---|
| Least element | element every other element | |
| Greatest element | element every other element | none ( and are incomparable) |
| Minimal element(s) | no element strictly below it | |
| Maximal element(s) | no element strictly above it | and |
- Minimal:
- Maximal:
- Least:
- Greatest: none (since and ).
Note: this poset is not a lattice, because and have no LUB within the set (their join is absent).
What is generating function? Use generating functions to solve the recurrence relation (a_n = 3a_{n-1} + 2) with (a_0 = 1).
Generating Function
The (ordinary) generating function of a sequence is the formal power series
It encodes the entire sequence as the coefficients of a single function, turning recurrence relations into algebraic equations that can be solved and then expanded back into a closed form for .
Solving ,
Step 1 — Set up the generating function. Let .
The recurrence holds for . Multiply both sides by and sum:
Step 2 — Express each sum via .
- .
- .
- .
So:
Step 3 — Solve for .
Step 4 — Partial fractions. Write
Then .
- Set : .
- Set : .
Thus
Step 5 — Read off the coefficients. Using :
Final answer:
Check: ✓, ✓, ✓.
Explain Euler and Hamiltonian paths and circuits with examples. State the necessary and sufficient conditions for the existence of an Euler circuit in a connected graph.
Euler and Hamiltonian Paths and Circuits
Euler Path and Euler Circuit
- An Euler path is a path that traverses every edge of the graph exactly once (vertices may repeat).
- An Euler circuit is an Euler path that starts and ends at the same vertex, i.e. a closed Euler path.
Example. In the graph with vertices and edges :
- ? — instead, is an Euler path (uses each of the 5 edges once) but not a circuit, because it starts at and ends at . (Here and have odd degree.)
Hamiltonian Path and Hamiltonian Circuit
- A Hamiltonian path visits every vertex exactly once (edges may be skipped).
- A Hamiltonian circuit (cycle) is a Hamiltonian path that returns to the starting vertex, visiting every vertex exactly once and closing the loop.
Example. In the cycle graph with vertices and edges , the sequence is a Hamiltonian circuit (every vertex once, returns to ).
Key Difference
| Euler | Hamiltonian | |
|---|---|---|
| Concerned with | edges (each used once) | vertices (each visited once) |
| Easy test? | Yes (degree condition) | No (NP-complete in general) |
Necessary and Sufficient Conditions for an Euler Circuit
Theorem (Euler). A connected graph has an Euler circuit if and only if every vertex has even degree.
Related condition for an Euler path (open): a connected graph has an Euler path that is not a circuit if and only if it has exactly two vertices of odd degree (the path begins at one and ends at the other).
Reasoning: each time the trail enters a vertex it must also leave it, pairing up edges at that vertex; for a closed circuit this forces every degree to be even.
Section B: Short Answer Questions
Attempt any EIGHT questions.
Differentiate between proof by contradiction and proof by contraposition.
Both are indirect proof techniques for an implication , but they differ in what is assumed and contradicted.
| Proof by Contraposition | Proof by Contradiction | |
|---|---|---|
| Statement proved | Any statement | |
| Method | Prove the logically equivalent contrapositive | Assume (the negation) and derive a contradiction (e.g. ) |
| Assumption | Assume , derive | Assume is false, reach absurdity |
| Conclusion | Since holds, holds | The assumption is impossible, so is true |
Proof by contraposition uses the tautology and works only for implications.
Proof by contradiction is more general: it assumes the statement is false and shows this leads to a logical impossibility. (Example: is irrational is proved by contradiction.)
In short: contraposition flips and negates an implication; contradiction assumes the whole claim is false and derives an inconsistency.
Define the inverse and identity functions.
Identity Function
The identity function on a set is the function defined by
It maps every element to itself. It is always a bijection, and for any function , and .
Inverse Function
Let be a bijective (one-to-one and onto) function. Its inverse function is defined by
The inverse satisfies
Existence condition: exists only if is a bijection.
Example. If , , then .
What is the symmetric difference of two sets? Give an example.
Symmetric Difference
The symmetric difference of two sets and , written (or ), is the set of elements that belong to exactly one of or — that is, in either set but not in both:
It is commutative and associative, and corresponds to the logical XOR of membership.
Example
Let and .
The common elements and are excluded.
Define a poset and Hasse diagram.
Poset (Partially Ordered Set)
A poset is a set together with a relation that is reflexive, antisymmetric, and transitive:
- (reflexive),
- (antisymmetric),
- (transitive).
It is denoted . "Partial" means some pairs may be incomparable. Example: and the divisibility relation .
Hasse Diagram
A Hasse diagram is a simplified graphical representation of a finite poset that shows only the essential covering relations. It is drawn using these conventions:
- Each element is a vertex.
- If and there is no with (i.e. covers ), draw an edge with placed above .
- Reflexive loops (each ) are omitted.
- Transitive edges that can be inferred are omitted.
- Direction is implied by vertical position (upward = greater), so arrowheads are not needed.
Example. For under divisibility: at bottom, edge to , edge up to (a vertical chain).
State Dijkstra's algorithm in brief.
Dijkstra's Algorithm
Dijkstra's algorithm finds the shortest path from a single source vertex to all other vertices in a weighted graph with non-negative edge weights. It is a greedy algorithm that grows a set of vertices whose final shortest distance from the source is known.
Steps
Dijkstra(G, w, source):
1. For every vertex v: dist[v] = ∞, prev[v] = NIL
2. dist[source] = 0
3. Let Q = set of all vertices (a min-priority queue keyed by dist)
4. While Q is not empty:
a. u = vertex in Q with the SMALLEST dist[u] // greedy pick
b. Remove u from Q (its distance is now final)
c. For each neighbor v of u still in Q:
if dist[u] + w(u, v) < dist[v]:
dist[v] = dist[u] + w(u, v) // relaxation
prev[v] = u
5. Return dist[], prev[]
Key points
- Greedy + relaxation: repeatedly select the unvisited vertex with the minimum tentative distance, then relax its outgoing edges.
- Requirement: edge weights must be non-negative.
- Complexity: with an array, or with a binary-heap priority queue.
prev[]lets you reconstruct the actual shortest paths.
What is a rooted tree? Define the height of a tree.
Rooted Tree
A rooted tree is a tree in which one vertex has been designated as the root, and every edge is implicitly directed away from the root. This gives a parent–child hierarchy: for any non-root vertex there is a unique path from the root to it, and the vertex just before it on that path is its parent.
Key terms:
- Root — the distinguished topmost vertex (no parent).
- Parent / child — adjacent vertices on a root-to-vertex path.
- Leaf — a vertex with no children.
- Internal vertex — a vertex with at least one child.
Height of a Tree
The level (depth) of a vertex is the length (number of edges) of the path from the root to that vertex; the root has level .
The height of a rooted tree is the maximum level among all its vertices — equivalently, the length of the longest path from the root to a leaf.
Example. In a tree where the root has children at level 1 and grandchildren (leaves) at level 2, the height is . A single-vertex tree has height .
Define a cyclic group with an example.
Cyclic Group
A group is called cyclic if there exists an element , called a generator, such that every element of can be written as a power (or integer multiple) of :
(For additive notation, .) Every cyclic group is abelian (commutative).
Examples
1. Finite cyclic group — integers modulo under addition.
Taking :
So . Hence is cyclic with generator (also ).
2. Infinite cyclic group — the integers under addition are cyclic, generated by (every integer is a multiple of ).
Use the Euclidean algorithm to find gcd(414, 662).
Euclidean Algorithm for gcd(414, 662)
Repeatedly apply until the remainder is :
The last non-zero remainder is .
Check: and ; and share no common factor, confirming the gcd is .
Find the coefficient of (x^5) in ((1+x)^{10}).
Coefficient of in
By the Binomial Theorem,
The coefficient of is therefore :
Final answer:
Frequently asked questions
- Where can I find the BSc CSIT (TU) Discrete Structure (BSc CSIT, CSC160) question paper 2081?
- The full BSc CSIT (TU) Discrete Structure (BSc CSIT, CSC160) 2081 (regular) question paper is available free on Kekkei. You can read every question online and attempt the paper under timed exam conditions.
- Does the Discrete Structure (BSc CSIT, CSC160) 2081 paper come with solutions?
- Yes. Every question on this Discrete Structure (BSc CSIT, CSC160) past paper includes a step-by-step solution, plus instant AI feedback when you attempt it on Kekkei.
- How many marks is the BSc CSIT (TU) Discrete Structure (BSc CSIT, CSC160) 2081 paper?
- The BSc CSIT (TU) Discrete Structure (BSc CSIT, CSC160) 2081 paper carries 60 full marks and is meant to be completed in 180 minutes, across 12 questions.
- Is practising this Discrete Structure (BSc CSIT, CSC160) past paper free?
- Yes — reading and attempting this Discrete Structure (BSc CSIT, CSC160) past paper on Kekkei is completely free.