dcf.cymru stimulus sheet · Computer Science · Year 7
This network really does sort. It has twelve comparators arranged in five steps. Whatever six numbers go in on the left, they come out smallest-at-the-top on the right.
Print one per pair for desk work. If you have floor space, chalk or tape the same shape onto the ground and have six pupils walk it holding number cards — each coloured bar is a place where two pupils meet, compare, and the smaller number takes the upper wire.
No computers are needed for any part of this lesson.
Wires are numbered 1 (top) to 6 (bottom). "(2,4)" means the pupils on wires 2 and 4 compare.
| Step | Comparators in that step (they all happen at the same time) |
|---|---|
| Step 1 | (1,6) (2,4) (3,5) |
| Step 2 | (2,3) (4,5) |
| Step 3 | (1,4) (3,6) |
| Step 4 | (1,2) (3,4) (5,6) |
| Step 5 | (2,3) (4,5) |
Cut these out, shuffle them, and hand one to each of the six pupils on the wires.
| Card | Mountain | Height |
|---|---|---|
| 1 | Yr Wyddfa (Snowdon) | 1085 m |
| 2 | Glyder Fawr | 1001 m |
| 3 | Tryfan | 915 m |
| 4 | Aran Fawddwy | 905 m |
| 5 | Cadair Idris (Penygadair) | 893 m |
| 6 | Pen y Fan | 886 m |
Use these if the mountain heights are too close together to compare quickly.
| Card | Number |
|---|---|
| 1 | 12 |
| 2 | 46 |
| 3 | 25 |
| 4 | 33 |
| 5 | 51 |
| 6 | 18 |