Probability Engine · CSC160

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.

7
Papers analyzed
2074-2081
83
Analyzed questions
across 5 syllabus units
5
Very likely units
high-probability topics
4
Units = 80% of marks
study these first
Model answers for this subject are being written. Every question links to its original paper so you can study from the source meanwhile.
Pick a unit
U4 · Q1/23 · 208110 marks
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.

20%
Occasional to appearAppeared in 1 of the last 1 board papers
Seen in
How well do you know this?rating moves you on
MODEL ANSWERU4 · 10 marks

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 {A,B,C,D}\{A,B,C,D\} and edges AB,BC,CD,DA,ACAB, BC, CD, DA, AC:

  • DABCACD{-}A{-}B{-}C{-}A{-}C? — instead, ABCDACA{-}B{-}C{-}D{-}A{-}C is an Euler path (uses each of the 5 edges once) but not a circuit, because it starts at AA and ends at CC. (Here AA and CC 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 C4C_4 with vertices A,B,C,DA,B,C,D and edges AB,BC,CD,DAAB, BC, CD, DA, the sequence ABCDAA{-}B{-}C{-}D{-}A is a Hamiltonian circuit (every vertex once, returns to AA).

Key Difference

EulerHamiltonian
Concerned withedges (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 GG 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.

AI-generated answer · unverifiedView in 2081 paper →
U4 · Question 1 of 23
Question Priority · U4ranked by appearance likelihood — study top-down

Graph Theory

Analyzed next20%
1
★ TOP PICK

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.

10 marksSEEN IN
20%
2

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).

10 marksSEEN IN
18%
3

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.

10 marksSEEN IN
14%
4

Define tree and spanning tree. Explain Kruskal's algorithm to find a minimum spanning tree with a suitable example.

10 marksSEEN IN
11%
5

State Dijkstra's algorithm in brief.

5 marksSEEN IN
20%
6

What is a rooted tree? Define the height of a tree.

5 marksSEEN IN
20%
7

Define a graph. Explain the different types of graphs with examples. Describe the adjacency matrix and incidence matrix representation of a graph.

10 marksSEEN IN
10%
8

Define directed and undirected graphs with examples.

5 marksSEEN IN
18%
9

What is a minimum spanning tree? Name two algorithms to find it.

5 marksSEEN IN
18%
10

Define weighted graph and give a real-life application.

5 marksSEEN IN
16%
11

What is a spanning tree? How many spanning trees does (K_3) have?

5 marksSEEN IN
16%
12

State the conditions for a graph to be Eulerian.

5 marksSEEN IN
16%
13

Define isomorphic graphs with an example.

5 marksSEEN IN
14%
14

What is a binary search tree? Give an example.

5 marksSEEN IN
14%
15

Prove that the sum of degrees of all vertices in a graph is even.

5 marksSEEN IN
14%
16

What is the degree of a vertex? State the handshaking theorem.

5 marksSEEN IN
13%
17

Differentiate between a tree and a graph.

5 marksSEEN IN
13%
18

Define adjacency matrix of a directed graph with an example.

5 marksSEEN IN
13%
19

Define complete graph and bipartite graph.

5 marksSEEN IN
11%
20

Find the number of edges in a complete graph with 6 vertices.

5 marksSEEN IN
11%
21

Define a tree and state its basic properties.

5 marksSEEN IN
11%
22

Explain the difference between a walk, path and circuit in a graph.

5 marksSEEN IN
10%
23

What is a planar graph? State Euler's formula for planar graphs.

5 marksSEEN IN
10%
03The mock

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

Section A: Long Answer QuestionsAttempt any TWO questions.
  1. 1.

    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.

    [10 marks]
    Counting, Recurrence Relations and Generating FunctionsVery likelyfrom 2077 paper →

    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. 2.

    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.

    [10 marks]
    Graph TheoryVery likelyfrom 2081 paper →

    Asked once (2081); so far only in internal assessments, not the board; and its topic (Graph Theory) appears in 100% of years.

  3. 3.

    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).

    [10 marks]
    Graph TheoryVery likelyfrom 2080 paper →

    Asked once (2080); so far only in internal assessments, not the board; and its topic (Graph Theory) appears in 100% of years.

Section B: Short Answer QuestionsAttempt any EIGHT questions.
  1. 1.

    State Dijkstra's algorithm in brief.

    [5 marks]
    Graph TheoryVery likelyfrom 2081 paper →

    Asked once (2081); so far only in internal assessments, not the board; and its topic (Graph Theory) appears in 100% of years.

  2. 2.

    What is a rooted tree? Define the height of a tree.

    [5 marks]
    Graph TheoryVery likelyfrom 2081 paper →

    Asked once (2081); so far only in internal assessments, not the board; and its topic (Graph Theory) appears in 100% of years.

  3. 3.

    Define directed and undirected graphs with examples.

    [5 marks]
    Graph TheoryVery likelyfrom 2080 paper →

    Asked once (2080); so far only in internal assessments, not the board; and its topic (Graph Theory) appears in 100% of years.

  4. 4.

    What is a minimum spanning tree? Name two algorithms to find it.

    [5 marks]
    Graph TheoryVery likelyfrom 2080 paper →

    Asked once (2080); so far only in internal assessments, not the board; and its topic (Graph Theory) appears in 100% of years.

  5. 5.

    Define weighted graph and give a real-life application.

    [5 marks]
    Graph TheoryVery likelyfrom 2079 paper →

    Asked once (2079); so far only in internal assessments, not the board; and its topic (Graph Theory) appears in 100% of years.

  6. 6.

    What is a spanning tree? How many spanning trees does (K_3) have?

    [5 marks]
    Graph TheoryVery likelyfrom 2079 paper →

    Asked once (2079); so far only in internal assessments, not the board; and its topic (Graph Theory) appears in 100% of years.

  7. 7.

    State the conditions for a graph to be Eulerian.

    [5 marks]
    Graph TheoryVery likelyfrom 2079 paper →

    Asked once (2079); so far only in internal assessments, not the board; and its topic (Graph Theory) appears in 100% of years.

  8. 8.

    Define isomorphic graphs with an example.

    [5 marks]
    Graph TheoryVery likelyfrom 2078 paper →

    Asked once (2078); so far only in internal assessments, not the board; and its topic (Graph Theory) appears in 100% of years.

  9. 9.

    What is a binary search tree? Give an example.

    [5 marks]
    Graph TheoryVery likelyfrom 2078 paper →

    Asked once (2078); so far only in internal assessments, not the board; and its topic (Graph Theory) appears in 100% of years.

04The receipts

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.

Marks:nonefew → many
2074
2075
2077
2078
2079
2080
2081
Total
U4Graph Theory
140
U1Logic, Induction and Reasoning
130
U2Counting, Recurrence Relations and Generating Functions
100
U3Relations and Functions
100
U5Boolean Algebra and Modeling Computation
55
#Syllabus unitProbabilityAppearedAvg marksSyllabus weightExam vs syllabusTrendQuestions
1U4Graph TheoryVery likely100%2020%9 lecture hrsOver-examinedexam 27% · syllabus 20%Steadynone repeat23 total
2U1Logic, Induction and ReasoningVery likely100%18.620%9 lecture hrsBalancedexam 25% · syllabus 20%Fadingnone repeat20 total
3U2Counting, Recurrence Relations and Generating FunctionsVery likely100%14.320%9 lecture hrsBalancedexam 19% · syllabus 20%Steady1 recurring14 total
4U3Relations and FunctionsVery likely100%14.320%9 lecture hrsBalancedexam 19% · syllabus 20%Risingnone repeat17 total
5U5Boolean Algebra and Modeling ComputationVery likely86%9.220%9 lecture hrsUnder-examinedexam 10% · syllabus 20%Risingnone repeat9 total

Study smart, not hard

Drag the slider: studying the top 4 units in priority order covers ~90% of all observed marks.

  1. ~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.

U4Graph Theory
20% of lectures → 27% of markshigh yield
U1Logic, Induction and Reasoning
20% of lectures → 25% of marks
U2Counting, Recurrence Relations and Generating Functions
20% of lectures → 19% of marks
U3Relations and Functions
20% of lectures → 19% of marks
U5Boolean Algebra and Modeling Computation
20% of lectures → 10% of markslow yield

Topics are the official CSC160 syllabus units. Predictions are data-driven probabilities computed from 7 past papers (2074-2081) by mapping each real question to its syllabus unit. They indicate what has historically been likely, not guaranteed questions. Always study the full syllabus.