Write a sorting instruction
An algorithm is a set of instructions in order for carrying out a task. In this activity, the task is to put cards in order of how long different activities take. Make four imaginary cards for a club fair: “A, 8 minutes,” “B, 3 minutes,” “C, 8 minutes,” and “D, 5 minutes.” Put them face up in a row from left to right in the order A, B, C, D. Letters work as identifiers for the example, so you can work with made-up activities and keep participant details off the cards.
Ask two Pathfinders to follow the instruction “sort from the shortest time to the longest.” Both B and D go at the start because their times are 3 and 5 minutes. That leaves A and C at 8 minutes each. Which one goes in front? Let two pairs explain what they did. Brazil’s National Education Council published rules for teaching computing as a supplement to the common school curriculum. National Education Council, Resolution 1 of 2022 in Portuguese, PDF.
Keep the arrival order when numbers match
Add this to your instructions: “When times are equal, keep whichever card was already earlier in the original row in front.” The expected order is now B, D, A, C. A tie-breaker is a rule that lets you decide between equal values. A method that keeps equal items in their original order relative to one another is called a stable sort.
Put the four cards back in a row, this time starting with C, B, A, D. Hand your instructions to a second pair and let them work out what happens. B and D stay at the beginning. C now goes before A because it came first in the input. Write the original and sorted rows one above the other. Circle the tied cards in both rows. You can see which part of the original order survived.
Read alsoRondônia’s Simfap 2026: test a switch that uses two thresholdsChoose a tie-breaker that serves your purpose
If your unit needs to find activities of equal length by letter, set alphabetical order as the tie-breaker. A then goes before C, including when C came first. Write the rule down before moving any of the cards. Ask a third pair for both results and see whether they can name what stayed the same in each one.
This paper game is for the club. The Manaus government says its district science fair projects can advance to a final stage held during EXPOCREATI. The exhibition uses its own published procedures. Manaus city government, district science fair update.
For a final test, hand over the cards already sorted by time. The pair can check each value and keep the two eight-minute cards in the order they received. Ask them to show the step that tells them the process can stop. You now have a test for a row that starts sorted.