Year 4 Unit 4D Sorting Networks

In computer science we were investigating how computers sort information and learnt how they bubble sort information. We learnt that computers can only compare two sets of information at one time and the smaller piece of information goes to the left and the bigger piece of information goes to the right.

In the hall, the children were given 6 numbers and had to sort themselves using this method into ascending order. They started at one end of the hall in a random order and (hopefully) by the opposite end of the hall they had sorted themselves into order. The groups tried to do this as quickly as they could.

ViviLnkViviLnk

ViviLnkViviLnk

ViviLnkViviLnk

 

Year 4 Sorting Networks

Children in Year 4 have been looking at how computers can only sort two numbers at a time and how efficient and quick they can do this.  They role played what it would be like to be a computer sorting network.  Using mats and hoops in the sports hall, children became a network. There was an input of 6 random numbers and the children used the network to sort themselves into order of smallest to largest number. They then explored other computer networks and how they work. This activity has been adapted from Code IT website.

IMAG1760 IMAG1762 IMAG1764 IMAG1766 IMAG1767 IMAG1768 IMAG1769

 

The children then designed some sorting networks for 3,4,6 and even 8 numbers.

IMAG1802 IMAG1803 IMAG1804 IMAG1805 IMAG1806 IMAG1807