by Tim Hunt.
You need to understand how these are stored in the database. There are fields like reviewmarks, and they are bitfields. The key bits are given by these constants: https://github.com/moodle/moodle/blob/master/mod/quiz/locallib.php#L1714
Once you know that, finding a way to change those settings on bulk should be easy.
The things you can set in the admin settings are just used as defaults for new quizzes.