A Compiler.
a compiler translates an entire program and then executes it while an interpreter translates and executes one line of a program at time
No. In short, binary code is the code your computer executes, it can be in many forms, ranging from bytecode, which must be interpreted, but is pre-compiled to machine code, which is directly run by the system, and is generally specific to a particular system. Source code is the code of the program, as written by the programmer. It is written in a language that can be translated into instructions understood by computers. Most of the times, binary code is not easily human readable whereas source code is.
A compiler is a program that translates a programming language (like c++, java, pascal, php etc...) to a language that computers can "understand" (i.e. "1001010110101010...")
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.
machine language, assembler code
Two types of language translators are: a compiler, which translates the entire source code into machine code before running the program, and an interpreter, which translates and executes the source code line by line.
an assembler is aroutine program that translates assemly language source code to a machine language object code
The software that runs is neither--it is the binary or machine code. The binary code was generated from source code by an compiler or assembler. The source code can be written in a high or low level language or in a mixture. Most source code today is written in high-level language because it is easier to maintain and more portable. However, sometimes speed-critical sections of source code are written in low-level language such as assembly.
a compiler translates an entire program and then executes it while an interpreter translates and executes one line of a program at time
No. In short, binary code is the code your computer executes, it can be in many forms, ranging from bytecode, which must be interpreted, but is pre-compiled to machine code, which is directly run by the system, and is generally specific to a particular system. Source code is the code of the program, as written by the programmer. It is written in a language that can be translated into instructions understood by computers. Most of the times, binary code is not easily human readable whereas source code is.
A compiler is a program that translates a programming language (like c++, java, pascal, php etc...) to a language that computers can "understand" (i.e. "1001010110101010...")
Assembly language does not use a traditional translator; instead, it uses an assembler to convert its mnemonics into machine code. The assembler translates the assembly instructions into binary code that the computer's CPU can understand and execute.
Binary is made up of 0's and 1's. Binary can also be called Machine Code. Binary is the 'language' that the computer understands.
C would be a good language if you wanted to then go on to improve the efficiency of the code perhaps by editing the translated code. I wouldn't call C a high language :)
Machine code.
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.
machine language, assembler code