COMP 3007 Lecture Notes - Lecture 3: Syntactic Sugar

59 views4 pages

Document Summary

Cannot be expressed by any compound expression. Guess y value for square root of number x. Guess better by ((x/y) + y) / 2. Formal param of procedure has a special role, it doesn"t matter what name of the formal param has. Such name is called the *bound variable*, the procedure definition binds its formal parameters. The meaning of the procedure definition is unchanged if the name of bound variable is consistently renamed. The set of expressions for which a binding defines a name is called the scope of the name. Variable gets its value from the argument with which the enclosing procedure is called with. What statements can we make about the overall global behavior of the process. There is a chain of deferred operations. Interpreter keeps track of operations to perform later. The amount of information to keep track of grows linearly.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents