Contents
Prev
Next
Page+10
Index
High-Level Language
- Higher-level language constructs:
- Arithmetic Expressions: x := a + b * c
- Control Constructs:
while expression do statement
- Data Structures:
people[i].spouse^.mother
- Messages:
obj.draw()
- One-to-many translation: one statement of input generates many
machine instructions.
- Cost per machine instruction is much less than using assembly language.
- Error checking, e.g. detection of type errors. Compile-time
errors are much cheaper to fix than runtime errors.