A language in which programmers write the instructions to perform some computational task.
There are mainly three programming languages :
Machine level language
It is a set of instructions executed directly by the Computer’s CPU ( Central Processing Unit ).
Assembly level language
It is a low level programming language & it converted into executable machine code by an assembler.
High level language
It enables development of a program in much simple programming context language.
It has a higher level of abstraction.
Example - Algol , Basic , C , C++ , Java , Fortran , Pascal , Prolog.
It broadly categorised into two categories :
Procedure Oriented Programming Language ( POP )
Object Oriented Programming language ( OOP )
Procedure Oriented ( POP ) | Object Oriented ( OOP ) |
It consist of writing a list of instruction or actions for the computer to follow and organizing these instruction into groups known as functions. | it is an way of modularizing programs by creating partitioned memory area for both data and functions that can be used as templates. |
disadvantages are it has global data access , it does not model real world problem very well and there is no data hiding. | data is hidden and can’t be accessed by external functions , objects may communicate with each other through functions , new data and functions can be easily added. |