Confirming your payment

Skip to content

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

A parking lot charges ₹2 per hour, and the parked time x (in hours, x 0 ) is recorded to any fraction of an hour.

Question 401 markMCQMedium

A parking lot charges ₹2 per hour, and the parked time xx (in hours, x≥0x\ge 0) is recorded to any fraction of an hour. Write f(x)=[x]f(x)=[x], the greatest integer less than or equal to xx, and g(x)=2xg(x)=2x, both as functions from [0,∞)[0,\infty) to [0,∞)[0,\infty). Two billing systems are compared.

  • System I first rounds the time down to whole hours and then charges ₹2 per hour, so the bill in rupees is (g∘f)(x)(g\circ f)(x).
  • System II first works out 2x2x rupees and then rounds the amount down to whole rupees, so the bill is (f∘g)(x)(f\circ g)(x).

For which parking times xx do the two systems give the same bill?

Select your answer
  • (A) For every x≥0x\ge 0, because both systems use the same two steps

  • (B) Only when xx is a whole number

  • (C) Exactly when the fractional part of xx is less than 12\frac{1}{2}

    Correct answer
  • (D) Exactly when the fractional part of xx is at least 12\frac{1}{2}