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 set $A$ has $4$ elements and the set $B$ has $5$ elements. Then,the number of injective mappings that can be defined from $A$ to $B$ is:

Which of the following is an even function?

For each $n \in N$, let $A_n = \{(n+1)k \mid k \in N\}$ and $X = \bigcup_{n \in N} A_n$. $A$ mapping $f: X \rightarrow N$ defined by $f(x) = x, \forall x \in X$, is

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:

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}$, for all $n \in N$ then $f$ is $\dots \dots \dots$

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