Measurable Outcomes and Assessment Methods Flashcards
what is an expression?
an input that “evaluates” to a result e.g: 1+1
what are the three mechanism that a program language uses to create complex programs
• primitive expressions, which represent the simplest entities the
language is concerned with,
• means of combination, by which compound elements are built
from simpler ones, and
• means of abstraction, by which compound elements can be named
and manipulated as units.
What are the two broad elements used in programming
procedures and data
- Data is “stuff”
- Procedures are “instructions” on how to manipulate that data
(more details example can be found on page 6 of the Interpretations of Structural programing
What are the kinds of expressions
- Numbers
- Symbols
- Lambda expressions
- Definitions
- Conditionals
- Combinations
Substitutions rule
To evaluate an application
evaluate the operator to get procedure.