OCR GCSE COMPUTER SCIENCE PAPER 2 QUESTION PAPER 2023 (J277/02: Computational thinking, algorithms and programming). DOWNLOAD OFFICIAL AND VERIFIED OCR GCSE COMPUTER SCIENCE PAPER 2 QUESTION PAPER 2023 ON www.leakedexams.com.
1 (a) The table contains four statements about programming languages.
 Tick (3) one box in each row to identify whether each statement describes a low-level
programming language or a high-level programming language.
Statement Low-level High-level
The same language can be used on
computers that use different hardware
It allows the user to directly manipulate
memory
It allows the user to write English-like
words
It always needs to be translated into
object code or machine code
[4]
(b) The variables num1 and num2 store integers.
 Write pseudocode to add the integers stored in num1 and num2. Store the result in a
variable with the identifier total
...................................................................................................................................................
.............................................................................................................................................. [1]
(c) Three incomplete pseudocode algorithms are given with a description of the purpose of each
algorithm.
 Write the missing arithmetic operator for each algorithm.
 (i) Outputting 12 to the power of 2.
 print(12 â¦â¦â¦â¦â¦â¦ 2) [1]
 (ii) Working out if a number is odd or even.
 number = 53
 if number â¦â¦â¦â¦â¦â¦ 2 == 0 then
 print("Even number")
 else
 print("Odd number")
 endif [1]
Author | OCR KING |
Published | 30 Jul 2024 |
Included files | |