Let $Z$ denote the set of integers. Define $f: Z \rightarrow Z$ by $f(x) = \begin{cases} \frac{x}{2}, & x \text{ is even} \\ 0, & x \text{ is odd} \end{cases}$. Then $f$ is:

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

Explore More

Similar Questions

The number of strictly increasing functions $f$ from the set $A = \{1, 2, 3, 4, 5, 6\}$ to the set $B = \{1, 2, 3, \dots, 9\}$ such that $f(i) \neq i$ for all $1 \le i \le 6$ is equal to:

Show that the function $f: N \rightarrow N$ given by $f(x) = 2x$ is one-one but not onto.

The function $f : R \rightarrow (-1, 1)$ defined by $f(x) = \frac{e^x - 1}{e^x + 1}$ is:

If $f: Z \rightarrow N$ is defined by $f(n) = \begin{cases} 2n, & \text{if } n > 0 \\ 1, & \text{if } n = 0 \\ -2n-1, & \text{if } n < 0 \end{cases}$,then the function $f$ is:

Let $f:[0,1] \rightarrow [-1,1]$ and $g:[-1,1] \rightarrow [0,2]$ be two functions such that $g$ is injective and $g \circ f: [0,1] \rightarrow [0,2]$ is surjective. Then,

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