Postal rates for 'light letters' are 25p upto 10g. 35p upto 15g plus an extra 10p for each additional 25g upto 100g. Which test inputs (in grams), would be selected using EQP?

  1. 8,42,82,102

  2. 4,15,65,92,159

  3. 10,50,75,100

  4. 5,20,40,60,80


Correct Option: B

AI Explanation

To determine which test inputs would be selected using EQP, let's go through each option and calculate the postal rates for each weight:

Option A) 8, 42, 82, 102

  • For 8 grams: The postal rate is 25p.
  • For 42 grams: 35p + 10p = 45p.
  • For 82 grams: 35p + 10p + 10p + 10p = 65p.
  • For 102 grams: 35p + 10p + 10p + 10p + 10p + 10p = 85p.

Option B) 4, 15, 65, 92, 159

  • For 4 grams: The postal rate is 25p.
  • For 15 grams: The postal rate is 35p.
  • For 65 grams: 35p + 10p + 10p + 10p + 10p = 75p.
  • For 92 grams: 35p + 10p + 10p + 10p + 10p + 10p + 10p + 10p = 95p.
  • For 159 grams: 35p + 10p + 10p + 10p + 10p + 10p + 10p + 10p + 10p + 10p + 10p + 10p + 10p + 10p + 10p + 10p + 10p + 10p + 10p + 10p = 155p.

Option C) 10, 50, 75, 100

  • For 10 grams: The postal rate is 25p.
  • For 50 grams: 35p + 10p + 10p = 55p.
  • For 75 grams: 35p + 10p + 10p + 10p + 10p = 75p.
  • For 100 grams: 35p + 10p + 10p + 10p + 10p + 10p + 10p = 95p.

Option D) 5, 20, 40, 60, 80

  • For 5 grams: The postal rate is 25p.
  • For 20 grams: 35p.
  • For 40 grams: 35p + 10p = 45p.
  • For 60 grams: 35p + 10p + 10p + 10p = 65p.
  • For 80 grams: 35p + 10p + 10p + 10p + 10p + 10p = 85p.

Based on the given postal rates, the test inputs that would be selected using EQP are:

  • Option A: 8, 42, 82, 102
  • Option B: 4, 15, 65, 92, 159
  • Option C: 10, 50, 75, 100
  • Option D: 5, 20, 40, 60, 80

The correct answer is Option B, as it includes the test inputs that would be selected using EQP.

Find more quizzes: