OCR 2023 GCSE Computer Science J277/02: Computational thinking, algorithms and programming Question Paper & Mark Scheme (Merged)
2 © OCR 2023 SECTION A 1 (a) The table contains four statements about programming languages. Tick () 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] 3 © OCR 2023 Turn over (iii) Finding the difference between two measurements. measurement1 = 300 measurement2 = 100 difference = measurement1 ……………… measurement2 [1] (d) Read the following pseudocode algorithm:
Written for
- Institution
- Graduation in computer science
- Course
- Graduation in computer science
Document information
- Uploaded on
- May 10, 2024
- Number of pages
- 54
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
ocr 2023 gcse computer science j27702 computatio