I've also been thinking of this in terms of live lectures, where the lecturer could send a card to their students' lecture deck as the concept is explained.
So study homework and quizzes etc. would be replaced by Anki, and classwork could be split between lectures that introduce new concepts and cards and guided programming assignments.
If people do their Anki, they'll remember the facts against their will if the questions are designed well enough. The instructor could concentrate on guiding them through applying those facts in practice.
edit: it's how I tend to do my decks. For example I have a pretty good Git deck that I'm refining (and want to add more advanced usage to) that just takes on the git book at git-scm.com in order, with a card for each individual fact (and an excerpt from the text), tagged with the chapter where the fact is first mentioned. After you're done with a chapter, you can add it into the rotation with "custom study." Once you're done, you can just play with git, instead of constantly context-switching between your sandbox and the docs, or having complete blind spots about things you've had no reason to try yet.
-----
edit 2: I really like this implementation, and the simplicity of the questions. Are they from your own deck?