Let $f: N \rightarrow N$ be defined by $f(n) = \begin{cases} \frac{n+1}{2}; & \text{if } n \text{ is odd} \\ \frac{n}{2}; & \text{if } n \text{ is even} \end{cases}$. Then $f$ is:

  • A
    one-one and onto
  • B
    one-one but not onto
  • C
    onto but not one-one
  • D
    neither one-one nor onto

Explore More

Similar Questions

If $f: N \times N \rightarrow N$ is defined by $f(m, n) = 2^{m-1}(2n-1)$ for all $(m, n) \in N \times N$,then $f$ is

The function $f:[0, \infty) \rightarrow [0, \infty)$ defined by $f(x) = \frac{x}{1+x}$ is

If $f: R \rightarrow R$ is defined by $f(x)=x-[x]-\frac{1}{2}$ for $x \in R$, where $[x]$ is the greatest integer not exceeding $x$, then $\{x \in R: f(x)=\frac{1}{2}\}$ is equal to :

The number of functions $f: \{1, 2, \ldots, 100\} \rightarrow \{0, 1\}$ that assign $1$ to exactly one of the positive integers less than or equal to $98$ is equal to $\qquad$.

If $f: R \rightarrow R$,such that $f(x)=\frac{e^{x}+e^{-x}}{e^{x}-e^{-x}}$,then $f$ is

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo