Q41Multiple correct5 Marks10 Jul 2022Which of the following functions is/are onto (surjective)?Af:N→Nf:\mathbb{N}\to\mathbb{N}f:N→N, f(n)={n/2,n is evenn−1,otherwisef(n)=\begin{cases} n/2,& n\text{ is even}\\ n-1,& \text{otherwise}\end{cases}f(n)={n/2,n−1,n is evenotherwise.Bf:N→Nf:\mathbb{N}\to\mathbb{N}f:N→N, f(n)={(n+1)/2,n is oddn/2,otherwisef(n)=\begin{cases} (n+1)/2,& n\text{ is odd}\\ n/2,& \text{otherwise}\end{cases}f(n)={(n+1)/2,n/2,n is oddotherwise.Cf:R→Nf:\mathbb{R}\to\mathbb{N}f:R→N, f(n)={0,n∈Q1,otherwisef(n)=\begin{cases}0,& n\in\mathbb{Q}\\1,& \text{otherwise}\end{cases}f(n)={0,1,n∈Qotherwise.Df:R→Rf:\mathbb{R}\to\mathbb{R}f:R→R, f(n)=n−2f(n)=n-2f(n)=n−2.