answersLogoWhite

0

They are not translators, they are either compilers or interpreters. High-level source code cannot be executed in its native form, it must be converted to machine code, the native language of the computer. Compiled languages compile the entire source code into a standalone machine code executable. Once compiled, the executable can be transferred to other computers. Interpreted languages require additional software, an interpreter, to execute. So long as a machine has the required interpreter, the source code can be executed. This is achieved by converting statements to machine code one statement at a time.

C++ is an example of a compiled language and is used to produce much of the software running on computers today. Some versions of BASIC, such as QBASIC, are interpreted. Source code is not compiled, it is interpreted by the QBASIC interpreter which is built into the code-editor. Java is an example of a language that is both compiled and interpreted. Rather than compiling to machine code it compiles to byte code which can then be executed by the Java Virtual Machine. Java programs are highly portable as they need only be compiled once and can be executed on any device that has a JVM. By comparison, C++ programs must be compiled separately for each platform. That is, a Microsoft Windows executable will not run on an Apple Mac -- the source code must be compiled separately for each. Such code must be crafted to cater for each platform, with filters to exclude or include platform-specific code as appropriate for the current compilation.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What are computer language translators Define each?

computer language translators are programming tools that translate high level languages into the machine language. they include:1)assembler-translates assembly language into machine language. 2)compiler-translates the high level languages into the machine language.


Where can programming languages be applied?

in computer


How do you install C language from a website?

You cannot install programming languages (or natural languages, either) on your computer. You can install compilers for programming languages, though.


What programming languages are on a computer?

There are loads of programming languages used in computer technology. Some of those are: C C++ C# Python Pearl Javascript Java Html PHP And many more. If you want to read more google for "programming languages".


What are the application domains of programming languages?

various area of application in computer application in business


What are assembly languages and how are they used in computer programming?

Assembly languages are low-level programming languages that use mnemonic codes to represent machine instructions. They are used in computer programming to directly communicate with the hardware of a computer, allowing programmers to write code that is more efficient and specific to the system's architecture.


What are BASIC and FORTRAN?

BASIC and FORTRAN are computer programming languages.


What is c and c in computer programming?

C and C++ are both high-level programming languages.


What is the role of a compiler in computer programming and how does it translate high-level programming languages into machine code?

A compiler is a software tool that translates high-level programming languages, like Java or C, into machine code that a computer can understand and execute. It does this by analyzing the code, checking for errors, and converting it into a series of instructions that the computer's processor can directly execute. This process is called compilation, and it allows programmers to write code in a more human-readable format while still being able to run it on a computer.


Do data processors separate the programming tasks from computer operation tasks?

No, high-level programming languages do that.


What has the author Larry Wall written?

Larry Wall has written: 'Programming Perl' -- subject(s): Perl (Computer program language), Programming languages, Programming Languages, Computadores (software), PERL


What does Lisp mean in computer language?

LISP programming refers to creating applications using LISP languages - a family of old high level programming languages that used Polish notation. LISP languages are the second oldest HLLs after FORTRAN.