You can set the quiz where it builds on the last attempt which will basically do what you want. Then set the questions to clear wrong answers and the quiz will just keep the correct answers for the next attempt.
Quiz
Grade calculated over multipul attempts
This discussion has been locked so you can no longer reply to it.