Sets Relations and Functions questions — page 1 of 2

Q26

GATE CS 2026 CS-2Discrete MathematicsMSQ1 mark
Let RR be a binary relation on the set {1,2,…,10}\{1, 2, \dots, 10\}, where (x,y)∈R(x, y) \in R if the product of xx and yy is square of an integer. Which of the following properties is/are satisfied by RR?
More than one option can be correct.
Show answer without attempting

Answer: A, B, C

Q17

GATE CS 2025 CS-1Discrete MathematicsMCQ1 mark−1/3 if wrong
g(.)g(.) is a function from AA to BB, f(.)f(.) is a function from BB to CC, and their composition defined as f(g(.))f(g(.)) is a mapping from AA to CC.
If f(.)f(.) and f(g(.))f(g(.)) are onto (surjective) functions, which ONE of the following is TRUE about the function g(.)g(.)?
Show answer without attempting

Answer: D

Q49

GATE CS 2025 CS-1Discrete MathematicsMSQ2 marks
A={0,1,2,3,… }A = \{0, 1, 2, 3, \dots \} is the set of non-negative integers. Let F\textsf{F} be the set of functions from AA to itself. For any two functions, f1,f2∈Ff_1, f_2 \in \textsf{F}, we define
(f1 ⊙ f2)(n)=f1(n)+f2(n)(f_1 \, \odot \, f_2)(n) = f_1(n) + f_2(n)
for every number nn in AA. Which of the following is/are CORRECT about the mathematical structure (F,⊙)(\textsf{F}, \odot)?
More than one option can be correct.
Show answer without attempting

Answer: B

Q42

GATE CS 2025 CS-2Discrete MathematicsMSQ2 marks
Let F\mathcal{F} be the set of all functions from {1,…,n}\{1, \dots, n\} to {0,1}\{0,1\}. Define the binary relation ≼\preccurlyeq on F\mathcal{F} as follows:

∀f,g∈F,f≼g\forall f, g \in \mathcal{F}, f \preccurlyeq g if and only if ∀x∈{1,…,n},f(x)≤g(x)\forall x \in \{1, \dots, n\}, f(x) \le g(x), where 0≤10 \le 1.

Which of the following statement(s) is/are TRUE?
More than one option can be correct.
Show answer without attempting

Answer: B, C

Q32

GATE CS 2024 CS-1Discrete MathematicsNAT1 mark
Let AA and BB be non-empty finite sets such that there exist one-to-one and onto functions (i) from AA to BB and (ii) from A×AA \times A to A∪BA \cup B. The number of possible values of ∣A∣|A| is __________
Show answer without attempting

Answer: 2

Q52

GATE CS 2024 CS-1Discrete MathematicsMSQ2 marks
Consider the operators ⋄\diamond and □\square defined by a⋄b=a+2ba \diamond b = a + 2b, a□b=aba \square b = ab, for positive integers. Which of the following statements is/are TRUE?
More than one option can be correct.
Show answer without attempting

Answer: B, D

Q49

GATE CS 2023 CSDiscrete MathematicsMSQ2 marks
Let f:A→Bf : A \to B be an onto (or surjective) function, where AA and BB are nonempty sets. Define an equivalence relation ∼\sim on the set AA as
a1∼a2 if f(a1)=f(a2)a_1 \sim a_2 \text{ if } f(a_1) = f(a_2)
where a1,a2∈Aa_1, a_2 \in A. Let E={[x]:x∈A}\mathcal{E} = \{[x] : x \in A\} be the set of all the equivalence classes under ∼\sim. Define a new mapping F:E→BF : \mathcal{E} \to B as
F([x])=f(x), for all the equivalence classes [x] in E.F([x]) = f(x), \text{ for all the equivalence classes } [x] \text{ in } \mathcal{E}.

Which of the following statements is/are TRUE?
More than one option can be correct.
Show answer without attempting

Answer: B, C, D

Q43

GATE CS 2021 CS-1Discrete MathematicsMSQ2 marks
A relation R is said to be circular if aRba\mathrm{R}b and bRcb\mathrm{R}c together imply cRac\mathrm{R}a.
Which of the following options is/are correct?
More than one option can be correct.
Show answer without attempting

Answer: C

Q11

GATE CS 2021 CS-2Discrete MathematicsMSQ1 mark
Consider the following sets, where n≥2n \ge 2:

S1S_1: Set of all n×nn \times n matrices with entries from the set {a,b,c}\{a, b, c\}
S2S_2: Set of all functions from the set {0,1,2,…,n2−1}\{0, 1, 2, \dots, n^2-1\} to the set {0,1,2}\{0, 1, 2\}

Which of the following choice(s) is/are correct?
More than one option can be correct.
Show answer without attempting

Answer: B, C

Q50

GATE CS 2021 CS-2Discrete MathematicsNAT2 marks
Let SS be a set consisting of 10 elements. The number of tuples of the form (A,B)(A, B) such that AA and BB are subsets of SS, and A⊆BA \subseteq B is ____________.
Show answer without attempting

Answer: 59049

Q17

GATE CS 2020 CSDiscrete MathematicsNAT1 mark
Let R\mathcal{R} be the set of all binary relations on the set {1,2,3}\{1,2,3\}. Suppose a relation is chosen from R\mathcal{R} at random. The probability that the chosen relation is reflexive (round off to 3 decimal places) is __________.
Show answer without attempting

Answer: 0.125

Q10

GATE CS 2019 CSDiscrete MathematicsMCQ1 mark−1/3 if wrong
Let GG be an arbitrary group. Consider the following relations on GG:
R1:∀a,b∈GR_1: \forall a, b \in G, a  R1  ba \; R_1 \; b if and only if ∃g∈G\exists g \in G such that a=g−1bga = g^{-1}bg
R2:∀a,b∈GR_2: \forall a, b \in G, a  R2  ba \; R_2 \; b if and only if a=b−1a = b^{-1}

Which of the above is/are equivalence relation/relations?
Show answer without attempting

Answer: B

Q34

GATE CS 2019 CSDiscrete MathematicsMCQ2 marks−2/3 if wrong
Consider the following sets:
S1. Set of all recursively enumerable languages over the alphabet {0,1}\{0, 1\}
S2. Set of all syntactically valid C programs
S3. Set of all languages over the alphabet {0,1}\{0, 1\}
S4. Set of all non-regular languages over the alphabet {0,1}\{0, 1\}

Which of the above sets are uncountable?
Show answer without attempting

Answer: B

Q27

GATE CS 2018 CSDiscrete MathematicsMCQ2 marks−2/3 if wrong
Let NN be the set of natural numbers. Consider the following sets.

PP: Set of Rational numbers (positive and negative)
QQ: Set of functions from {0,1}\{0, 1\} to NN
RR: Set of functions from NN to {0,1}\{0, 1\}
SS: Set of finite subsets of NN.

Which of the sets above are countable?
Show answer without attempting

Answer: D

Q28

GATE CS 2016 CS-1Discrete MathematicsNAT2 marks
A function f:N+→N+f : \mathbb{N}^+ \to \mathbb{N}^+, defined on the set of positive integers N+\mathbb{N}^+, satisfies the following properties:
f(n)=f(n/2)f(n) = f(n/2) if nn is even
f(n)=f(n+5)f(n) = f(n+5) if nn is odd
Let R={i∣∃j:f(j)=i}R = \{i \mid \exists j : f(j) = i\} be the set of distinct values that ff takes. The maximum possible size of RR is ________.
Show answer without attempting

Answer: 2.0

Q26

GATE CS 2016 CS-2Discrete MathematicsMCQ2 marks−2/3 if wrong
A binary relation RR on N×N\mathbb{N} \times \mathbb{N} is defined as follows: (a,b)R(c,d)(a,b)R(c,d) if a≤ca \le c or b≤db \le d. Consider the following propositions:

PP: RR is reflexive
QQ: RR is transitive

Which one of the following statements is TRUE?
Show answer without attempting

Answer: B

Q12

GATE CS 2015 CS-3Discrete MathematicsMCQ1 mark−1/3 if wrong
Suppose UU is the power set of the set S={1,2,3,4,5,6}S = \{1,2,3,4,5,6\}. For any T∈UT \in U, let ∣T∣|T| denote the number of elements in TT and T′T' denote the complement of TT. For any T,R∈UT, R \in U, let T∖RT \setminus R be the set of all elements in TT which are not in RR. Which one of the following is true?
Show answer without attempting

Answer: D

Q60

GATE CS 2015 CS-3Discrete MathematicsMCQ2 marks−2/3 if wrong
Let RR be a relation on the set of ordered pairs of positive integers such that ((p,q),(r,s))∈R((p,q),(r,s)) \in R if and only if p−s=q−rp - s = q - r. Which one of the following is true about RR?
Show answer without attempting

Answer: C

Q11

GATE CS 2015 CS-1Discrete MathematicsMCQ1 mark−1/3 if wrong
If g(x)=1−xg(x) = 1 - x and h(x)=xx−1h(x) = \dfrac{x}{x-1}, then g(h(x))h(g(x))\dfrac{g(h(x))}{h(g(x))} is:
Show answer without attempting

Answer: A

Q20

GATE CS 2015 CS-1Discrete MathematicsMCQ1 mark−1/3 if wrong
For a set AA, the power set of AA is denoted by 2A2^A. If A={5,{6},{7}}A = \{5, \{6\}, \{7\}\}, which of the following options are TRUE?

I. ∅∈2A\emptyset \in 2^A
II. ∅⊆2A\emptyset \subseteq 2^A
III. {5,{6}}∈2A\{5, \{6\}\} \in 2^A
IV. {5,{6}}⊆2A\{5, \{6\}\} \subseteq 2^A
Show answer without attempting

Answer: C

0/200 correct0 marks

Related topics in Discrete Mathematics