APSC160:SAMPLEMIDTERMEXAMINATION Please note: •This sample exam is based on the midterm exam given in 09W1. •The time limit for this exam was 75 minutes but your exam may be longer (or possibly shorter). •Exams in this course are closed book: no notes or textbooks. Calculators are not allowed. •The order in which material was taught this term is different from last term. Last term, file input/output had not been covered by the midterm exam but you can expect this topic to appear on your exam. •You should treat this exam as a sample only. Although it is representative of the kinds of questions that can be asked, you should not expect that your exam will have the same number of questions or ask questions on exactly the same topics. •Solutions to this exam will be posted after the reading break. Don't even think about looking at them until you have tried to write this exam yourself under exam conditions. Only then can you know how much work you need to do to prepare yourself for the midterm. This exam will look deceptively easy if you allow yourself to refer to notes, the textbook or sample programs while you are writing it. •Many people lost marks on this exam because they did not read the question carefully. •Your goal is to write code that is correct and that follows all the guidelines presented throughout the course.
has intentionally blurred sections.
Sign up to view the full version.