96_Maths_Y5_Nim

Page 1

Supporting the effective use of ICT across the primary curriculum

www.ictopus.org.uk contact@ictopus.org.uk

Mathematics Ages 9 - 10: Nim Introduction: This lesson combines an understanding of number systems, with problem solving and strategy formulation. Children are taught the game of Nim which they can play against each other or against the computer. They will then investigate a strategy to ensure that they can win each time. Resources • One computer per two children for group work, or one computer and a data projector for whole class work • Children may need paper and pencil to help them with their calculations. Some children may need help converting from binary to decimal. A ‘converter’ can be found at: http://acc6.its.brooklyn.cuny.edu/~gurwitz/core5/nav2tool.html Previous learning Children will need the ability to carry out simple arithmetic calculations and to recognise odd and even numbers. They will need the ability to apply a set of rules to a problem. Learning Objectives • To understand the principles of the binary system • To be able to convert denary (decimal) numbers to binary and vice versa • To develop a strategy for solving the game of Nim What to do This lesson is in three parts (although it may take more than one lesson to complete) Stage 1 The rules of the game of Nim can be found at: http://www.robtex.com/frames.htm#http://www.robtex.com/robban/nim1.htm There are several versions of the game so we are using the basic version in this lesson. In essence a player can take as many matches as they wish from any one of the three rows (in fact the number of rows is arbitrary). The winner is the player who takes the last match of the game. Let the children try this game several times but encourage them to note down their moves so that it is possible to ‘replay’ a game. The website above allows the children to play Nim against the computer. Play the ‘normal’ rules, which means that the player to take the last match is the one to win. Note that if you wish to remove 4 matches from a particular row then you click on the left hand of the four matches and all of those to the right will be removed. Stage 2 Explain to the children about the binary system. The two key points are that it only uses the digits 1 and 0 and that the place values are as shown below: Place value Binary number

32 1

16 0

8 1

4 1

2 0

1 1

Hence this number, in base 10, is 1 x 32 +1 x 8 + 1 x 4 + 1 x 1 = 45 In the reverse process, for example converting 23 into binary, the children would fill the boxes with a 1 or 0 so that they would get 23 if they applied the calculation above.

© ictopus ltd

lessons2go

Maths Ages 9 - 10: Nim 2010


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.