Today we looked at a Times Tables quiz using Python.
The quiz simply asks 10 random Times Tables questions and tells the students if they have got it right or wrong as they go along. At the end it gives them their score out of 10.
Here is the code (please note use IDLE and not IDLE3):-
We then looked at how we could modify the code, for example, what if a student just wanted to learn their 8 times tables. So TW changed the fifth line of code to n2 = 8 the quiz then just asked 8 times tables questions – which he got every single one right! We then looked at other things we could modify. We changed the code to ask addition questions between 1-50, and we also increased the number of questions asked.
We are hoping to further develop the quiz by personalising it to say the students name or randomly pick a student to answer the question so that the quiz can be used in Maths lessons.
So a Raspberry Pi is not just about learning computing and coding it can help improve your numeracy skills. Maybe a literacy challenge should be next!