answersLogoWhite

0

<p>You may know, in early days when there was no memory, once the program was written, they(computer scientists) fed input to the machine using switches and levers. That is , there is no interface between human and a computer. In this case , only people who were scientists,researchers could operate the computers. It was not possible for a common man to know about it. Also , its very hard to learn,understand,handle those machine ,even to people who are scientist etc.

As there was no memory, they had to fed the same intruction( thru switches and levers) whenever they need to solve the same problem.After the memory was found, the programs were stored in the memory(physical memory of the machine or like RAM), and were executed. At this times, older input techinques were modified according to it. Later assembly language( Mnemonics ) were used write instructions and these instructions were then translated into voltages (machine level code). Here, The technique Abstraction was used to cover the complexity of interacting with hardware. Even though it made work easier than before. It was too somewhat difficult to write programs in assembly language since the commands are difficult to remember. Also , each processor had its own assembly language. So that program written for one processor could not be used in another. This increased the difficulty to remember commands for different machines. Also, a program called "assembler" that translates assembly language to machine code also differed from machine to machine. On those days, writing assemblers was a nightmare and was badly difficult to design and implement. In assembly language only one instruction took chance to be translated and executed. So, it consumed more time to execute a program. All these drawbacks stimulated computer scientists to think for the alternatives. On each stage of this improvement, inventions in physics,electronics, mathematics were also made to improve the components of the machine. These technological improvements also increased the neccessity to replace the older techniques.

This is like two persons who know different languages, are trying to communicate each other.<p>

<p>

Later, high level languages were found so that its commands are in simple english words and can be remembered easily. It completely vanished the direct interaction with the hardware components. Its corresponding interface program is Interpreters/compilers( which is also a program) that translates the high level programs to the machine level code.

<p>

From the above discussion its clear that , in order to reduce the difficulties in communicating with the machine, one/more layer/s of abstraction is/are needed. That is, an intermediator is created and behaves as an interface between the programmer/user and the machine. This facilitates the programmer/user to interact with the machine and vice versa.So, Intended task is completed reliably and easily.

for example, its like a communication: English Speaker <--> Translator <--> French Speaker.

Also code written in High level language is optimized so that it keeps the size of the machine code small.

You can dig more under the titles : Compiler Design , The principles of programming languages.

Hope You got it.

User Avatar

Wiki User

11y ago

What else can I help you with?

Related Questions

The Language of Computers Programs are written in?

machine language


Where is programs written in machine language are stored?

i think in RAM. Or ROM. Or CD-disk. Etc.


What is low level programing languages?

The programs written in Machine codes (like hexadecimal codes) are the Low level programs. These are understood only by the Microprocessor they are written for and written on. Whereas the High level programs are written in English like languages which are human redable.


Why can't we use English in programming?

Computers don't understand English. All programs must be written in machine code -- the native language of the machine. Programs written in high-level languages must be converted to machine code in order to be executed. We can write machine code programs to perform the conversion for us. These programs are called compilers or interpreters.


Why are few programs written in binary form?

The lower-level the language, the harder it is to write programs in. It takes a long time to write a program in machine language...and it is way more trouble than writing it in an abstracted language.


Short note on high level language?

Generally languages are used for communication, In the case of computers languages are used to communicate with the Hardware. Language consist of set of rules and syntaxes to frame the valid instructions to work with the Machines.


What other language was the bible originally written in Before being translated to English?

What other language was the bible originally written in Before being translated to english?


What is translator in computing?

Translator is defined as a computer program that converts instructions written in one language to another without changing the initial logic in terms of computer language.


Is C language readable?

No, but source-programs written in C language are.


What Machine language is an example of a high-level language.?

There is no program that can translate machine code to a high-level language. The best you can do is disassemble the code. This produces code that is similar to assembly language, but which lacks variable names and comments. Even a skilled programmer will need to spend hours disentangling the code in order to make it readable -- but you can never restore the code back to its original source code, no matter what language it was written in.


Why high level language process slower than low level languages?

False. HLL-programs are compiler into low level (machine code), so they aren't slower. (Programs written in interpreted languages are indeed slower than compiled programs.)


Why high level language is slower then assembly language?

Programs written in a high level language might be slower than ones written in Assembly language; but it is not always so, it is very easy to write un-effective programs in Assembly.