Function is considered surjective or onto when:

A function is considered surjective or onto when:

  1. A.

    Each element in the domain maps to a unique element in the codomain

  2. B.

    Some elements in the domain map to the same element in the codomain

  3. C.

    Every element in the codomain has a pre-image in the domain

  4. D.

    No two elements in the domain map to the same element in the codomain

Attempted by 110 students.

Show answer & explanation

Correct answer: C

A surjective or onto function is a function where every element in the codomain has a pre-image in the domain.

Explore the full course: Dsssb Tgt Computer Science Paper 2