Labsheet 9 Bit10103v3
Labsheet 9 Bit10103v3
(i) One of the fields on a form contains a text box which accepts numeric values in the
range of 18 to 25.
(ii) An employee has RM4000 of salary tax free. The next RM1500 is taxed at 10%.
The next RM28000 after that is taxed at 22%. Any further amount is taxed at 40%.
(iii) If you are less than 18, you are too young to be insured. Between 18 and 30
inclusive, you will receive a 20% discount. Anyone over 30 is not eligible for a
discount.
(iv) You are testing an e-commerce system that sells clothes like shirts, blouses, skirts,
etc. The system accepts a quantity to be ordered, from 1 to 99. Based on the input,
the system calculates the item total price and adds the item total to the cart total.
Due to limits on credit card orders that can be processed, the maximum cart total is
RM999.99.
(v) The final grade is assigned based on the result, according to the following rules:
0 – 50 points: failed
51 – 60 points: fair
61 – 70 points: satisfactory
71 – 80 points: good
81 – 90 points: very good
91 – 100 points: excellent