P-Cubed sorts items by their address codes - Edexcel - GCSE Computer Science - Question 2 - 2018 - Paper 1
Question 2
P-Cubed sorts items by their address codes.
This is pseudo-code for an algorithm that forwards items to regional depots.
IF (code[0] >= "A" AND code[0] <= "I") THEN... show full transcript
Worked Solution & Example Answer:P-Cubed sorts items by their address codes - Edexcel - GCSE Computer Science - Question 2 - 2018 - Paper 1
Step 1
Code: Q874698RI
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
Output displayed: Unknown code
Step 2
Code: VA22882A
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
Output displayed: South depot
Step 3
Code: 4W56AB92
96%
101 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!