Question 6
Edexcel Computer Science June 2020 Paper 1GCSE13 marks
On the specification
- (a)
- 4.1 Networks
- (b)
- 1.2 Algorithms
- (c)(i)
- 1.2 Algorithms
- (c)(ii)
- 1.2 Algorithms
- (c)(iii)
- 1.2 Algorithms
- (c)(iv)
- 1.2 Algorithms
- (d)
- 1.2 Algorithms
Question text
6 Joe plays online games using the world wide web. (a) A sequence of processes is required to open a web page. Describe this sequence of processes. (4) (b) The web page uses a merge sort to display high scores. Describe how a merge sort works. (4) (c) A bubble sort is carried out on this list. 52 4 1 9 3 7 (i) State the number of comparisons that will be made on the first pass. (1) (ii) State the number of swaps that will be made on the first pass. (1) (iii) State the number of passes that will be made. (1) (iv) State the condition that will cause the algorithm to end. (1) (d) A sorted data set contains millions of items. State why a binary search algorithm would be preferable to a linear search algorithm for use with this data set. (1) (Total for Question 6 = 13 marks)