Functions: GATE CS Previous Year Questions

Functions · Discrete Mathematics

12 questions · asked in 9 of 27 years (2000–2026)

MCQ 8 · MSQ 2 · NAT 21-mark 8 · 2-mark 4

2000Questions per year2026

Questions 1–5 of 12

Q1GATE 2025 (Session 1)1 markMCQ−0.33 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(. )?

Q2GATE 2024 (Session 1)1 markMCQ−0.33 if wrong
Let f:R→Rf: \mathbb{R} \rightarrow \mathbb{R} be a function such that f(x)=max⁡{x,x3},x∈Rf(x)=\max \left\{x, x^3\right\}, x \in \mathbb{R}, where R\mathbb{R} is the set of all real numbers. The set of all points where f(x)f(x) is NOT differentiable is

Q3GATE 2024 (Session 1)1 markNAT
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 ___

Q4GATE 20232 marksMSQ
Let f:A→Bf:A\rightarrow 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 ε={[x]:x∈A}\varepsilon =\{[x]:x \in A\} be the set of all the equivalence classes under ∼\sim. Define a new mapping F:ε→BF: \varepsilon \rightarrow B as
F([x])=f(x),F([x]) = f(x), for all the equivalence classes [x][x] in ε\varepsilon
Which of the following statements is/are TRUE?

One or more options are correct.

Q5GATE 2021 (Session 2)1 markMSQ
Consider the following sets, where n≥2n\geq 2:

S1: Set of all nxn matrices with entries from the set {a,b,c}\{a, b, c\}
S2: Set of all functions from the set{0,1,2,...,n2−1}\{0,1,2,...,n^2-1\} to the set {0,1,2}\{0, 1, 2 \}

Which of the following choice(s) is/are correct?

One or more options are correct.

Keep practising

Topics in Discrete Mathematics

All CS topics ›