Complete the table to give an input, a process and an output - Edexcel - GCSE Computer Science - Question 5 - 2020 - Paper 1
Question 5
Complete the table to give an input, a process and an output.
Input Process Output
Current time Calculate change Change
Expiry time ... show full transcript
Worked Solution & Example Answer:Complete the table to give an input, a process and an output - Edexcel - GCSE Computer Science - Question 5 - 2020 - Paper 1
Step 1
Current time
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
The input is the current time, which is used to calculate the difference between the current time and the time of ticket purchase. The process involves using a function to determine the time now, and the output is the change in currency based on the ticket price.
Step 2
Expiry time
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
The expiry time is the result of adding two hours to the current time of purchase. The process takes the current time and adds 2 hours, resulting in an output of the expiry time for the ticket validity.