answersLogoWhite

0


Best Answer

the reason why we translate is that source code may be in assembly( low level language) or high level language and the only language computer understand is 0s and 1s which is binary code so the program written in either assembly or high level language must be convert or translate to binary and program written in HLL are in English form while the assembly are equivalent machine language.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

9y ago

Because the hardware of the machine understands machine language not the high level language (high order language in military terminology). However people understand the high level language better than they understand the machine language and thus prefer to program in the high level language.

Also the program can usually be written once in high level language, then translated to many different machine languages so that it can run on many incompatible computer implementations with less human effort and chance for error.

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

Source code is for humans, while machine code is for machines. Source code exists to make machine code legible by humans. So a compiler or assembler program converts what humans can read to what computers can understand as instructions. The nice thing about using programming languages is that they can be portable. You could then take the same source code and just compile it for whatever target hardware.

There is the interpreter approach, but it is slower. The machine has to convert the user commands into actual instructions, and that is slower than just having things compiled in the first place.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

The computer's CPU run machine code and does not understand source code.

The compiler is used translate the source code to machine code.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

computer's C.P.U run machine code and does not understand the source code and compiler translate the source code into machine code.

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

which program is used to translate source code into machine code

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

The compiler translates the source code into object code.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why do need translate a program written a high level language into machine language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the process of writing specific instructions in computer language called?

A machine code program. Machine code is the native language of the machine and the only language actually understood by the machine. However, program instructions can be written using a high-level programming language that the computer can translate into machine code using another machine code program called a compiler.


What is assembly program?

An assembly program is a machine-dependent program written in a low-level symbolic code known as assembly language.


What is an Program compilation?

That means to convert the original program - the source code, written by a programmer - into machine language, or into an intermediate form, for example, Java bytecode in the case of Java.That means to convert the original program - the source code, written by a programmer - into machine language, or into an intermediate form, for example, Java bytecode in the case of Java.That means to convert the original program - the source code, written by a programmer - into machine language, or into an intermediate form, for example, Java bytecode in the case of Java.That means to convert the original program - the source code, written by a programmer - into machine language, or into an intermediate form, for example, Java bytecode in the case of Java.


What is a program written in high level language called?

the program written in high level language is called "source program"


What do you need to a translate a programmer written in a high level language in to machinery language?

A compiler.

Related questions

What is language translator program?

This is usually the first stage in compilation. The source code is read and checked for syntax and usability then passed to the compile stage to be converted to object (or machine) code that the computer can understand.Translator translates program written in one programming language into (equivalent) program written in another language. For example, Java to C# translator would translate Java program into (equivalent) C# program. This is similar to as if you would translate some text in English into Spanish or vice versa.If target language is lower level language like assembly language, machine language, or pseudocode, translator is called compiler. For example, some C++ compiler could compile (translate) program in C++ into machine code.


What is Translator Programs?

This is usually the first stage in compilation. The source code is read and checked for syntax and usability then passed to the compile stage to be converted to object (or machine) code that the computer can understand.Translator translates program written in one programming language into (equivalent) program written in another language. For example, Java to C# translator would translate Java program into (equivalent) C# program. This is similar to as if you would translate some text in English into Spanish or vice versa.If target language is lower level language like assembly language, machine language, or pseudocode, translator is called compiler. For example, some C++ compiler could compile (translate) program in C++ into machine code.


What is the process of writing specific instructions in computer language called?

A machine code program. Machine code is the native language of the machine and the only language actually understood by the machine. However, program instructions can be written using a high-level programming language that the computer can translate into machine code using another machine code program called a compiler.


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.


What is a translator program?

This is usually the first stage in compilation. The source code is read and checked for syntax and usability then passed to the compile stage to be converted to object (or machine) code that the computer can understand.Translator translates program written in one programming language into (equivalent) program written in another language. For example, Java to C# translator would translate Java program into (equivalent) C# program. This is similar to as if you would translate some text in English into Spanish or vice versa.If target language is lower level language like assembly language, machine language, or pseudocode, translator is called compiler. For example, some C++ compiler could compile (translate) program in C++ into machine code.


What is the role of a translator app?

A translator takes a program written in source language as input and converts it into a program in target language as output. It also detects and reports the error during translation. • Translating the high-level language program input into an equivalent machine language program.


What is assembly program?

An assembly program is a machine-dependent program written in a low-level symbolic code known as assembly language.


What are the differences between computer program language and human language?

MOTHER TONGUE OF A COMPUTER:Everyone of us knows at least one or two human languages such as English ,Urdu ,Chinese .One of there is our tongue , the language which we learned from childhood . Similarly , computer have their own "mother tongue ". The mother tongue of a computer is machine language.Machine language instructions are in binary form.computer language(1) A programming language or machine language.(2) Everyday computer language, which includes computer technologies and concepts as well as hardware and software products .MACHINE LANGUAGE ADVANTAGES :Machine language program is written is machine code.This is the only language that the computer can understand directly . The main advantages of machine languages are:Machine code is carried out faster as it is the "native language" of the computer.It occupies less momory space.DISADVANTAGES :However , it has the following disadvantages:Each type of computer has its own set of instruction codes so each machine work ononly one type of computer.Its very laborious to write programs in machine codes. Programs in machine codeare also difficult to decode and modify.There was a time when programmers had to write programs in machine language.Now programmers can use programmiong language.We will look into programming languages next.TYPES OF PROGRAMMING LANGUAGE:We can write a program in a programing language and then translate it into a machine language look at the simple program written in a programming language called BASIC .This program tells the computer to find the area of a square and display the answer on the screen10 Rem Calculate The area of square20 Let side = 1230 AREA =Side * Side40 Print AREAAs you can see .the program statemnet are easier to read , unlike the machine code .A program written in any one of the programming languages is called the source code,The source code has to be translate to machine code before it can be executed. We need a computer translator for this purpose.The machine code is save as an executable file.The executable program file is called the object code.A COMPUTER TRANSLATOR:A computer translator is yet another program. Its function is like that of a human tanslator.Ahuman translator orinterpreter who knows both English and Urdu can help a Pakistani and an Englishman to converse.TYPES OF COMPUTER TRANSLATORS:There are two types of computer translators :InterpretersCompilersINTERPRETERS:An interpreter is a program that translates and executes each source code statment before translating and executing the next statment.COMPILERSCompiler is a program that translate all the source code statment before it executes the program.


Is assemmbly language machine dependent If so then why.?

Yes! assembly language is machine dependent. Because program are written by means of memory and register on computer thats are very effective, and also have not high level skill in the program.


What is an Program compilation?

That means to convert the original program - the source code, written by a programmer - into machine language, or into an intermediate form, for example, Java bytecode in the case of Java.That means to convert the original program - the source code, written by a programmer - into machine language, or into an intermediate form, for example, Java bytecode in the case of Java.That means to convert the original program - the source code, written by a programmer - into machine language, or into an intermediate form, for example, Java bytecode in the case of Java.That means to convert the original program - the source code, written by a programmer - into machine language, or into an intermediate form, for example, Java bytecode in the case of Java.


What is source code c?

"Source code", in a programming language, refers to the original program, as written by a programmer (and more or less readable by humans); the version of the program before it is converted into machine language by the compiler.


What is a program written in high level language called?

the program written in high level language is called "source program"