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
Question 1 With an example, illustrate the concept of extern variable Question 2 What is the difference between pointer variable and simple variable? Question 3 Give the

• The SRT is the preemptive complement of SJF and helpful in time-sharing environment. • In SRT scheduling, the process with the least estimated run-time to completion is run next,

User-level threads apply in user-level libraries, before via systems calls, so thread switching does not require to call operating system and to cause interrupt to the kernel. Actu

Uninformed Search Strategies: To be able to undertake a regular search, our entire agent ought to know is the starting state, the possible operators and how to check whether th

Need of operating system: What kind of facilities operating system provides to the users and programs: The operating system provides interfaces for the user (keyboard, m

I need to review 2 different softwares one is windows based and the other is Linux Based. Please Ask for further details

TYPES OF PC:  In general,  basic function of all the computers is same i.e. Computers accept data as input, perform operations on these data and generates the desired output t

#questionWrite a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two poi

Types of chat room: Java Chat rooms: The most common and popular chat scripts are based on java which is object oriented language. Java is freely available and comes with virt

Priority Scheduling • The fundamental idea is straightforward: each process is assigned a priority, and priority is permitted to run. Equal-Priority processes are scheduled in FCF