📜  门| GATE-CS-2007 |问题2

📅  最后修改于: 2021-06-29 23:40:33             🧑  作者: Mango

令S为一组元素。 S上最大和最小等价关系中的有序对的数目为:
(A) n和n
(B) n 2和n
(C) n 2和0
(D) n和1答案: (B)
解释:

Consider an example set, S = (1,2,3)

Equivalence property follows, reflexive, symmetric
and transitive

Largest ordered set are s x s = 
{ (1,1) (1,2) (1,3) (2,1) (2,2) (2,3) (3,1) (3,2) 
(3,3) } which are 9 which equal to 3^2 = n^2

Smallest ordered set are { (1,1) (2,2) ( 3,3)}
which are 3 and equals to n. number of elements.

这个问题的测验