If $f: Z \rightarrow Z$, $f(x) = \begin{cases} \frac{x}{2}, & \text{if } x \text{ is even} \\ 0, & \text{if } x \text{ is odd} \end{cases}$, then $f$ is

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

Explore More

Similar Questions

Show that the modulus function $f : R \rightarrow R$ given by $f(x) = |x|$ is neither one-one nor onto,where $|x| = x$ if $x \ge 0$ and $|x| = -x$ if $x < 0$.

The mapping $f: R \to R$ defined as $f(x) = \cos x, x \in R$ is:

Let $f: R \to R$ be a function defined by $f(x) = \frac{x - m}{x - n}$,where $m \ne n$. Then

If a set $A$ has $n$ elements,then the number of functions defined from $A$ to $A$ that are not one-one is

If a real-valued function $f$ is defined by $f(x) = \frac{ax + \sqrt{a^2 - x^2}}{bx}$,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