Computer Programming Languages


programming languages image

PROGRAM:
Program is a collection of well defined instructions and the art of writing instructions for a computer to solve a particular task is known as programming.
SOFTWARE:
Software is a collection of programs and it cannot be touched. Software developed with the help of programming languages. Programming languages is the medium of communication between the man and the machine. There are different programming languages.


COMPUTER LANGUAGES:
These are classified into low level and high level programming languages. Low level languages are those which are easily understood by machines. High level languages are those which are nearer to natural languages that is English.
 
                                  
                                     CATEGORIES OF PROGRAMMING LANGUAGES



    PROGRAMMING LANGUAGES: 2 TYPES  
  1. HIGH LEVEL LANGUAGES
  2. LOW LEVEL LANGUAGES
    LOW LEVEL LANGUAGES: 2 TYPES
  1. MACHINE LANGUAGES
  2. ASSEMBLEY LANGUAGES
   HIGH LEVEL LANGUAGES: 2 TYPES       
  1. GENERAL PURPOSE HLL
  2. SPECIFIC PURPOSE HLL



LOW LEVEL LANGUAGES: 
These languages are easily understood by computer. Machine and Assembly languages are the example of low level languages. They are machine dependent languages that is program written in these languages are not transferable from one computer to another.
CLASSIFICATION OF LOW LEVEL LANGUAGES:
  • Machine Languages
  • Assembley Languages

MACHINE LANGUAGES:
It is considerd as First Generation Languages because programming was started with this language. The comuter only understand two words that is zero and one and these digits are known as binary digits. A binary number system consist of binary digits. 0 indicates low voltage level and 1 indicates high voltage level.
An instruction consist of 0's and 1's. Instruction consist of 2 fieds                                   
      OPCODE  
         4 BIT
      ADDRESSS  
           8 BIT
  •  OPCODE indicates what operation is to be done that is addition,substraction etc
  • ADDRESS indicates the memory location where in the data is referenced.
NOTE:The length of each instruction is 12bits that is 4 bits for OPCODE and 8 bits for ADDRESS.
Example:
0001 00110010
The above instruction load data into accumulator.

ASSEMBLY LANGUAGE:
To overcome the drawbacks of machine language , computer engineers developed a new programming language which uses symbolic instructions. Symbolic instruction oriented programming language is known as Assembly language.
This is called Second Generation Programming language because this language is used after machine language.
Since the instructions of assembly languages are English like and computer does not understand these instructions. So we translate these language instructions into machine instruction (which is understoodable to computer) with the help of ASSEMBLER( TASM , MASM).
NOTE:Instructions of Assembly language differ from one computer to another means for different-2 computers instructions are also different.
EXAMPLE:
ADD X,Y
Above instruction ADD adds the contents of Y to X.

HIGH LEVEL LANGUAGES:
The element of these languages are alphabets,digits, punctuations and other special symbols. The instructions are composed of these elements. Hence each and every instruction is easy to understand and read. Instructions are machine independent that means program written in one computer can be executed on other computer with very little or no modification. This feature provide flexibility to programmer.
EXAMPLE:
SUM =A+B : add the contents of both A and B and store in SUM.

The programmer understands this program easily but the computer does not. Hence, it is require to translate this program into computer readable form that is machine language. By the use of translator we translate high level language program into machine language.
Compiler and Interpreter are two translator programs that are used to translate high level language programs into machine language. High level language program is called Source Program. After translation the obtained program is called Object Program.

CLASSIFICATION OF HIGH LEVEL LANGUAGES:
High level languages are of two types:
  • General Purpose HLL
  • Specific Purpose HLL


0 Response to "Computer Programming Languages"

Post a Comment

Popular Posts

Label

1 Sidebar 2 Columns 3 Columns Footer 3rdball 4 Columns Footer Alex Alvaro Antsasia Arlinadesign Averie Barry BASIC CONCEPTS Basil Bayna Fast BeautyPress BeautyTemplates Beckel Best Best - Clean Beyonce Pro BioMag BlackMag Blanter Nova Blogger Card Bloggertheme9 Blogish Bpress Brakt C LANGUAGE C PROGRAMS C++ LANGUAGE C++ PROGRAMS Carella Cellar Charlotte Chooko Lite Clara Clean Combo One Cooperate Crusade Darry Dorman Dreamway Dunia Blanter eCars EduAcademy EducationPress Elise Elvan Eva Everyday FabNews Fashion Fashion Blogger Template Fashion Gossip FastCars Fedo FlashNews Fredy Portfolio Gaming Globus GoodTime Goomsite HTML LANGUAGE iGaming Indicate Innove Insomnia InspiredNews iSoft Jasmine Kalem Landscaping Lashira Lavelle Lily Fashion Limax Linea Lionex Luminescence Lite Lumix Luxury Magazine MagazinePro MAJOR DIFFERENCES MarketingBlog Martin MaxiMag Medica Mega Melissa Mercury MeshMag Minimag Minimalist MiniNews MovieKhor msdesignbd MusicLand Neko NetZine New Spread News16 Newsflash NewsForce NewsIdea Newspaper News NewsPro Nubie Fast Odd Themes Optima PaperMag PaperMag blog Parhlo Perfection Personal Personal Blog Photosout PixelZ Power Blog Premium Themes ProfileMag Purez Rano ReadNews Real estate Remito Grid Responsive Revo Robusta Rotario Saara SeoBoost Settle Shouters Simple Catch SimpleClean Sketchly SNews SolidMag Someo Sophie Sora Sora Bank Sora Home Sora News Responsive Sora One Sora Ribbon Spido Sticko Stucco Sure Mag Swift Tech Tech Pro Techia Techmax TechSpot TemplateClue Templateism Templatesilk Templatesyard Templatezy The Freelancer TheBlogger TheFocus Themeforest Themexpose TIPS AND TRICKS Topside TravelMag Trendy Trendy Travel Tumblr Under Construction Uong Jowo Veethemes Vertox VideoPlay Vigo Waverly way2themes WebBiz Wedding X-Mag Zealer ZetaMag