Every question in the paper gets a full exam-length answer in the app — organised by marks, the way a topper writes it.
8 marks Long answer
Define a Lattice. Draw the Hasse diagram of (D₃₆, /) and Show that it is a lattice.
Show answer outline
A lattice is a partially ordered set where any two elements have a unique supremum and an infimum.
The full exam-length answer is in the app.
8 marks Long answer
Let R = {(1, 2), (2, 3), (3, 1)} and A = {1, 2, 3} find the reflexive, symmetric and transitive closure of R using composition of relation R.
Show answer outline
The reflexive closure adds (1,1), (2,2), (3,3); symmetric closure adds (2,1), (3,2), (1,3); transitive closure adds (1,3), (2,2), (3,1).
The full exam-length answer is in the app.
8 marks Long answer
Use Warshall's algorithm to find the transitive closure of the following relation on the set A = {1, 2, 3}. R = {(1, 2), (2, 3), (3, 1)}
Show answer outline
Warshall's algorithm iteratively adds paths to find the transitive closure.
The full exam-length answer is in the app.
8 marks Long answer
Identify whether the each of the following relation defined on the set A = {1, 2, 3} are reflexive relation, symmetric relation, anti-symmetric relation and transitive relation.
Show answer outline
Analyze each relation for reflexivity, symmetry, anti-symmetry, and transitivity.
The full exam-length answer is in the app.
8 marks Long answer
Let X = {1, 2, 3, 4, 5, 6, 7} and R= {(x, y)|(x-y) is divisible by 3}, then prove that R is an equivalence relation.
Show answer outline
R is reflexive, symmetric, and transitive, hence an equivalence relation.
The full exam-length answer is in the app.
8 marks Long answer
If R and S are equivalence relation on the set A, prove that R ∩ S is an equivalence relation.
Show answer outline
The intersection of two equivalence relations is also reflexive, symmetric, and transitive.
The full exam-length answer is in the app.
8 marks Long answer
If A = {1, 2, 3}, B = {4, 5} and C = {1, 2, 3, 4, 5}. Find (i) A × B (ii) C × B (iii) B × B Hence prove that: (C × B) – (A × B) = B × B.
Show answer outline
Calculate Cartesian products and verify the equality.
The full exam-length answer is in the app.
2 marks Short answer
Differentiate between proper subset and superset.
Show answer outline
A proper subset is a subset that is not equal to the original set, while a superset contains all elements of the subset.
The full exam-length answer is in the app.
2 marks Short answer
Define Power set. Let A = {Ø, b} construct the following set: (i) A - Ø (ii) A ∩ P(A).
Show answer outline
The power set of A is the set of all subsets of A.
The full exam-length answer is in the app.
2 marks Short answer
Let P and Q be the multisets where P= {5.a, 7.b, 8.c} and Q= {3.a, 5.b, 9.c}. Find: (i) P ∪ Q (ii) Q - P.
Show answer outline
P ∪ Q = {5.a, 7.b, 8.c, 3.a, 5.b, 9.c}; Q - P = {3.a, 5.b, 9.c}.
The full exam-length answer is in the app.
2 marks Short answer
Define Greatest element and Least Element in Hasse diagram.
Show answer outline
Greatest element is the unique element greater than all others; least element is the unique element less than all others.
The full exam-length answer is in the app.
2 marks Short answer
Let A = {1, 2, 3, 4} and B = {a, b, c, d, e}. Compute the total number of possible relations from A to B.
Show answer outline
The total number of possible relations from A to B is $2^{|A| imes |B|} = 2^{4 imes 5} = 2^{20} = 1048576$.
The full exam-length answer is in the app.