As a teacher, I would like to design a program that helps me call on students randomly. A random number generator is not good enough because a few students might seldom get called on this way. I do not want a randomized queue generator either because then a student I have just called on can confidently stop paying attention until I call on the rest of her classmates.
Ideally, I could use some sort of program that calls on Students 1-10 on a random queue, but that occasionally deviates from that queue to call on previously called students. This would ensure that all students are called on reasonably frequently, but also that the student most recently called on won't get complacent that I won't call on him again for a while. For example, random output like this would be what I need: 5, 7, 2, 1, 1, 9, 10, 5, 3, 6, 8, 9, 4...
What is the correct terminology to describe this kind of program? I am not necessarily looking for an answer on how to write such code, although that would be nice too.
Aucun commentaire:
Enregistrer un commentaire