Retrieving academic index assets...
Makaut
HomePYQsTests
Pricing
Sign Up
Makaut

The premier academic archive for MAKAUT students, providing curated previous year questions, solutions, and official syllabus resources.

Get the Mobile App
GET IT ONGoogle Play
Download on theApp Store
Download from Indus App Store
Platform
  • Home
  • PYQs
  • Question Papers
  • Viva Questions
  • Important Questions
  • Syllabus
  • Academic Tools
  • Pricing
  • Blog
Guidelines
  • Disclaimer
  • Community Guidelines
Company
  • About
  • Contact
  • FAQ
Legal
  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Cookie Policy
  • Subscription Policy
© 2026 MAKAUT Study Dev Hub. All rights reserved.
Platform version: v1.0.0
Viva Questions/PCC-CS401
Semester 4PCC-CS401

Discrete Mathematics (PCC-CS401) Viva Questions and Answers

36 Questions•8 min read
Prepared from MAKAUT past-year question papers.
Practice Mode:All answers visible
Jump to Topic
Graph Theory (10)Logic (7)Set Theory (6)Relations (2)Functions (2)Probability (2)Induction (1)Combinatorics (4)Number Theory (1)Group Theory (1)

Graph Theory

10 questions
Q1.EASY

What is a cycle in a graph?

A cycle is a path that starts and ends at the same vertex with no repeated edges or vertices except the first and last. It represents a closed loop in the graph.
Q6.EASY

What is a spanning tree in a graph?

A spanning tree of a connected graph is a subgraph that is a tree and includes all vertices of the original graph. It has exactly n-1 edges for n vertices.
Q10.MEDIUM

"K6 is a planar graph." - State TRUE or FALSE

FALSE. K6 is not planar because it contains K5 as a subgraph, and K5 is non-planar by Kuratowski's theorem.
Q24.MEDIUM

What do you mean by Eulerian and Hamiltonian walks?

An Eulerian walk traverses every edge exactly once; a Hamiltonian walk visits every vertex exactly once. Eulerian circuits exist if all vertices have even degree; Hamiltonian cycles are harder to characterize.
Q25.MEDIUM

What is Vertex Colouring and Colouring of Edges in graph theory?

Vertex colouring assigns colours to vertices so adjacent vertices differ; edge colouring assigns colours to edges so adjacent edges differ. The minimum number of colours is the chromatic number (vertex) or chromatic index (edge).
Q26.EASY

Define Minimal Spanning tree (MST) with an example.

An MST is a spanning tree with minimum total edge weight. Example: for a triangle with weights 1,2,3, the MST uses edges of weights 1 and 2.
Q27.MEDIUM

What is a bipartite graph? How do you determine if a graph is bipartite or not?

A bipartite graph's vertices can be partitioned into two sets with edges only between sets. A graph is bipartite iff it contains no odd cycle, which can be checked by BFS 2-colouring.
Q28.MEDIUM

Show that trees are bipartite graphs.

Trees have no cycles, hence no odd cycles. Therefore they are bipartite by the odd-cycle criterion. Alternatively, 2-colour by BFS from any root.
Q29.MEDIUM

Determine the chromatic polynomial of Kn.

For Kn, all vertices are adjacent, so each must get a distinct colour. The chromatic polynomial is P(Kn,λ)=λ(λ-1)(λ-2)...(λ-n+1).
Q33.EASY

What is the chromatic number of a graph?

The chromatic number χ(G) is the minimum number of colours needed to colour vertices so adjacent vertices have different colours. For example, χ(Kn)=n and χ(bipartite)=2.

Logic

7 questions
Q2.EASY

Which law of inference states that 'If A implies B, and B implies C, then A implies C'?

This is the hypothetical syllogism (also called the chain rule). It allows chaining implications.
Q8.EASY

Write the contrapositive of ~p -> ~q.

The contrapositive of ~p → ~q is q → p. It is logically equivalent to the original implication.
Q9.EASY

What is the inverse of p -> q?

The inverse of p → q is ~p → ~q. Note that it is not equivalent to the original implication.
Q22.MEDIUM

Show that universal quantifier distributes over conjunction and existential quantifier distributes over disjunction.

∀x(P(x)∧Q(x)) ⇔ (∀xP(x))∧(∀xQ(x)) because both must hold for all x. ∃x(P(x)∨Q(x)) ⇔ (∃xP(x))∨(∃xQ(x)) because at least one holds for some x.
Q23.HARD

Brown, Jones and Smith are suspected of income tax evasion. They testify under oath as follows: Brown: Jones is guilty and Smith is innocent. Jones: If Brown is guilty then Smith is innocent. Smith: If Jones is innocent then Brown is guilty. Assuming all are innocent unless proven guilty, who is guilty?

This is a classic logic puzzle. The consistent solution is that Brown and Jones are guilty, Smith is innocent. (Detailed truth table analysis shows only this assignment satisfies all statements.)
Q31.EASY

What is the truth value of ¬(P∧Q)∧¬(P∧Q)\neg(P \land Q) \land \neg(P \land Q)¬(P∧Q)∧¬(P∧Q) if P is true and Q is false?

P∧Q is false, so ¬(P∧Q) is true. Then true ∧ true = true. So the truth value is true.
Q36.EASY

What is the truth value of (P∧¬Q)∨(Q∧¬P)∨(P∧¬Q)∨(Q∧¬P)(P \land \neg Q) \lor (Q \land \neg P) \lor (P \land \neg Q) \lor (Q \land \neg P)(P∧¬Q)∨(Q∧¬P)∨(P∧¬Q)∨(Q∧¬P) if P and Q are both true?

If P and Q are both true, then ¬P and ¬Q are false. Each conjunction becomes false, so the whole disjunction is false.

Set Theory

6 questions
Q3.EASY

What do you mean by the symmetric difference of set A and B?

The symmetric difference A Δ B consists of elements that are in A or B but not in both. Formally, A Δ B = (A ∪ B) - (A ∩ B).
Q7.EASY

Write the Absorption laws in respect of SET Theory?

The absorption laws are: A ∪ (A ∩ B) = A and A ∩ (A ∪ B) = A. They show that one set operation absorbs the other.
Q11.MEDIUM

What is Cantor's diagonal argument?

Cantor's diagonal argument is a proof technique showing that the real numbers are uncountable. It constructs a real number not in any proposed enumeration by differing at the nth digit from the nth number.
Q12.EASY

Write the De Morgan's laws of SET operations.

De Morgan's laws for sets: (A ∪ B)' = A' ∩ B' and (A ∩ B)' = A' ∪ B'. They relate complement with union and intersection.
Q18.EASY

Define a SET with proper examples according to the classical set theory. What are the different set operations usually performed - explain with examples.

A set is a well-defined collection of distinct objects. Examples: A={1,2,3}. Operations include union (A∪B), intersection (A∩B), difference (A-B), and complement (A'). For A={1,2}, B={2,3}, A∪B={1,2,3}, A∩B={2}.
Q19.MEDIUM

What do you mean by finite and infinite sets? Also, explain the concepts of finite countable sets, infinite countable sets and infinite uncountable sets.

A finite set has a limited number of elements; an infinite set does not. A finite countable set is finite; an infinite countable set can be put in bijection with natural numbers (e.g., integers); an infinite uncountable set cannot (e.g., real numbers).

Relations

2 questions
Q4.MEDIUM

How many reflexive relations are possible on a set with n elements?

A reflexive relation must contain all n diagonal pairs (a,a). The remaining n² - n off-diagonal pairs can be chosen freely, so there are 2^(n² - n) reflexive relations.
Q5.EASY

What do you mean by a 'relation'?

A relation from set A to set B is a subset of the Cartesian product A × B. It associates elements of A with elements of B.

Functions

2 questions
Q13.MEDIUM

What is an inverse function? How do you obtain inverse of a function? Explain with example.

An inverse function f⁻¹ reverses the effect of a bijective function f. To find it, solve y = f(x) for x in terms of y, then swap x and y. For example, if f(x)=2x+3, then f⁻¹(x)=(x-3)/2.
Q34.EASY

What is composition of mapping?

Composition of mappings f and g, denoted f∘g, is defined by (f∘g)(x)=f(g(x)). It applies g first, then f.

Probability

2 questions
Q14.EASY

Five speakers A, B, C, D and E speak in a meeting one after the other. Find the probability that A speaks before B.

By symmetry, A is equally likely to speak before or after B. So the probability is 1/2.
Q16.MEDIUM

There are 5 white balls, 4 red balls, and 3 blue balls in a box. If you draw 2 balls at random from the box, what is the probability that both are of the same color?

Total ways to draw 2 from 12 is C(12,2)=66. Same color ways: C(5,2)+C(4,2)+C(3,2)=10+6+3=19. Probability = 19/66.

Induction

1 question
Q15.MEDIUM

Prove by induction: n² + n is even where n is a positive integer.

Base case n=1: 1+1=2 even. Assume k²+k is even. Then (k+1)²+(k+1)=k²+2k+1+k+1=(k²+k)+2(k+1), which is even plus even, hence even. Thus true for all n.

Combinatorics

4 questions
Q17.EASY

In how many ways can you invite one or more of your five friends to your birthday party?

Each friend can be invited or not, giving 2^5=32 subsets. Excluding the empty set (inviting none), there are 32-1=31 ways.
Q20.MEDIUM

How many non-negative integral solutions are there of the equation x1 + x2 + x3 + x4 = 20?

Using stars and bars, the number is C(20+4-1,4-1)=C(23,3)=1771.
Q30.EASY

Explain the difference between a permutation and a combination, and provide an example of each.

Permutation counts ordered arrangements; combination counts unordered selections. Example: arranging 3 books in order gives 3!=6 permutations; choosing 2 books from 3 gives C(3,2)=3 combinations.
Q35.MEDIUM

If you have 6 different colors of socks, how many ways can you choose 2 pairs (4 socks total)?

First choose 2 colours from 6: C(6,2)=15. For each colour, choose 2 socks from the pair (only 1 way if each colour has exactly 2 socks). So 15 ways. (If each colour has many socks, it's C(6,2)*C(2,2)*C(2,2)=15.)

Number Theory

1 question
Q21.MEDIUM

Show that number of prime numbers is infinite.

Assume finitely many primes p1,...,pn. Consider N=p1p2...pn+1. N is not divisible by any pi, so it has a prime factor not in the list, contradiction. Hence infinitely many primes.

Group Theory

1 question
Q32.EASY

What is an abelian group?

An abelian group is a group where the operation is commutative: a*b=b*a for all elements. Example: integers under addition.

Frequently Asked Viva Voce Questions

High-priority theoretical and lab evaluation questions typically tested by MAKAUT external examiners.

Related Course Resources

SYLLABUSDiscrete Mathematics Syllabus & Handouts
Open resource
PYQSemester 4 PYQ Papers
Open resource

On This Page

10 Units
Graph Theory10
Logic7
Set Theory6
Relations2
Functions2
Probability2
Induction1
Combinatorics4
Number Theory1
Group Theory1