Friday 12 November 2010

Compter Languages

Machine Code - the language that computers understand, represented as binary (1,0) and as an electrical charge in the computer system

We program in HLL High Level Languages
+ Must be translated before execution
+ English like language
+ They are portable

LLL - Low Level Languages
- understood by the components and the processor etc etc etc

Translators

+ Compiler - translates and executes each line of code at the same time
+ runs faster, because it gives you an executable file once there are no errors
- not good for debugging, gives you all your errors at once
+ Interpreter - translates and executes each line of code one at a time
+ stop when it finds an error, easier to debug
- slower, must run and translate every time, Interpreter is always running during interpretation

No comments:

Post a Comment