prigramming language 2

PROGRAMMING LANGUAGE

PARADIGM LANGUAGE
A paradigm, is a way in which computer language looks at the problen to be solved. 
* In other word, guides in problem solving within a framework and give solution
* Type of paradigm 
       > Procedural
       > Object oriented
       > Logic 

PROCEDURAL PARADIGM
- A way of approach in problem solving based on module or function.
- Example of language : C

OBJECT ORIENTED PARADIGM
- Based on the concept of an object that combine both data and the function into a single unit.
- Example of language : Pascal, FORTAN, COBOL, Java, C++

LOGIC PARADIGM
- Based on the idea of answering question through search for solution from a knowlegde base.
- Example of language : Prolog


TRANSLATOR
Any program that is not written in machine language has to be translate in machine language before it is executed by the computer.
* Type of translator
      > Compiler - translates the entire source program into machine language before executing it
      > Interpreter - translates and executes one instruction at a time into machine language
      > Assembler - translate program written in Assembly language into machine language
 
 
  

Comments