If $f: Z \rightarrow Z$ is defined by $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

For the greatest integer function $f(x) = [x]$,where $x \in R$,which of the following is true?

The function $f(x) = \frac{e^{|x|} - e^{-x}}{e^x + e^{-x}} + \cos^3\left(\frac{x}{2}\right)$ from $R$ to itself is

Show that the function $f : R \rightarrow R$ given by $f(x) = x^{3}$ is injective.

If $f: R \rightarrow R$ is defined by $f(x) = \begin{cases} 2x & : x > 3 \\ x^2 & : 1 < x \leq 3 \\ 3x & : x \leq 1 \end{cases}$,then the value of $f(-1) + f(2) + f(4)$ is:

If the function $f: R \rightarrow R$ is defined by $f(x) = |x|(x - \sin x)$,then which of the following statements is $TRUE$?

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