Let's start from the beginning. Can you say if a function is injective without knowing its codomain? Can you say if a function is surjective without knowing its codomain or its domain?

Have you seen any examples where a function is analyzed for being injective and surjective?