11 topics · 261 Qs · 14.8 marks/paper · since 2011
In GATE Computer Science, Discrete Mathematics is heavily tested across mathematical logic, set theory, relations & partial orders/lattices, group theory, combinatorics, and graph… Guide
Open a topic to browse, or practice it timed.
Jump to the first question from that paper.
Subject guide
In GATE Computer Science, Discrete Mathematics is heavily tested across mathematical logic, set theory, relations & partial orders/lattices, group theory, combinatorics, and graph theory. Probability and Statistics in GATE CS is consistently tested with 2 to 4 questions per year, spanning fundamental combinatorics, conditional probability, Bayes' theorem, discrete and continuous random variables, and expectation/variance properties. Linear Algebra in GATE CS is consistently tested across fundamental properties of matrices, systems of linear equations, and spectral theory (eigenvalues and eigenvectors).
Handshaking Lemma
Relating vertex degrees to the total number of edges in an undirected graph.
Fermat's Little Theorem
Computing large exponent modular reductions.
Number of Reflexive Relations
Counting binary relations on an -element set that contain all diagonal pairs .
Lagrange's Subgroup Theorem
Constraining possible subgroup sizes for any finite group .
Maximum Edges in a Bipartite Graph
Finding the edge maximum for a bipartite graph on vertices.
Disconnected Graph Maximum Edges
Maximizing edges in a disconnected simple graph on vertices.
Number of Matchings in a Path Graph
Recursive counting of valid matchings (including the empty matching) in a path .
Bayes' Theorem
Used when computing posterior probabilities given an observed condition across mutually exclusive causes.
Graph Invariants and Degree-Sum Counting
common · mixed · 1 marks · 2022, 2018, 2017, 2016
Problems leveraging the Handshaking Lemma (), counting bounds on planar graphs, bipartite graph edge maximization, or tree edge-degree equations to deduce vertex degrees, component counts, or chromatic numbers.
Predicate Logic Equivalences and English-to-Logic Translation
common · MCQ · 1 marks · 2025, 2017, 2016, 2015
Translating natural language statements containing quantifiers () and implications into First-Order Logic (FOL), or determining valid entailments and equivalences using quantifier negation rules.
Binary Relations, Equivalence Classes, and Posets/Lattices
common · mixed · 2 marks · 2026, 2025, 2024, 2023
Analyzing binary relation properties (reflexive, symmetric, transitive, antisymmetric, circular), counting relations/linear extensions, or verifying whether a given poset satisfies lattice properties (existence of unique GLB/meet and LUB/join).
Group Theory Structures and Subgroups
occasional · mixed · 1.5 marks · 2024, 2021, 2020, 2019
Testing properties of groups, subgroup orders using Lagrange's theorem, cyclic group properties of prime order, and counting self-inverse elements in direct products of cyclic groups.
Combinatorial and Recursive Counting
common · NAT · 1.5 marks · 2026, 2024, 2022, 2021
Counting subsets satisfying constraints, integer partitions (identical items into identical bins), topological sorts/linear extensions, or finding matchings via recurrence relations (e.g., Fibonacci-like sequences on paths).
Bayes' Theorem and Conditional Probability Updates
common · NAT · 2 marks · 2025, 2021, 2017, 2016
Scenarios involving two or more sources/states (e.g., faulty coins, binary signal transmission through noisy channels, disease/job tests) where an observed signal/result requires computing the posterior probability of the underlying cause.