{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

midterm-S08 - CS 136 Midterm Exam Spring 2008 Date...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 136 Date: 23-June-2008 Time: 7:00 - 9:00p.m. Permitted Aids: None Midterm Exam Spring 2008 [Place sticker here.] Last Name: __________________________ Given Name: __________________________ Student ID: __ __ __ __ __ __ __ __ Cheating is an academic offense. Your signature on this exam indicates that you understand and agree to the University’s policies regarding cheating on exams. Signature: ____________________________ Instructions: (Read carefully before the exam begins. This page was made available before the exam. 1. Place answers in this booklet. Additional paper is available from your proctor, if required. 2. Before you begin, make certain that you have 14 pages. 3. There are 7 questions on the exam. Answer all questions and each part of each question. The marks assigned to each question are shown at the beginning of the question. Use this information to organize your time effectively. 4. We strongly encourage you to read the entire exam before you begin. You do not need to answer the questions in sequential order. 5. Questions will not be interpreted. Proctors will confirm or deny errors only. If you consider the wording of a question to be ambiguous, state your assumptions clearly and proceed to answer the question to the best of your ability. 6. Documentation is always appreciated, but is not required unless explicitly requested. Design recipes are not necessary. 7. Please write neatly and legibly, making proper use of indentation and white space. You are communicating with your markers. 8. The exam has 5 bonus marks available (question 4d). 9. For Scheme questions, you may use any language feature in Pretty Big, except where this is specifically forbidden in the question, or if the feature trivializes the question. 10. For C questions, you may use language features discussed in class, plus any functions from the standard libraries. You do not have to write #include statements. Q # Marks Available Marks Earned Grader Initials 1 21 2a 10 2b 10 3 6 4a-c 13 5 8 6 12 7 10 Total 90 4d (bonus) 5
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Name: Page 2 of 14 CS 136 Midterm Exam Printed June 17, 2008 Spring 2008 1. [21] Memory Models a. [05] Write Scheme code to bind uwcs to values as represented by the following box-and-pointer diagram.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}