Click here to load reader
Upload
mr-mcalpine
View
348
Download
4
Embed Size (px)
Citation preview
Programmingtitle in jotter
Interpreter CompilerMachine Code
Here is a program
• Does the Computer understand this?
So it can understand
• Computer Understands Machine Code• Two methods of translation• Interpreter• Translate a line at a time• Think of a real translator• Slower, but better for debugging • More demands on memory as
constantly running
So it can understand
• Compiler• Faster as it translates and
executes full program at once• Returns error file so harder to
debug• Once compiled properly doesn’t
need to be recompiled
High Level Languages
• We write programs in HLL• These are Portable as they can be
run on different computer platforms• They are written in an English like
language so they are easier to understand
• They have to be translated before being executed (Source Code to Object Code)