Please enable JavaScript.
Coggle requires JavaScript to display documents.
Programming Languages - Coggle Diagram
Programming Languages
Paradigms
- An approach to solve problem using a programming language.
1) Procedural
- based on concept of modular programming.
- example : C and Pascal
2) Object-Oriented
- based on object and classes.
- example : Java and Python.
3) Logic
- expressing facts and rules about some problem domain
- example : LISP and ProLog
Translator
- A program that translates a programming source code into a machine code for execution.
1) Assembler
- Assembly language into machine code.
2) Interpreter
- written in high level language into machine code, one line at a time.
3) Compiler
- translates entire high level source code into machine code.
Types
Low-Level Language
1) Machine language
Advantage:
readily understood by computer because it does not need to be translated before being executed.
DIsadvantages :
- very difficult to read and modify.
- machine dependent
2) Assembly language
Advantage :
- easier to learn and understand compared to machine language.
Disadvantages :
- need to be translated before executed.
- machine dependent
High-Level Language
Advantages :
- easier to learn and understand compared to low level language.
- machine independant
-