Pascal exercises written for compting A-Level 1996/7.