Question 2
OCR Computer Science June 2024 Computational thinking, algorithms and programming (J277-02)GCSE4 marks
On the specification
- 2.1 Algorithms2.2 Programming fundamentals
Question text
2 An algorithm decides if a number is odd or even. An odd number divided by 2 will give the remainder 1. The flowchart statements have been written for the algorithm, but the flowchart is incomplete. Complete the flowchart. Start INPUT num if num MOD 2 == 0 OUTPUT "Odd" OUTPUT "Even" End [4]