Credit card errors

Overall rating
3
3
Based on 2 reviews
5
1
4
0
3
0
2
0
1
1
3
Rate this resource

This resource explains the check digit algorithm invented by Hans Luhn. This algorithm is widely used for both credit and debit cards to check small errors in the input of card numbers, using the final digit on the card as a check. 

The instructions clearly show how to apply the algorithm, and invites students to  try it out for themselves. The calculation involves doubling alternate digits, finding sums of up to 15 digits and finding the difference between that sum and the next multiple of ten.

The teachers' notes include ideas for extension activities and links to examples of other check digit algorithms. 

Show health and safety information

Please be aware that resources have been published on the website in the form that they were originally supplied. This means that procedures reflect general practice and standards applicable at the time resources were produced and cannot be assumed to be acceptable today. Website users are fully responsible for ensuring that any activity, including practical work, which they carry out is in accordance with current regulations related to health and safety and that an appropriate risk assessment has been carried out.

Published by

Actions

Share this resource