The aquarium at Aqua Wonderland is setting up a new rectangular shark tank - NSC Information Technology - Question 1 - 2016 - Paper 1
Question 1
The aquarium at Aqua Wonderland is setting up a new rectangular shark tank. The administrators need a software program to manage the income from visitors and the dai... show full transcript
Worked Solution & Example Answer:The aquarium at Aqua Wonderland is setting up a new rectangular shark tank - NSC Information Technology - Question 1 - 2016 - Paper 1
Step 1
Button [Question 1_1]
96%
114 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
To compute the volume of the tank, the following calculations are performed:
Extract Measurements: Retrieve the length, width, and height from the corresponding text boxes and convert them to numerical values.
Calculate Volume: Use the formula:
Volume=length×width×height
For example, if:
Length = 16.5 metres
Width = 14.2 metres
Height = 12.5 metres
The calculation would be:
Volume=16.5×14.2×12.5=2,928.75 cubic metres
Display Result: Output the calculated volume into the relevant text box.
Step 2
Button [Question 1_2]
99%
104 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
To calculate the cost of filling the tank:
Determine Volume in Litres: Convert the volume from cubic metres to litres:
Volumelitres=Volumecubicmetres×1000
Cost Calculation: Depending on the volume, compute the cost: