Photo AI

P-Cubed sorts items by their address codes - Edexcel - GCSE Computer Science - Question 2 - 2018 - Paper 1

Question icon

Question 2

P-Cubed-sorts-items-by-their-address-codes-Edexcel-GCSE Computer Science-Question 2-2018-Paper 1.png

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

Answer

Output displayed: Unknown code

Step 2

Code: VA22882A

99%

104 rated

Answer

Output displayed: South depot

Step 3

Code: 4W56AB92

96%

101 rated

Answer

Output displayed: North depot

Join the GCSE students using SimpleStudy...

97% of Students

Report Improved Results

98% of Students

Recommend to friends

100,000+

Students Supported

1 Million+

Questions answered

;