Please enable JavaScript.
Coggle requires JavaScript to display documents.
Programming Languages - Coggle Diagram
Programming Languages
Low level programming languages
Advantages
Extremely quick to run
Provides more control over what the processor is doing
Limitations
Difficult to write in
Slow to write in
Unpopular - difficult to get help
Machine code
Instructions that a processor can understand and act on
Assembly
Equates to machine code
Uses mnemonics that represent the instructions
Easier to understand and write in than machine code
Needs to be converted to machine code by an assembler before it can be used
Comprised of binary (1s and 0s)
High level programming languages
Advantages
Easier to write in
Easier to debug
Much quicker to write in
Popular - large communities willing to help with problems
Limitations
Less efficient than low level languages
Slower to run
Needs to be converted to a low level language before being used
Examples
Python
JavaScript
C#
PHP
Translators
Translate high level code to machine code
Assemblers
Translates assembly language into machine code to be used
Interpreters
Translates the code instruction-by-instruction
Each instruction is run before the next one is translated
Stops execution as soon as an error occurs
Easier to debug
Compilers
Translates all the code before the program is run
Difficult to debug compared to interpreted languages
All bugs reported after program has been compiled
Machine code is saved and stored separately to high level code