

InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
1. |
For a, b ∈ R define a = b to mean that |x| = |y|. If [x] is an equivalence relation in R. Find the equivalence relation for [17].(a) {,…,-11, -7, 0, 7, 11,…}(b) {2, 4, 9, 11, 15,…}(c) {-17, 17}(d) {5, 25, 125,…}This question was posed to me during an interview.Question is from Relations in section Relations of Discrete Mathematics |
Answer» Right ANSWER is (C) {-17, 17} |
|
2. |
Determine the set of all integers a such that a ≡ 3 (mod 7) such that −21 ≤ x ≤ 21.(a) {−21, −18, −11, −4, 3, 10, 16}(b) {−21, −18, −11, −4, 3, 10, 17, 24}(c) {−24, -19, -15, 5, 0, 6, 10}(d) {−23, −17, −11, 0, 2, 8, 16}I have been asked this question at a job interview.I would like to ask this question from Relations in chapter Relations of Discrete Mathematics |
Answer» The correct answer is (b) {−21, −18, −11, −4, 3, 10, 17, 24} |
|
3. |
Determine the number of possible relations in an antisymmetric set with 19 elements.(a) 23585(b) 2.02 * 10^87(c) 9.34 * 7^91(d) 35893The question was asked during an online exam.The above asked question is from Relations in chapter Relations of Discrete Mathematics |
Answer» CORRECT option is (b) 2.02 * 10^87 Best EXPLANATION: NUMBER of antisymmetric relation is given:-|A|=n, |AxA|=n XN. Then, N=total number of diagonal will n and we know that N = 2^n * 3^(n^2-n)/2. So, the number of relations should be = 2.02 * 10^87. |
|
4. |
Determine the number of equivalence classes that can be described by the set {2, 4, 5}.(a) 125(b) 5(c) 16(d) 72This question was posed to me in an online quiz.I want to ask this question from Relations in division Relations of Discrete Mathematics |
Answer» | |
5. |
Let A and B be two non-empty relations on a set S. Which of the following statements is false?(a) A and B are transitive ⇒ A∩B is transitive(b) A and B are symmetric ⇒ A∪B is symmetric(c) A and B are transitive ⇒ A∪B is not transitive(d) A and B are reflexive ⇒ A∩B is reflexiveI got this question in an online interview.I'm obligated to ask this question of Types of Relations topic in section Relations of Discrete Mathematics |
Answer» Correct option is (c) A and B are transitive ⇒ A∪B is not transitive |
|
6. |
The time complexity of computing the transitive closure of a binary relation on a set of n elements should be ________(a) O(n)(b) O(logn)(c) O(n^(n+(3/2)))(d) O(n^3)The question was asked by my school teacher while I was bunking the class.I'd like to ask this question from Types of Relations in division Relations of Discrete Mathematics |
Answer» Correct option is (d) O(n^3) |
|
7. |
The rank of smallest equivalence relation on a set with 12 distinct elements is _______(a) 12(b) 144(c) 136(d) 79The question was asked in an international level competition.This intriguing question originated from Number of Relations in chapter Relations of Discrete Mathematics |
Answer» The correct answer is (a) 12 |
|
8. |
How many elements are there in the smallest equivalence relation on a set with 8 elements?(a) 10^2(b) 8(c) 48(d) 32This question was posed to me in an interview for job.I would like to ask this question from Number of Relations topic in division Relations of Discrete Mathematics |
Answer» Right answer is (b) 8 |
|
9. |
Which of the following is an equivalence relation on R, for a, b ∈ Z?(a) (a-b) ∈ Z(b) (a^2+c) ∈ Z(c) (ab+cd)/2 ∈ Z(d) (2c^3)/3 ∈ ZThe question was posed to me in an online quiz.The above asked question is from Relations topic in section Relations of Discrete Mathematics |
Answer» CORRECT option is (b) (a^2+c) ∈ Z To explain I would say: Let a ∈ R, then a−a = 0 and 0 ∈ Z, so it is REFLEXIVE. To see that a-b ∈ Z is symmetric, then a−b ∈ Z ->say, a−b = m, where m ∈ Z ⇒b−a = −(a−b)=−m and −m ∈ Z. Thus, a-b is symmetric. To see that a-b is transitive, let a, b, c ∈ R. Thus, a−b ∈ Z; b−c ∈ Z. Let a−b = i and b−c = j, for integers i,j ∈ Z. Then a−c ='(a−b)+(b−c)=i + j. So, a−c ∈ Z. Therefore a – c is transitive. HENCE, (a-b) is an equivalence relation on the SET R. Rest of the options are not equivalence relations. |
|
10. |
For a, b ∈ Z define a | b to mean that a divides b is a relation which does not satisfy ___________(a) irreflexive and symmetric relation(b) reflexive relation and symmetric relation(c) transitive relation(d) symmetric relationI had been asked this question in homework.This intriguing question comes from Relations in section Relations of Discrete Mathematics |
Answer» The correct choice is (b) reflexive RELATION and symmetric relation |
|
11. |
Consider the congruence 45≡3(mod 7). Find the set of equivalence class representatives.(a) {…, 0, 7, 14, 28, …}(b) {…, -3, 0, 6, 21, …}(c) {…, 0, 4, 8, 16, …}(d) {…, 3, 8, 15, 21, …}I got this question by my school teacher while I was bunking the class.The above asked question is from Relations in chapter Relations of Discrete Mathematics |
Answer» The correct option is (a) {…, 0, 7, 14, 28, …} |
|
12. |
Which of the following relations is the reflexive relation over the set {1, 2, 3, 4}?(a) {(0,0), (1,1), (2,2), (2,3)}(b) {(1,1), (1,2), (2,2), (3,3), (4,3), (4,4)}(c) {,(1,1), (1,2), (2,1), (2,3), (3,4)}(d) {(0,1), (1,1), (2,3), (2,2), (3,4), (3,1)This question was addressed to me in an online interview.Question is from Relations topic in chapter Relations of Discrete Mathematics |
Answer» The CORRECT option is (b) {(1,1), (1,2), (2,2), (3,3), (4,3), (4,4)} |
|
13. |
Determine the partitions of the set {3, 4, 5, 6, 7} from the following subsets.(a) {3,5}, {3,6,7}, {4,5,6}(b) {3}, {4,6}, {5}, {7}(c) {3,4,6}, {7}(d) {5,6}, {5,7}The question was posed to me in an interview for job.My query is from Relations topic in chapter Relations of Discrete Mathematics |
Answer» Right option is (b) {3}, {4,6}, {5}, {7} |
|
14. |
Suppose a relation R = {(3, 3), (5, 5), (5, 3), (5, 5), (6, 6)} on S = {3, 5, 6}. Here R is known as _________(a) equivalence relation(b) reflexive relation(c) symmetric relation(d) transitive relationI had been asked this question in an interview.My enquiry is from Relations topic in division Relations of Discrete Mathematics |
Answer» The correct CHOICE is (a) equivalence relation |
|
15. |
Let (A, ≤) be a partial order with two minimal elements a, b and a maximum element c. Let P:A –>{True, False} be a predicate defined on A. Suppose that P(a) = True, P(b) = False and P(a) ⇒ P(b) for all satisfying a ≤ b, where ⇒ stands for logical implication. Which of the following statements cannot be true?(a) P(x) = True for all xS such that x ≠ b(b) P(x) = False for all x ∈ S such that b ≤ x and x ≠ c(c) P(x) = False for all x ∈ S such that x ≠ a and x ≠ c(d) P(x) = False for all x ∈ S such that a ≤ x and b ≤ xThe question was asked in an online interview.I would like to ask this question from Relations topic in division Relations of Discrete Mathematics |
Answer» The correct choice is (d) P(x) = False for all x ∈ S such that a ≤ x and b ≤ x |
|
16. |
Consider the set N* of finite sequences of natural numbers with a denoting that sequence a is a prefix of sequence b. Then, which of the following is true?(a) Every non-empty subset of has a greatest lower bound(b) It is uncountable(c) Every non-empty finite subset of has a least upper bound(d) Every non-empty subset of has a least upper boundI got this question during an interview for a job.My doubt is from Relations in division Relations of Discrete Mathematics |
Answer» The correct OPTION is (a) Every non-empty subset of has a greatest lower BOUND |
|
17. |
A partial order ≤ is defined on the set S = {x, b1, b2, … bn, y} as x ≤ bi for all i and bi ≤ y for all i, where n ≥ 1. The number of total orders on the set S which contain the partial order ≤ is ______(a) n+4(b) n^2(c) n!(d) 3The question was posed to me in an online interview.Enquiry is from Relations topic in section Relations of Discrete Mathematics |
Answer» The correct choice is (c) n! |
|
18. |
Consider the ordering relation a | b ⊆ N x N over natural numbers N such that a | b if there exists c belong to N such that a*c=b. Then ___________(a) | is an equivalence relation(b) It is a total order(c) Every subset of N has an upper bound under |(d) (N,|) is a lattice but not a complete latticeI have been asked this question by my college professor while I was bunking the class.My query is from Relations topic in portion Relations of Discrete Mathematics |
Answer» The correct CHOICE is (d) (N,|) is a lattice but not a COMPLETE lattice |
|
19. |
The inclusion of ______ sets into R = {{1, 2}, {1, 2, 3}, {1, 3, 5}, {1, 2, 4}, {1, 2, 3, 4, 5}} is necessary and sufficient to make R a complete lattice under the partial order defined by set containment.(a) {1}, {2, 4}(b) {1}, {1, 2, 3}(c) {1}(d) {1}, {1, 3}, {1, 2, 3, 4}, {1, 2, 3, 5}I got this question during an online interview.I'd like to ask this question from Relations in chapter Relations of Discrete Mathematics |
Answer» Correct choice is (c) {1} |
|
20. |
Let a set S = {2, 4, 8, 16, 32} and |
Answer» CORRECT CHOICE is (B) 5 Easy EXPLANATION: Hasse DIAGRAM is: |
|
21. |
Suppose X = {a, b, c, d} and π1 is the partition of X, π1 = {{a, b, c}, d}. The number of ordered pairs of the equivalence relations induced by __________(a) 15(b) 10(c) 34(d) 5I had been asked this question by my school teacher while I was bunking the class.My doubt stems from Relations topic in section Relations of Discrete Mathematics |
Answer» Correct answer is (b) 10 |
|
22. |
If the longest chain in a partial order is of length l, then the partial order can be written as _____ disjoint antichains.(a) l^2(b) l+1(c) l(d) l^lI had been asked this question by my school teacher while I was bunking the class.The query is from Relations topic in section Relations of Discrete Mathematics |
Answer» RIGHT answer is (C) l Explanation: If the LENGTH of the longest CHAIN in a partial order is l, then the elements in the POSET can be partitioned into l disjoint antichains. |
|
23. |
The less-than relation, |
Answer» The correct option is (a) not a partial ordering because it is not asymmetric and irreflexive equals antisymmetric |
|
24. |
Let R be a relation between A and B. R is asymmetric if and only if ________(a) Intersection of D(A) and R is empty, where D(A) represents diagonal of set(b) R^-1 is a subset of R, where R^-1 represents inverse of R(c) Intersection of R and R^-1 is D(A)(d) D(A) is a subset of R, where D(A) represents diagonal of setThe question was asked by my school principal while I was bunking the class.Asked question is from Types of Relations in section Relations of Discrete Mathematics |
Answer» The correct CHOICE is (a) Intersection of D(A) and R is EMPTY, where D(A) represents diagonal of SET |
|
25. |
Determine the characteristics of the relation aRb if a^2 = b^2.(a) Transitive and symmetric(b) Reflexive and asymmetry(c) Trichotomy, antisymmetry, and irreflexive(d) Symmetric, Reflexive, and transitiveI had been asked this question in an interview for job.This interesting question is from Types of Relations in section Relations of Discrete Mathematics |
Answer» RIGHT answer is (d) Symmetric, Reflexive, and transitive The best I can explain: Since, x^2 = y^2 is just a special CASE of equality, so all PROPERTIES that apply to x = y also apply to this case. Hence, the RELATION satisfies symmetric, reflexive and transitive CLOSURE. |
|
26. |
Consider the binary relation, A = {(a,b) | b = a – 1 and a, b belong to {1, 2, 3}}. The reflexive transitive closure of A is?(a) {(a,b) | a >= b and a, b belong to {1, 2, 3}}(b) {(a,b) | a > b and a, b belong to {1, 2, 3}}(c) {(a,b) | a |
Answer» The correct CHOICE is (a) {(a,b) | a >= b and a, b belong to {1, 2, 3}} |
|
27. |
Let A be a set of k (k>0) elements. Which is larger between the number of binary relations (say, Nr) on A and the number of functions (say, Nf) from A to A?(a) number of relations(b) number of functions(c) the element set(d) number of subsets of the relationI have been asked this question in an interview.The origin of the question is Types of Relations topic in portion Relations of Discrete Mathematics |
Answer» Right answer is (a) number of RELATIONS |
|
28. |
Let S be a set of n>0 elements. Letbe the number Br of binary relations on S and let Bf be the number of functions from S to S. The expression for Br and Bf, in terms of n should be ____________(a) n^2 and 2(n+1)^2(b) n^3and n^(n+1)(c) n and n^(n+6)(d) 2^(n*n)and n^nI have been asked this question in an interview for internship.I would like to ask this question from Types of Relations topic in portion Relations of Discrete Mathematics |
Answer» Correct OPTION is (d) 2^(n*n)and n^n |
|
29. |
Consider the relation: R’ (x, y) if and only if x, y>0over the set of non-zero rational numbers,then R’ is _________(a) not equivalence relation(b) an equivalence relation(c) transitive and asymmetry relation(d) reflexive and antisymmetric relationI got this question in unit test.Question is taken from Types of Relations in division Relations of Discrete Mathematics |
Answer» Right choice is (b) an EQUIVALENCE relation |
|
30. |
The binary relation {(1,1), (2,1), (2,2), (2,3), (2,4), (3,1), (3,2)} on the set {1, 2, 3} is __________(a) reflective, symmetric and transitive(b) irreflexive, symmetric and transitive(c) neither reflective, nor irreflexive but transitive(d) irreflexive and antisymmetricThe question was posed to me at a job interview.I want to ask this question from Types of Relations topic in chapter Relations of Discrete Mathematics |
Answer» The correct option is (c) neither reflective, nor irreflexive but TRANSITIVE |
|
31. |
Let R1 and R2 be two equivalence relations on a set. Is R1 ∪ R2 an equivalence relation?(a) an equivalence relation(b) reflexive closure of relation(c) not an equivalence relation(d) partial equivalence relationThe question was asked in an internship interview.This intriguing question comes from Closure on Relations topic in portion Relations of Discrete Mathematics |
Answer» Right option is (a) an equivalence RELATION |
|
32. |
The binary relation U = Φ (empty set) on a set A = {11, 23, 35} is _____(a) Neither reflexive nor symmetric(b) Symmetric and reflexive(c) Transitive and reflexive(d) Transitive and symmetricI have been asked this question during an interview.This key question is from Closure on Relations topic in portion Relations of Discrete Mathematics |
Answer» The correct option is (d) TRANSITIVE and symmetric |
|
33. |
A relation R is defined on the set of integers as aRb if and only if a+b is even and R is termed as ______(a) an equivalence relation with one equivalence class(b) an equivalence relation with two equivalence classes(c) an equivalence relation(d) an equivalence relation with three equivalence classesThe question was asked in an interview for job.I want to ask this question from Closure on Relations topic in division Relations of Discrete Mathematics |
Answer» RIGHT option is (b) an equivalence relation with two equivalence CLASSES Best explanation: R is reflexive as (a+b) is even for any integer; R is symmetric as if (a+b) is even (b+a) is also even; R is TRANSITIVE as if ((a+b)+c) is even, then (a+(b+c)) is also even. So, R is an equivalence relation. For set of NATURAL numbers, sum of even numbers always give even, sum of odd numbers always give even and sum of any even and any odd number always give odd. So, must have two equivalence classes -> one for even and one for odd. {…, -4, -2, 0, 2, … } and {…, -3, -1, 1, 3, … }. |
|
34. |
The number of equivalence relations of the set {3, 6, 9, 12, 18} is ______(a) 4(b) 2^5(c) 22(d) 90This question was posed to me by my school principal while I was bunking the class.This intriguing question originated from Closure on Relations in division Relations of Discrete Mathematics |
Answer» The correct answer is (a) 4 |
|
35. |
Amongst the properties {reflexivity, symmetry, antisymmetry, transitivity} the relation R={(a,b) ∈ N^2 | a!= b} satisfies _______ property.(a) symmetry(b) transitivity(c) antisymmetry(d) reflexivityThe question was asked by my college professor while I was bunking the class.The query is from Closure on Relations topic in division Relations of Discrete Mathematics |
Answer» RIGHT choice is (a) symmetry To elaborate: It is not reflexive as aRa is not POSSIBLE. It is symmetric as if aRb then BRA. It is not antisymmetric as aRb and bRa are possible and we can have a!=b. It is not transitive as if aRb and bRc then ARC need not be true. This is VIOLATED when c=a. So the answer is symmetry property. |
|
36. |
The transitive closure of the relation {(0,1), (1,2), (2,2), (3,4), (5,3), (5,4)}on the set {1, 2, 3, 4, 5}is _______(a) {(0,1), (1,2), (2,2), (3,4)}(b) {(0,0), (1,1), (2,2), (3,3), (4,4), (5,5)}(c) {(0,1), (1,1), (2,2), (5,3), (5,4)}(d) {(0,1), (0,2), (1,2), (2,2), (3,4), (5,3), (5,4)}This question was addressed to me in exam.My doubt is from Closure on Relations topic in division Relations of Discrete Mathematics |
Answer» Correct choice is (d) {(0,1), (0,2), (1,2), (2,2), (3,4), (5,3), (5,4)} |
|
37. |
______ number of reflexive closure exists in a relation R = {(0,1), (1,1), (1,3), (2,1), (2,2), (3,0)} where {0, 1, 2, 3} ∈ A.(a) 2^6(b) 6(c) 8(d) 36I got this question during an interview.I'd like to ask this question from Closure on Relations in section Relations of Discrete Mathematics |
Answer» The CORRECT answer is (b) 6 |
|
38. |
The condition for a binary relation to be symmetric is _______(a) s(R) = R(b) R∪ R = R(c) R = R^c(d) f(R) = RThe question was asked in an internship interview.I need to ask this question from Closure on Relations topic in portion Relations of Discrete Mathematics |
Answer» The CORRECT option is (c) R = R^c |
|
39. |
If R1 and R2 are binary relations from set A to set B, then the equality ______ holds.(a) (R^c)^c = R^c(b) (A x B)^c = Φ(c) (R1 U R2)^c = R1^c ∪ R2^c(d) (R1 U R2)^c = R1^c ∩ R2^cI got this question by my college director while I was bunking the class.Query is from Closure on Relations in chapter Relations of Discrete Mathematics |
Answer» The correct ANSWER is (C) (R1 U R2)^c = R1^c ∪ R2^c |
|
40. |
R is a binary relation on a set S and R is reflexive if and only if _______(a) r(R) = R(b) s(R) = R(c) t(R) = R(d) f(R) = RThe question was posed to me in semester exam.The doubt is from Closure on Relations in division Relations of Discrete Mathematics |
Answer» CORRECT option is (a) r(R) = R The best I can explain: Let reflexive closure of R:r(R) = R. If R is reflexive, it satisfies all the condition in the definition of reflexive closure. So, a reflexive closure of a RELATION is the smallest NUMBER of reflexive relation contain in R. Hence, R = r(R). |
|
41. |
If a set A has 8 elements and a set B has 10 elements, how many relations are there from A to B?(a) 2^90(b) 3^80(c) 164(d) 2^80I have been asked this question in semester exam.The above asked question is from Number of Relations in chapter Relations of Discrete Mathematics |
Answer» The correct OPTION is (d) 2^80 |
|
42. |
Synonym for binary relation is _______(a) equivalence relation(b) dyadic relation(c) orthogonal relation(d) one to many relationsI have been asked this question in final exam.This key question is from Number of Relations topic in division Relations of Discrete Mathematics |
Answer» CORRECT answer is (B) dyadic relation The explanation is: A BINARY relation on a set S is a set of ordered pairs of elements of S. It is a subset of the cartesian product S^2 = S x S. The terms CORRESPONDENCE, dyadic relation and 2-place relation are synonyms for the binary relation. |
|
43. |
________ is the rank of the largest equivalence relation on a set of 20 elements.(a) 3^20(b) 2^400(c) 20(d) 1I had been asked this question by my college director while I was bunking the class.Asked question is from Number of Relations in portion Relations of Discrete Mathematics |
Answer» The correct choice is (d) 1 |
|
44. |
Suppose S is a finite set with 7 elements. How many elements are there in the largest equivalence relation on S?(a) 56(b) 78(c) 49(d) 100This question was addressed to me by my college professor while I was bunking the class.The query is from Number of Relations topic in portion Relations of Discrete Mathematics |
Answer» The correct choice is (c) 49 |
|
45. |
The number of symmetric relations on a set with 15 distinct elements is ______(a) 2^196(b) 2^50(c) 2^320(d) 2^78This question was addressed to me at a job interview.My question is based upon Number of Relations in section Relations of Discrete Mathematics |
Answer» The correct option is (a) 2^196 |
|
46. |
The number of reflexive as well as symmetric relations on a set with 14 distinct elements is __________(a) 4^120(b) 2^70(c) 3^201(d) 2^91I had been asked this question during an internship interview.I want to ask this question from Number of Relations in chapter Relations of Discrete Mathematics |
Answer» CORRECT option is (d) 2^91 For explanation: Let A be a SET consists of n DISTINCT elements. There are 2^(n*(n-1))/2 number of REFLEXIVE and symmetric relations that can be formed. So, here the answer is 2^14*(14-1)/2 = 2^91. |
|
47. |
_________ number of reflexive relations are there on a set of 11 distinct elements.(a) 2^110(b) 3^121(c) 2^90(d) 2^132This question was addressed to me during an interview.Question is from Number of Relations in chapter Relations of Discrete Mathematics |
Answer» Correct option is (a) 2^110 |
|
48. |
How many binary relations are there on a set S with 9 distinct elements?(a) 2^90(b) 2^100(c) 2^81(d) 2^60The question was asked during a job interview.The origin of the question is Number of Relations in portion Relations of Discrete Mathematics |
Answer» | |