Hw1 - HW 1 – Evaluation and Environments CS 421 – Fall 2007 Revision 1.0 Assigned September 4 2007 Due 2:00 pM in class Extension 48 hours(20

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: HW 1 – Evaluation and Environments CS 421 – Fall 2007 Revision 1.0 Assigned September 4, 2007 Due September 11, 2007, 2:00 pM, in class Extension 48 hours (20% penalty) 1 Change Log 1.0 Initial Release. 2 Turn-In Procedure Your answers to the following questions are to be hand-written, or printed, neatly on one or more sheets of paper, each with your name in the upper right corner. The homework is to be turned in in class at the start of class. Alternately, you may hand it to Prof. Elsa Gunter in person before the deadline. 3 Objectives and Background The purpose of this HW is to test your understanding of • the order of evaluation of expressions in OCaml; • the scope of variables, and the state of environments used during evaluation Another purpose of HWs is to provide you with experience answering non-programming written questions of the kind you may experience on the midterms and final. 4 Problems 1. (15 pts) Below is a fragment of OCaml code, with various program points indicated by numbers with comments....
View Full Document

This note was uploaded on 04/21/2008 for the course CS 421 taught by Professor Kamin during the Fall '08 term at University of Illinois at Urbana–Champaign.

Page1 / 3

Hw1 - HW 1 – Evaluation and Environments CS 421 – Fall 2007 Revision 1.0 Assigned September 4 2007 Due 2:00 pM in class Extension 48 hours(20

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online