• Solve problems using a computer, give the
computer instructions.
• Remember our diaper-changing exercise?
, Talk the talk
• Speak its language
– High-level: Python, C++, Java
– Low-level: machine language, computers can only
execute these
– High-level languages have to be processed into
low-level before the computer can run them
– But high-level languages can run on different kinds
of computers and are easier for humans to write
and read, so most programs are written in high-
level
, Translation
• How does high-level get translated into low-
level?
– Interpreters and compilers!
– Interpreter processes the program a little bit at a
time and runs it
– Compiler translates everything before running it