ITPEC IP October 2024 Question 6

Source exam: ITPEC IP October 2024Topic: Algorithm and Programming

ITPEC IP October 2024 — Question 6 of 100

For up to 100 units, A charges every unit at 5; above 300 units, B adds the three progressive bands. The expressions are units × 5 and 100 × 5 + 200 × 10 + (units - 300) × 15. The tariff is progressive: each consumption band is charged only at its own rate.

For the first branch, all used units are within the first band. For the final branch, the first 100 units cost 5 each, the next 200 cost 10 each, and only consumption beyond 300 costs 15 each. These expressions are exactly option (d).

Answer (d)

Why not others:
- (a) and (b) subtract 100 in the first band, producing incorrect or negative charges

- (a) and (c) also calculate the upper tiers from overlapping quantities, charging some units more than once

Key rule: In a progressive tariff, calculate each completed band at its full width and the final band only on usage above its threshold.

AI-generated — may contain errors

The original exam layout is preserved in the image so diagrams, formulas, tables, and code remain accurate.

This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official IP past-paper collection or Report an issue.