2. When stocks of items sold in the kiosk are low, they are reordered from the supplier - Edexcel - GCSE Computer Science - Question 2 - 2019 - Paper 1
Question 2
2. When stocks of items sold in the kiosk are low, they are reordered from the supplier. Any items that have passed their sell-by date are disposed of.
(a) A comput... show full transcript
Worked Solution & Example Answer:2. When stocks of items sold in the kiosk are low, they are reordered from the supplier - Edexcel - GCSE Computer Science - Question 2 - 2019 - Paper 1
Step 1
Complete the table to show an input, a process and an output
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
Input
Process
Output
Determine if the sell-by date is passed
Yes, dispose of pack of cookies
No, keep pack of cookies
Number of packs of this type of cookie
Determine if number of packs < 10
Reorder this number of packs of this type of cookie
Step 2
State the indexing expression for the first character
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 first character index is: 11
Step 3
State the indexing expression for the last character
96%
101 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!