this will work for  for questions and answers in order, but it isn't
randomly taking questions from the question page - it is taking all of
them.

what about matching the answers from the key to the questions.