Students at the 37,000-a-year Worcestershire school realised the mistake in an English literature exam.