An automated sorting system on a chocolate production line is designed to check the quality of manufactured chocolate bars. Every 8th bar is selected for detailed inspection (e.g., bar numbers 8, 16, 24, and so on). If the bar ID divided by 8 has a remainder of 0, it is routed to the inspection lab. Otherwise, it is sent to the packaging line.
The flowchart for this algorithm is incomplete.

Complete the flowchart by matching the correct statements to the placeholders [ 1 ], [ 2 ], [ 3 ], and [ 4 ].
Choose from the following statements:
OUTPUT "Send to Packaging Line"bar_id MOD 8 == 0?OUTPUT "Send to Inspection Lab"INPUT bar_idPractise OCR GCSE Computer Science Designing, creating and refining algorithms with exam-style questions for GCSE Computer Science. 50 questions, matched to the OCR GCSE Computer Science (J277) specification and written in Component 01 and Component 02 style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.