Question 1
OCR Computer Science November 2020 Paper 2GCSE6 marks
On the specification
- (a)
- 2.1 Algorithms2.2 Programming techniques2.3 Producing robust programs
- (b)(i)
- 2.2 Programming techniques
- (b)(ii)
- 2.2 Programming techniques
Question text
1 The following table contains several definitions of terms that are used in Computer Science. Letter Definition A Cleaning up data entered by removing non-standard characters B Hiding or removing irrelevant details from a problem to reduce complexity C Checking that the user is allowed to access the program D Breaking a complex problem down into smaller problems E Repeating elements of a program F Converting one data type to another, for example converting an integer to a real number (a) Write the letter of the definition that matches each keyword in each space. Decomposition Abstraction Input sanitisation Casting [4] (b) (i) Write a pseudocode statement to assign the value 7.3 to a variable with the identifier timer [1] (ii) State the most appropriate data type for the variable timer. [1]