A teacher sorts project scores stored as [31, 14, 25, 8, 19] using ascending selection sort. A pass searches the remaining portion for its minimum, then swaps that minimum with the first entry of that portion. If the minimum is already there, no swap occurs. Complete the table with the entire array after each of the first three passes. Enter exact integers.
| Completed pass | Index 0 | Index 1 | Index 2 | Index 3 | Index 4 |
| 1 | |||||
| 2 | |||||
| 3 |
An embedded scoreboard uses ascending selection sort to arrange a batch of scores. A key comparison compares two score values. For a batch of n scores, the implementation makes exactly n−1 passes, comparing each later score once with the current minimum on each pass. It has no early exit. The batch may use at most 276 key comparisons. What is the largest permitted batch size? Answer in number of scores, as an integer.