Confirming your payment

Skip to content

Competency-Based Questions (CBQ) · Question 31 of 80

Boarding passes go through two machines in turn.

Question 311 markMedium

Boarding passes go through two machines in turn. The first is f:{2,3,4,5}→{3,4,5,9}f : \{2, 3, 4, 5\} \to \{3, 4, 5, 9\} with f(2)=3f(2) = 3, f(3)=4f(3) = 4, f(4)=5f(4) = 5 and f(5)=5f(5) = 5. The second is g:{3,4,5,9}→{7,11,15}g : \{3, 4, 5, 9\} \to \{7, 11, 15\} with g(3)=7g(3) = 7, g(4)=7g(4) = 7, g(5)=11g(5) = 11 and g(9)=11g(9) = 11. A pass carrying the number xx leaves the pair of machines carrying (g∘f)(x)(g \circ f)(x).

Assertion: g∘fg \circ f is an onto function from {2,3,4,5}\{2, 3, 4, 5\} to {7,11,15}\{7, 11, 15\}.

Reason: (g∘f)(2)=7(g \circ f)(2) = 7 and (g∘f)(4)=11(g \circ f)(4) = 11.

(A) Assertion is correct, reason is correct; reason is a correct explanation for assertion.

(B) Assertion is correct, reason is correct; reason is not a correct explanation for assertion.

(C) Assertion is correct, reason is incorrect.

(D) Assertion is incorrect, reason is correct.