Confirming your payment

Skip to content

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

A warehouse robot sends each parcel with code x A = -2, -1, 0, 1, 2 to a bin numbered y B = 0, 1, 2, 3, 4 .

Question 111 markMCQMedium

A warehouse robot sends each parcel with code x∈A={−2,−1,0,1,2}x \in A = \{-2, -1, 0, 1, 2\} to a bin numbered y∈B={0,1,2,3,4}y \in B = \{0, 1, 2, 3, 4\}. Four sorting rules are proposed, each written as a relation from AA to BB.

Which rule is a function from AA to BB?

Select your answer
  • (A) {(x,y):y2=x+2}\{(x, y) : y^2 = x + 2\}

  • (B) {(x,y):y=x2}\{(x, y) : y = x^2\}

    Correct answer
  • (C) {(x,y):∣y−x∣=1}\{(x, y) : |y - x| = 1\}

  • (D) {(x,y):y≥x2}\{(x, y) : y \ge x^2\}