ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

Computer programming Language.

Updated on July 1, 2013

What is programming Language?

The series of instructions given to the computer's processor to do a certain job and throw the output is commonly known as the computer program. The machine(computer) doesn't understand our common language. To interact with computer we should send instructions in a way the computer is supposed to understand. We use some specific language to communicate and write program in computer , which is known as programming language.

Language Translator.

We may use the programming language to write a thousands lines of codes as a program, But the computer doesn't understand the instruction unless it is translated into its machine language(0&1). All the programs written in programming language(except machine level language) is first translated into machine understandable form for its successful execution. Assemblers,Compilers and Interpreter are the examples of Language translators.

Compilers and Interpreter:

Compilers and Interpreter both are used to translate high level programming language's codes into machine language. But compiler and interpreters are quite different in features.

Difference between Compiler and Interpreter

(click column header to sort results)
Compiler  
Interpreter  
   
It translates a whole program at a time
It translates a line of code at a time
 
It generates executable codes after translation
No executable codes generated
 
Errors are detected only after compilation
Errors are known at each line
 
Less time for translation
Takes more time as compared to compiler
 
compiled programs are faster
Interpreted programs are rather slow
 
Can be used for both small and huge size program
only used in small blocks of code.
 

Types of programming language

There are lots of programming languages developed till date. They are classified into High level language and low level language.

  • Low level language:

Machine level language or First generation language.

Assembly level language or Second generation language.

  • High level language.

Procedural language or Third generation language.

Problem oriented language or Fourth generation language.


Source

Low Level Language:

Low level languages are closer to machine architecture. Low level language are called machine dependent programming language because program written in one platform cannot be executed in another platform. Low level language are very hard to understand and program. There are lots of instruction sets and a programmer should understand all of those instruction sets and also available sets of registers and internal computer architecture too. Low level languages being too difficult are rarely used for some specific propose , so it is not a general purpose programming language.

Machine Language:

The programming language in which every lines of instructions and statements are written in Binary form(0&1) is known as machine Language. Since the Program is written in 0&1 the CPU can directly understand and there is no need of any translation.

Advantages:

  • Programs written in this language runs fastest of all.
  • Programs written in Machine language needs no translation.

Disadvantages:

  • Very difficult among all other programming language.
  • Lots of instruction is required even for a small program.
  • High chance of errors.
  • Difficult in tracing errors and fixing them.
  • Programmers are required to memorize the machine codes for different architecture.
  • program written in one processor architecture does not run in another processor.


Assembly language:

Machine level language is very complex as it has to be written in 0's and 1's form. So there evolved another Programming language to simplify the complexity of programming and is known as Assembly language. Assembly languages are quite simpler then machine language because 0's and 1's are replaced by short abbreviated English words called mnemonics. ADD, SUB, MUL, DIV, HALT ets are some examples of mnemonics.

This language were first used in Second generation computers so it takes the name of Second generation programming language.Since this language does not use the concept of binary digits, the program codes written in this language should be first translated to machine understandable form using translators.


Advantages:

  • Easier then Machine level Language.
  • Faster in execution as compared to high level languages
  • Higher efficiency then high level languages

Disadvantages:

  • Machine dependent.
  • Programs written in Assembly programming languages are slow as compared to those programs written in Machine language.
  • Codes written in assembly language needs to be translated to machine language for its execution.
  • Program development in this language is still slow and tedious job.
  • Mnemonics used in this language are hard to remember, this makes programmer confused during coding.

High Level Language:

High level language is the simplest programming language as it uses plain English structures and mathematical notations to create a program, which is simple, clear and easy to understand as compared to first generation and second generation language. These language is known as machine independent programming language because program written in one machine architecture can be executed in all different machine architecture without any modifications.

It saves time and cost. A single line of statement can be enough to perform certain task in High Level Programming language. This is the reason why this language is favourite among most of the programmers. Some high level languages includes c, c++, Java, Python etc. High level language are used to write huge size programs.

Since high level language is not understood directly by machine, the codes and instruction written in this language is first converted using translators(compiler or interpreter). The translators checks the codes and if free from errors compiles it to form an executable programs else shows message indicating errors. High level languages are generally cateorized into two basic groups

  • Procedure Oriented Language:

It is third generation language which is based in the concept of modularity. Entire program is divided into different modules, which further consists of different procedures called functions or subroutines. This language focuses on the procedures to find the problems rather then instructions. Keywords are used to write instructions which are more flexible then first and second generation programming languages.

Features:

  1. Statements are easy to use
  2. It is general purpose language.
  3. More procedure oriented, i.e needs step by step instructions.
  4. Used for batch processing operation.
  5. Programs are easy to understand and modify.
  6. Time saving
  7. Machine independent.

  • Problem Oriented Language.

Problem oriented language is also known as application specific and is used to solve specific problems. This language is result oriented and lets the user specify what the output should be, without describing all the details of how data should be manipulated to produce the result.

Features:

  1. Programmers should know the machine characterstics.
  2. Do not need step by step instructions.
  3. Closer to human language and hence easy to understand and use.
  4. Easy to check the errors and fix them.
  5. Faster and easier coding is possible.
  6. Use of standard math symbols.
  7. machine independent.
  8. Code re-usability.

Natural Language:

Natural language is a concept in modern technology in which instructions are given to the computer as the way much similar to how general people uses to communicate.




Some widely used programming language.

Name of the language
Developed by
Released Date
Lab
 
C programming language
Dennis Ritchie
1969-1973
AT&T Bell Labs
 
C++
Bjarne Stroustrup
1980
Bell labs
 
JAVA
Oracle Corporation
1995
 
 
PHP
Rasmus Lerdorf
1995
 
 

Best programming language.

Which is the best programming language to learn?

See results

Comments

    0 of 8192 characters used
    Post Comment

    • thatsprettygood profile image

      Cole Delavergne 

      2 years ago from Houston Texas

      Great article. You had a lot of details in there. A lot of people do not understand how complex programming is. Some people doing excel right now do not realize that what they are doing, on some levels, is actually programming. Java was actually called Oak for a few years before it was published officially. They wanted to the change the name and they were stuck between DNA and Java. Glad we got Java because I think DNA would of took a bit longer to catch on despite its platform flexibility. Anyhow, good hub.

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://hubpages.com/privacy-policy#gdpr

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)