Explore topic-wise InterviewSolutions in .

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}

Explanation: We can FIND that [17] = {a ∈ R|a = 17} = {a ∈ R||a| = |17|} = {-17, 17} and [−17] = {a ∈ R|a = −17} = {a ∈ R||a| = |−17|}= {−17, 17}. Hence, the REQUIRED equivalence relation is {-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}

For explanation I would say: For an INTEGER a we have X ≡ 3 (mod 7) if and only if a = 7m + 3. Thus, by calculating multiples of 7, add 3 and RESTRICT the value of a, so that −21 ≤ x ≤ 21. The SET for a = {−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

The explanation: In TERMS of SET THEORY, the binary relation R defined on the set X is a transitive relation if, for all a, b, c ∈ X, if ARB and bRc, then aRc. If there are two relations on a set satisfying transitive property then there union must satisfy transitive property.

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)

For explanation I would say: Calculation of transitive CLOSURE results into matrix multiplication. We can do matrix multiplication in O(n^3) TIME. There are BETTER algorithms that do LESS than CUBIC time.

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

To explain I would say: In the case of smallest equivalence RELATION, each element is in one equivalence class like {a1}, {a2}, … are equivalence CLASSES. So, the rank or NUMBER of equivalence classes is n for a SET with n elements and so the answer is 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

Explanation: Let R is an equivalence relation on the set S with N elements and so it satisfies reflexive, symmetric and transitive PROPERTIES. The smallest equivalence relation MEANS it should contain minimum number of ordered pairs i.e along with symmetric and transitive properties it MUST always satisfy reflexive property. So, the smallest equivalence relation will have n ordered pairs and so the answer is 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 -&gtsay, 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

Explanation: Suppose, a=0, then we know that 0 does not divide 0, 0 ∤ 0 and it is not reflexive. Again, 2 | 4 but 4 does not 2 and so it is not a 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, …}

To elaborate: Note that a set of class representatives is the subset of a set which contains exactly one element from each equivalence class. Now, for integers n, a and B, we have CONGRUENCE a≡b(MOD n), then the set of equivalence classes are{…, -2n, -n, 0, n, 2n,…}, {…, 1-2n, 1-n, 1, 1+n, 1+2n,…}. The required answer is {…, 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)}

For explanation I would SAY: {(1,1), (1,2), (2,2), (3,3), (4,3), (4,4)} is a REFLEXIVE relation because it contains set = {(1,1), (2,2), (3,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}

To EXPLAIN I would SAY: {3,5}, {3,6,7}, {4,5,6}. It is not a PARTITION because these sets are not pairwise disjoint. The elements 3, 5 and 6 appear repeatedly these sets. {1}, {2,3,6}, {4}, {5} – this is a partition as they are pairwise disjoint. {3,4,6}, {7} – this is not a partition as ELEMENT 5 is missing.

{5,6}, {5,7} – this is not a partition because it is missing the elements 3, 4 in any of the sets.

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

To explain: Here, [3] = {3, 5}, [5] = {3, 5}, [5] = {5}. We can SEE that [3] = [5] and that S/R will be {[3], [6]} which is a partition of S. Thus, we can choose either {3, 6} or {5, 6} as a set of REPRESENTATIVES of the equivalence classes.

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

To explain I WOULD say: Here, maximum element is c and so c is of a higher order than any other element in A. Minimal elements are a and b: No other element in A is of lower order than either a or b.

We are GIVEN P(a) = True. So, for all x such that a≤x, P(x) must be True. We do have at least one such x, which is c as it is the maximum element. So, P(x) = False for all x ∈ S such that a ≤ x and b ≤ x -> cannot be true. P(x) = True for all xS such that x ≠ b -> can be True as all elements mapped to TRUE doesn’t violate the given implication. P(x) = False for all x ∈ S such that x ≠ a and x ≠ c -> can be True if a is RELATED only to c. P(x) = False for all x ∈ S such that b ≤ x and x ≠ c -> can be True as b≤x ensures x≠a and for all other elements P(x) can be False without violating the given implication.

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

To explain I would say: Consider any sequence like “45, 8, 7, 2” – it can have many (infinite) LEAST upper bounds like “45, 8, 7, 2, 5”, “45, 8, 7, 2, 1” and so on but it can have only 1 greatest lower bound – “45, 8, 7” because we are using the prefix relation. So, every non-empty subset 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!

Easy EXPLANATION: To MAKE this partial order a total order, we need the relation to hold for every TWO element of the partial order. Currently, there is no relation between any bi and bj. So, for every bi and bj, we have to add either (bi, bj) or (bj, bi) in total order. So, this TRANSLATES to giving an ordering for n elements between x and y, which can be done in n! WAYS.

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

To explain: A set is called lattice if every finite subset has a least upper bound and greatest LOWER bound. It is TERMED as a complete lattice if every subset has a least upper bound and greatest lower bound. As every subset of this will not have LUB and GLB so (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}

Easiest explanation: A lattice is complete if every subset of partial order set has a supremum and infimum element. For example, here we are given a partial order set R. Now it will be a complete lattice if whatever be the subset we choose, it has a supremum and infimum element. Here relation given is set containment, so supremum element will be just union of all sets in the subset we choose. Similarly, the infimum element will be just an intersection of all the sets in the subset we choose. As R now is not complete lattice, because although it has a supremum for every subset we choose, but some subsets have no infimum. For example, if we take subset {{1, 3, 5}, {1, 2, 4}}, then intersection of sets in this is {1}, which is not PRESENT in R. So clearly, if we add set {1} in R, we will SOLVE the problem. So adding {1} is NECESSARY and sufficient condition for R to be a complete lattice.

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

To explain: The ordered pairs of the equivalence RELATIONS induced = {(a,a), (a,b), (a,c), (b,a), (b,b), (b,c), (c,a), (c,b), (c,c), (d,d)}. Poset -> equivalence relations = each PARTITION power set – Φ.

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

To explain I WOULD say: Relation LESS than a set of REAL numbers is not antisymmetric and reflexive. Relation is not POSET because it is irreflexive. Again, ARB != bRa unless a=b and so it is antisymmetric. A relation may be ‘not asymmetric and not reflexive but still antisymmetric, as {(1,1) (1,2)}. So, the relation is 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

Easiest explanation: A RELATION is asymmetric if and only if it is both antisymmetric and IRREFLEXIVE. As a consequence, a relation is transitive and asymmetric if and only if it is a strict partial order. If D(A) is a diagonal of A set and intersection of D(A) and R is empty, then R is asymmetric.

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}}

To elaborate: By definition of Transitive closure we have that a is related to all smaller b (as every a is related to b – 1) and from the REFLEXIVE PROPERTY a is related to a.

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

Explanation: For a set with K elements the number of BINARY relations should be 2^(n*n) and the number of functions should be n^n. Now, 2^(n*n) => n^2log (2) [TAKING log] and n^n => nlog (n) [taking log]. It is known that n^2log (2) > nlog (n). Hence, the number of binary relations > the number of functions i.e, Nr > Nf.

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

Best EXPLANATION: For a set with n elements the NUMBER of BINARY relations should be 2^(n*n) and the number of functions should be n^n. Hence Br = 2^(n*n)and Bf = 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

The explanation is: REFLEXIVE: a, a>0

Symmetric: if a, b>0 then both MUST be +ve or -ve, which MEANS b, a > 0 ALSO exists

Transitive: if a, b>0 and b, c>0 then to have b as same number, both pairs must be +ve or -ve which implies a, c>0. Hence, R’ is 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

To explain I would SAY: Not reflexive -> (3,3) not present; not irreflexive -> (1, 1) is present; not symmetric -> (2, 1) is present but not (1, 2); not antisymmetric – (2, 3) and (3, 2) are present; not asymmetric -> ASYMMETRY requires both antisymmetry and irreflexivity. So, it is transitive closure of relation.

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

The EXPLANATION is: R1 UNION R2 is not equivalence relation because transitivity property of CLOSURE need not hold. For instance, (x, y) can be in R1 and (y, z) be in R2 and (x, z) not in either R1 or R2. However, R1 intersection R2 is 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

To explain: U = Φ (empty set) on a set A = {11, 23, 35} NEED to be hold Irreflexive, symmetric, anti-symmetric, asymmetric and transitive CLOSURE property, but it is not REFLEXIVE as it does not contain any SELF loop in itself.

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

For EXPLANATION I would say: Number of equivalence RELATIONS are GIVEN by BELL number. The nth of these numbers i.e, Bn counts the number of different ways to partition a SET that has exactly n elements, or equivalently, the number of equivalence relations on it. Let’s say, 1 -> Equivalence relation with 1 element; 1 2 -> Equivalence relation with 2 element; 2 3 5 -> Equivalence relation with 3 element; 5 7 10 15 -> Equivalence relation with 4 element. Hence, the answer is 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)}

Easiest explanation: Let R be a relation on a set A. The CONNECTIVITY relation on R* consists of PAIRS (a,b) such that there is a path of length at LEAST ONE from a to b in R. Mathematically, R* = R^1∪ R^2∪ R^3 ∪ … ∪ R^n. Hence the ANSWER is {(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

For EXPLANATION: The reflexive CLOSURE of R is the relation, R ∪ Δ = { (a,b) | (a,b) R(a,a) | aA }. Hence, R ∪ Δ ={(0,1), (1,1), (1,3), (2,1), (2,2), (3,0)} and the answer is 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

Explanation: If ∈ R then ∈ R, where a and b belong to TWO different sets and so its symmetric.

R^c ALSO CONTAINS

R^c = R.

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

The BEST I can explain: To PROOF (R1 U R2)^c = R1^c ∪ R2^c,

if belongs to (R1 U R2)^c

∈ (R1 U R2)

∈ R1or ∈ R2

∈ R1^cor ∈ 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

The BEST I can explain: Let, a RELATION R from A to B is a subset of A×B. As the maximum number of subsets (Elements in the POWERSET) is 2^mn, there are 2^mn number of relations from A to B and so the answer is 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

To EXPLAIN I would say: The RANK of an equivalence relation is the number of an equivalence classes. If we have a1, a2, A3, …, an elements then a1 and a2 will be in the same equivalence class because everything is RELATED and so on. In this CASE, there is only one equivalence class.

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

Easiest explanation: Let R is an equivalence relation on the set S and so it satisfies the reflexive, symmetric and TRANSITIVE property. The largest equivalence relation means it should CONTAIN the largest number of ORDERED pairs. Since we can have n^2 ordered pairs in R x R where n belongs to S and all these ordered pairs are PRESENT in this relation; its the largest equivalence relation.So there are n^2 ELEMENTS i.e 7^2 = 49 elements in the largest equivalence relation.

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

The best explanation: Let S be a SET consists of n DISTINCT ELEMENTS. There are 2^(n-1)*(n-1) number of reflexive and SYMMETRIC relations that can be formed. So, here the answer is 2^(15-1)*(15-1) = 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

Easy EXPLANATION: Let A be a set consists of n DISTINCT elements. There are 2^(n*n)-n number of reflexive RELATIONS that can be FORMED. So, here the ANSWER is 2^(11*11)-11 = 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»