How does the sentence end? See options at the end

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

OPT: (1). quiz beforehand.; (2). test beforehand.;
(1).