Midterm 1 Information

 Time: 7pm-9pm Monday September 23 Location: ```0155 DWINELLE (logins bam - bzz) 0145 DWINELLE (logins agb - akj) 2050 VALLEY LSB (logins aqc - bal) 2040 VALLEY LSB (logins zc - acg) 2060 VALLEY LSB (logins it - zb) 0010 EVANS (logins akk - aqb) 0120 LATIMER (logins ach - aga) 0159 MULFORD (logins cx - ft) 0101 MORGAN (logins fu - is) 0160 KROEBER (logins aa - cw) ```

The campus map shows locations of all rooms.

The exam is closed note, except for:

• A 1-page (front and back) hand written crib sheet of notes that you write yourself (it may not be shared).
• The Midterm 1 Study Guide. Copies of this study guide will be provided with your exam.

Topics Covered

The exam will cover all course topics through Chapter 1.7 of the lecture notes, except for decorators, which were not yet covered in lecture. Those topics include:

• Primitive expressions
• Call expressions
• Import statements
• Expression trees
• Assignment statements
• Pure and non-pure functions
• Def statements and user-defined functions
• Applying user-defined functions
• Environments
• Environment diagrams
• Arithmetic operators
• Local assignment
• Conditional statements
• Boolean contexts
• Boolean operators
• Iteration with while statements
• Passing functions as arguments
• Nested def statements
• Functions as returned values
• Lambda expressions
• Currying
• Iterative improvement
• Newton's method
• Recursive functions
• Mutual recursion
• Tree recursion

Particular emphasis will be given to user-defined functions, assignment, iteration, and higher-order functions.

You should be prepared to answer questions that relate closely to the projects and homework assignments (not including "extra for experts" problems). You should also know how to draw an environment diagram by hand.

Practice Exams

The previous exam most similar in topics covered to your upcoming midterm is the Fall 2011 61A Midterm 1 exam. Links to all publicly available previous exams are listed below, for your convenience.

Review Sessions

The main review sessions, which will cover the Midterm 1 Study Guide, will be held twice: 2pm-4pm and 4pm-6pm on Saturday 9/21 in 1 Pimentel.

Berkeley HKN will also hold a review session 4pm-7pm on Sunday 9/22 in 2050 Valley LSB. They provide this review session on a volunteer basis; please thank them for their service.

Make-Up Exam

A make-up exam will be held 5pm-7pm in 320 Soda for students with a direct class conflict with the exam time. To request the ability to take the make-up exam, fill out this conflict form. You must submit this form by 11:59pm on Friday 9/20. You will receive email before (or on) Saturday 9/21 confirming that you can take the make-up exam.