Similar questions 1 more →
Sets, Relations & Functions

Answer & solution
Official answer: D
Approach: Determine whether hitting every point of C requires hitting every point of B. Different points of B can share the same image under f, so it need not.
Construct a counterexample: A={1,2}, B={u,v}, C={w}. Define g(1)=g(2)=u and f(u)=f(v)=w. The function f is onto C because w has a preimage. The composition sends both elements of A to w, so it is also onto C.
However g is not injective, because its two inputs share the output u, and is not onto B, because v is missed. This single example refutes the necessary-property claims in A, B and C and establishes D.
Conceptually, g only needs to hit enough points of B to cover all f-fibres over C. The conclusion would differ if extra assumptions, such as injectivity of f, were supplied; none is supplied here.