How does the sentence end? See options at the end

Bobby passed his quiz but not his test because he only studied for the

Select from:
--quiz beforehand.;
--test beforehand.;
quiz beforehand.