Solution:
Graph
Option (B) is correct.
One-one Function
According to the graph for , for given range of is not repeating its value.
Thus, its one-one.
Onto function
Range of the function is also the co-domain of the function, Therefore it is onto.
Hence, is one-one onto.