Sunday, 20 December 2015

Programming languages and its types

What is a programming language?
programming language is a special language programmers use to develop applications, scripts, or other set of instructions for computers to execute. The following is an index of the different programming and scripting languages currently listed on our site.

Types of programming languages:
There are 2 types of programming language:
o   Low level language
o   High level language

low level languages
Machine language:
o   The language that consists of 0s and 1s is called machine language
o   To write a program in machine language programmer mush have a deep knowledge of computer architecture
o   Machine language prgrams are machine dependent
o   It is very difficult to find errors in a program written in machine language
o   It is very  difficult to write programs in it as user has to remember things in 0s and 1s
o   Programmers have great control over the language
o   Instructions are executed very quickly as there is no language translator
o   It is directly executable on the machine
o   It is called the 1st generation programming language

Assembly language:
o   It is the 2nd generation programming language
o   In this language 0s and 1s are replaced by English like words calle mnemonics
o   An assembler is required to translate assembly language instructions to machine code

high level languages:
o   It consists of English like statements
o   It is close to human language
o   Each high level language has a set rules to write programs called syntax
o   Each high level language is designed for a special purpose
o   Programs in high level language are machine independent
o   To write a programming language a deep knowledge of computer architecture is not required
o   The programmers have less control over the language as compared to low level language
o   The execution is slow as it has to pass through a language translator
o   To translate a language into machine code :
Interpreter
compiler

Are needed.



No comments:

Post a Comment