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 6–10 of 12

Q6GATE 2015 (Session 1)1 markMCQ−0.33 if wrong
If g(x)=1−xg(x)=1-x and h(x)=xx−1h(x)=\frac{x}{x-1}, then g(h(x))h(g(x))\frac{g(h(x))}{h(g(x))} is:

Q7GATE 2014 (Session 1)2 marksNAT
Let S denote the set of all functions f:{0,1}4→{0,1}{\{0,1\}}^{4} \rightarrow \{0,1\}. Denote by N the number of functions from S to the set {0,1}. The value of log2log2Nlog_{2} log_{2}N is______.

Q8GATE 2014 (Session 3)2 marksMCQ−0.67 if wrong
Consider the set of all functions f:{0,1,...,2014}→\rightarrow{0,1...,2014} such that f(f(i))=i, for 0≤\leqi≤\leq2014 . Consider the following statements.
P. For each such function it must be the case that for every i, f(i) = i,
Q. For each such function it must be the case that for some i,f(i) = i,
R. Each such function must be onto.
Which one of the following is CORRECT?

Q9GATE 20122 marksMCQ−0.67 if wrong
How many onto (or surjective) functions are there from an n-element ( n≥2n \geq 2 ) set to a 2-element set?

Q10GATE 20051 markMCQ−0.33 if wrong
Let ff be a function from a set A to a set B, gg a function from B to C, and hh a function from A to C, such that h(a)=g(f(a))h(a) = g(f(a)) for all a∈Aa \in A. Which of the following statements is always true for all such functions ff and gg?

Keep practising

Topics in Discrete Mathematics

All CS topics ›