From Paper 2: Computational thinking, algorithms and programming
1(a)2 marks
Define abstraction and give an example of its use in a map app.
num = input("Enter number")result = 1for i = 1 to num if i MOD 2 == 0 then result = result * i endifnext iprint(result)This paper is written by Plasmo in the style of the OCR GCSE Computer Science exam. It is not a past paper and is not produced or endorsed by the exam board.