Tuesday, October 22, 2019
AQA Computing CPT3 Essay Example
AQA Computing CPT3 Essay Example AQA Computing CPT3 Essay AQA Computing CPT3 Essay This will provide a temporary variable location which holds the representation of the digits, this is stored in form of number User Interfaces This part of section 1 will show a diagram of the petrol pump, with appropriate annotations and notes identifying the features of the petrol pump console, such as the buttons and displays. The Lift Nozzle Start Dispensing button starts the petrol pump timer, this will make the dispensed petrol clock (variable fuelClock) start, incrementing 0.01 each time. It will also allow the customer to pay display (variable totalToPay) to function correctly by calculating the amount the customer has to pay according to the price per litre (variable pricePerLitre) and the dispensed petrol clock (variable fuelClock). This button will also change the pump status from the default status of Pump Is Ready To Use to Pump Is In Use.The Stop Dispensing button will stop the petrol pump timer, this will make the dispensed petrol clock (variable fuelClock) stop, it will also stop the pay display (variable totalToPay) to stop calculating, and provide the final amount of petrol that the customer has to pay for the current transaction, this is calculated according to the price per litre (variable pricePerLitre) and the dispensed petrol clock (variable fuelClock). The button will also change the current pump status of Pump Is In Use to Pump Stopped, Replace Nozzle.The Replace Nozzle button will change the current status of the pump from Pump Stopped, Replace Nozzle to Awaiting Payment, this will allow the cashier to await actual payment for the current transaction so that they are able to press the Reset button on their interface. User Interface (Continued) The Reset Pump button will change the current status of the pump from Awaiting Payment to Pump Is Ready To Use, the petrol pump will also reset the fuel timer / dispensed total (variable fuelClock), the to pay total (variable totalToPay), the pump will add the pay total for the current transaction to the total takings for the day (variable totalTakings), and the pump will add the dispensed total for the current transaction to the dispensed total today display (variable dispensedTotal). A message will also appear in the message box, on the cashiers interface identifying that the petrol pump has been reset (message The Pump Has Been Reset).The Show Daily Report button will change the message box status showing the total takings for the day (variable totalTakings) and the dispensed total today (variable dispensedTotal). After each transaction the Total To Pay is added to the Total Daily Takings variable (calculation totalToPay + totalTakings).The Set Price input box and button in conjunction will update the price of the petrol per litre (variable pricePerLitre), the user will have to input the new price, and then click the Set Price button to change the price, once the price has been changed the status of the Message Box will change to Price Has Been Adjusted. If the new price entered is below 0.01 and above 2.00 an error message will display, such as Price Is Too High, Must Be Below à ¯Ã ¿Ã ½5.00. The price per litre displays on the customer and cashier interfaces will change immediately after the price has been adjusted.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.