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
Where can I find power supply HIPRO HP-W460GC33 for Silicon Graphics Fuel computer

what is the need of a port in a computer?

Software: A computer system consists of two parts - hardware and software. The first part, computer hardware, refers to all the visible components of the computer system:  key

Netbooks: Netbooks are special type of Laptop which is very  light and small. Due to its size and weight it is very portable and one may carry it very easily. Dissimilar to La

1. The volume of a pyramid is taken from the formula: V = 1/3 x AREA OF BASE x ALTITUDE Given the dimensions of a pyramid, calculate the cost of materials for making that pyrami

Question 1 List two I/O virtualization methods. Based on different features compare these two methods Question 2 Discuss three areas considered by organizations to secure the

Reflex agent-Artificial Intelligence If an agent decides and executes an action in response to a sensor input without consultation of its world, then it may be considered a ref

Accessing Other Computers The advanced networking features of Windows combined with the easy to use user interface make the task of sharing information with other computers/us

Consider the one-time pad encryption scheme to encrypt a 1-bit message m, and assume m is chosen with uniform distribution from message space M={0,1}. Let E1 be the event "message

Overview of a Computer System There are three major elements in every computer solution. They are:     Data     Hardware     Software Hardware + Softwa