Discrete Structure (BSc CSIT, CSC160): the questions likely to come
83 analyzed questions from 7 past papers (2074-2081), grouped by syllabus unit — each with its probability, how often it's been asked, and where to study the answer.
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.
Graph Theory
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.
What is graph coloring? Explain the chromatic number of a graph. State the four color theorem. Find the chromatic number of a complete graph (K_n) and a cycle (C_n).
Explain Dijkstra's algorithm for finding the shortest path in a weighted graph. Apply it to find the shortest path from a source vertex to all other vertices in a given example graph.
Define tree and spanning tree. Explain Kruskal's algorithm to find a minimum spanning tree with a suitable example.
State Dijkstra's algorithm in brief.
What is a rooted tree? Define the height of a tree.
Define a graph. Explain the different types of graphs with examples. Describe the adjacency matrix and incidence matrix representation of a graph.
Define directed and undirected graphs with examples.
What is a minimum spanning tree? Name two algorithms to find it.
Define weighted graph and give a real-life application.
What is a spanning tree? How many spanning trees does (K_3) have?
State the conditions for a graph to be Eulerian.
Define isomorphic graphs with an example.
What is a binary search tree? Give an example.
Prove that the sum of degrees of all vertices in a graph is even.
What is the degree of a vertex? State the handshaking theorem.
Differentiate between a tree and a graph.
Define adjacency matrix of a directed graph with an example.
Define complete graph and bipartite graph.
Find the number of edges in a complete graph with 6 vertices.
Define a tree and state its basic properties.
Explain the difference between a walk, path and circuit in a graph.
What is a planar graph? State Euler's formula for planar graphs.
Sit a probable paper
A full mock exam built from the most likely questions, mirroring the real paper's structure. Every slot is a real past question.
Most Probable Paper
Mirrors the real structure · 60 marks · based on 7 past papers
- 1.[10 marks]
State and explain the pigeonhole principle. How many cards must be selected from a standard deck of 52 cards to guarantee that at least three cards of the same suit are chosen? Also solve a generalized example.
This question has recurred in 2 of 7 years; so far only in internal assessments, not the board; and its topic (Counting, Recurrence Relations and Generating Functions) appears in 100% of years.
- 2.[10 marks]
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.
Asked once (2081); so far only in internal assessments, not the board; and its topic (Graph Theory) appears in 100% of years.
- 3.[10 marks]
What is graph coloring? Explain the chromatic number of a graph. State the four color theorem. Find the chromatic number of a complete graph (K_n) and a cycle (C_n).
Asked once (2080); so far only in internal assessments, not the board; and its topic (Graph Theory) appears in 100% of years.
- 1.[5 marks]
State Dijkstra's algorithm in brief.
Asked once (2081); so far only in internal assessments, not the board; and its topic (Graph Theory) appears in 100% of years.
- 2.[5 marks]
What is a rooted tree? Define the height of a tree.
Asked once (2081); so far only in internal assessments, not the board; and its topic (Graph Theory) appears in 100% of years.
- 3.[5 marks]
Define directed and undirected graphs with examples.
Asked once (2080); so far only in internal assessments, not the board; and its topic (Graph Theory) appears in 100% of years.
- 4.[5 marks]
What is a minimum spanning tree? Name two algorithms to find it.
Asked once (2080); so far only in internal assessments, not the board; and its topic (Graph Theory) appears in 100% of years.
- 5.[5 marks]
Define weighted graph and give a real-life application.
Asked once (2079); so far only in internal assessments, not the board; and its topic (Graph Theory) appears in 100% of years.
- 6.[5 marks]
What is a spanning tree? How many spanning trees does (K_3) have?
Asked once (2079); so far only in internal assessments, not the board; and its topic (Graph Theory) appears in 100% of years.
- 7.[5 marks]
State the conditions for a graph to be Eulerian.
Asked once (2079); so far only in internal assessments, not the board; and its topic (Graph Theory) appears in 100% of years.
- 8.[5 marks]
Define isomorphic graphs with an example.
Asked once (2078); so far only in internal assessments, not the board; and its topic (Graph Theory) appears in 100% of years.
- 9.[5 marks]
What is a binary search tree? Give an example.
Asked once (2078); so far only in internal assessments, not the board; and its topic (Graph Theory) appears in 100% of years.
Behind the numbers
The raw evidence the predictions are computed from: marks per unit per year, syllabus weights, trends, and coverage.
Show the heatmap, topic table and coverage analysis
The receipt: marks per unit, per year
Each row is a syllabus unit, each column an exam year, each cell the marks that unit earned that year. Click any cell to see the actual questions behind it.
| # | Syllabus unit | Probability | Appeared | Avg marks | Syllabus weight | Exam vs syllabus | Trend | Questions |
|---|---|---|---|---|---|---|---|---|
| 1 | U4Graph Theory | Very likely100% | 20 | 20%9 lecture hrs | Over-examinedexam 27% · syllabus 20% | Steady | none repeat23 total | |
| 2 | U1Logic, Induction and Reasoning | Very likely100% | 18.6 | 20%9 lecture hrs | Balancedexam 25% · syllabus 20% | Fading | none repeat20 total | |
| 3 | U2Counting, Recurrence Relations and Generating Functions | Very likely100% | 14.3 | 20%9 lecture hrs | Balancedexam 19% · syllabus 20% | Steady | 1 recurring14 total | |
| 4 | U3Relations and Functions | Very likely100% | 14.3 | 20%9 lecture hrs | Balancedexam 19% · syllabus 20% | Rising | none repeat17 total | |
| 5 | U5Boolean Algebra and Modeling Computation | Very likely86% | 9.2 | 20%9 lecture hrs | Under-examinedexam 10% · syllabus 20% | Rising | none repeat9 total |
Study smart, not hard
Drag the slider: studying the top 4 units in priority order covers ~90% of all observed marks.
- ~80% line
Lecture time vs exam marks
Where the exam pays more than the curriculum spends: ● lectures vs ● exam marks, as a share of the whole course. A long teal-leading bar = high-yield unit.