A larger challenge which allows pupils to test their skills in Python. This is a challenge they can get their teeth into.
This challenge requires the pupils to create a program that will store and manage a list of user IDs and passwords. It includes a handout which explains the challenge to the pupils and outlines possible problems they will have to overcome in their program.
The skills the pupils will need to be familiar with in order to complete this challenge are:
• Input and display data
• If statements
• Loops (while and for)
• Saving to and reading from a .csv file
This program should take at least a couple of lessons to complete and for pupils who have not completed it in the time available they could complete it for homework. It can easily be extended into a larger project if you want to include a class discussion and time for planning using computational thinking skills such as flow charts ad pseudo-code (although the answers for these are not included).
This resource also includes a Python file containing one possible answer.
Written for the UK market.
For more resources including complete units of work visit www.nicholawilkin.com