OCR AS LEVEL COMPUTER SCIENCE PAPER 2 QUESTION PAPER 2023 (H046/02: Algorithms and problem solving). DOWNLOAD OFFICIAL AND VERIFIED OCR AS LEVEL COMPUTER SCIENCE PAPER 2 QUESTION PAPER 2023 ON www.leakedexams.com.
1 A program uses a bubble sort to sort data into ascending numerical order.
The data is stored in a 0-indexed 1-dimensional array.
(a) Show each stage of a bubble sort to sort this data into ascending numerical order:
1 5 3 9 2 7
 You should clearly show and label each pass in your answer.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [4]
Author | OCR KING |
Published | 30 Jul 2024 |
Included files | |