I did this for the last college programming course I taught (2025) as an anti-LLM measure. Every class started with a very short closed-book auto-graded multiple-choice test on the reading. I was careful to specify which was the core reading needed to learn the material (on the quiz) and which was extra (not on the quiz - I think many professors assign this extra reading to everyone, thinking of their strongest students). I think this developed an expectation in the students that doing the reading was easier than finding a way not to.