 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
Computers only
understand programs written in
|
|
|
a specially
designed machine
language:
|
|
|
|
– |
Machine language
programs are hard to write.
|
|
|
|
– |
They are
machine-specific.
|
|
|
| • |
In contrast, high-level languages:
|
|
|
|
– |
Are easier to
write because they are modeled on well-
|
|
understood human
formalisms.
|
|
|
|
– |
Require a
program to translate them into machine
|
|
|
language:
|
|
|
|
• |
Compiler
|
|
|
|
• |
Interpreter
|
|