Programming languages, Basic Computer Science

 

Programming Languages

A number of programming languages are available for program writing. These languages can be classified as follows:

  1.     Machine language
  2.     Assembly language
  3.     High-level language
    Machine Language: Computers use binary system and all data or instructions ultimately have to be converted into the combination of 0s and 1s, so that the system can execute them. Each computer system generally has its own special machine language. For giving instructions, we need to have a standard format so that every programer can follow it. Machine language has a specific instruction set, in which instructions are specified.
    Since, machine language is directly based on the computer system characteristics, it does not require any additional software for translating instructions to what the computer can understand. Though this is a very efficient language, it is rarely used for writing programs because of the difficulty in executing it.
    Assembly Language: Assembly language was designed to facilitate writing programs compared to the machine language. In this, “mnemonic codes” are created, which the programer can directly utilize. For example, instead of using ‘0’ and ‘1’ to specify an operation, say “ADD”, programers can use “mnemonic code” “ADD” directly. Similarly, in assembly language, symbolic code for memory address of an operand can be used instead of specifying the address as “binary”. Today, assembly language is also used very often except by systems programers.
    High-level Language: Various high-level languages have been designed for helping in writing the program instructions. Some examples are BASIC, COBAL, FORTRAN, PASCAL, ALGOL, etc. High-level languages are English like languages with a predefined format. In these, the instructions are much more powerful compared to machine language or assembly languages. The most important feature of high-level languages is that they are machine independent and can be used on various computer systems.

 

Posted Date: 9/14/2012 5:49:03 AM | Location : United States







Related Discussions:- Programming languages, Assignment Help, Ask Question on Programming languages, Get Answer, Expert's Help, Programming languages Discussions

Write discussion on Programming languages
Your posts are moderated
Related Questions
It would not emerge practical to type an entire program each time it is required, and to avoid this it is possible to store a program on the disk, with the vast advantage that by b

what does it means

what is input and output device? explain meaning of input and output devices

Open Systems Interconnection (OS1): As there are many different protocols for LANs and WANs, communication between two different systems can be difficult. The International St

Program and Programming Language : A Program is defined as a collection of statements/ instructions that enable the computer to solve a problem. The process of writing a prog

E-MAIL: Internet has changed the art of writing letters to email.  Email is one of the ways on Internet to send messages to another person across the network. E-mail and posta


A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

implement your own hashset

different types of software interfaces which falls in different categories