GATE CS 2025, set 1 · Question 17 · Engineering Mathematics · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer
g(.) is a function from A to B, f(.) is a function from B to C, and their composition defined as f(g(.)) is a mapping from A to C.
If f(.) and f(g(.)) are onto (surjective) functions, which ONE of the following is TRUE about the function g(.)?
- (A) g(.) must be an onto (surjective) function.
- (B) g(.) must be a one-to-one (injective) function.
- (C) g(.) must be a bijective function, that is, both one-to-one and onto.
- (D) g(.) is not required to be a one-to-one or onto function.
Answer
Answer (D)
Answer from the official GATE CS 2025 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes