Suppose we wish to sort the following values: 84, 22, 19, 11, 60, 68, 31, 29, 58, 23, 45, 93, 48, 31, 7. Assume that: we have three pages of memory for sorting; we will use an external sorting algorithm with a 2-way merge; a page only holds two values. We do not use double buffering and we use quick sort in pass 0 to produce the initial runs. For each sorting pass, show the contents of all temporary files except that you should fully utilize the buffers by sorting every 3 pages into a run in pass 0. Could you show step by step detailed explaination for this?
Suppose we wish to sort the following values: 84, 22, 19, 11, 60, 68, 31, 29, 58, 23, 45, 93, 48, 31, 7. Assume that: we have three pages of memory for sorting; we will use an external sorting
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Suppose we wish to sort the following values: 84, 22, 19, 11, 60, 68, 31, 29, 58, 23, 45, 93, 48, 31, 7. Assume that: we have three pages of memory for sorting; we will use an external sorting
But the question states that in the first pass quick sort algorithm is to be used. Could you explain that step?? How do we create array blocks? is there a formula??
![Page 1
Ink have Athe follauing values in Ahe
fallowing
guven quedion
84, 22,19, 1L, 60,68, 31, 29,58,23,45,93,48,
In finst
all
31,7
Lotepue mege
thevaluio
84,22/|19, 11 Go, 68 31,29 |58,23 15,93/ 4631 7
[22,84||1,19 60, 68
29,31|23,58 15,93 31,48 7
,19
22,84
2931
60,68
23,46
58,93
7,31|
48
14,19
22,29
31,60
68 84
7,23
31,45
48,58
93
7,11
19,22
2329
31,31
45,48
58,60
68,84
93](https://content.bartleby.com/qna-images/question/72217fa2-40c5-4cb9-9de6-cb599fd26c84/7788c8ed-76d4-4f9e-8248-1288637af670/lgxkf25_thumbnail.jpeg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)