No, that's what the compiler does.
SOURCE PROGRAM=A set of instructions of the high level language used to code problems to find its solution on a computer is referred as source program. OBJECT PROGRAM=The computer translates the source program into machine language program called object program by using an interpreter or compiler is called object program.
Both compiler and interpreter are the language programs that translates source program into machine code or we can say object code. Both are used to find errors in source program.
a compiler translates an entire program and then executes it while an interpreter translates and executes one line of a program at time
1) source program to object program 2)object program to object program output
computer
There is no such thing: compiler translates but doesn't execute; interpreter executes, but doesn't translate.
A program that translates source program into object code.
its just convert the source language of a program to target language at once.....whereas interpreter do it line wise....
A compiler produces object code, which is an obj file.
In computer science, an interpreter normally means a computer program that executes, i.e. performs, instructions written in a programming language. An interpreter may be a program that eitherexecutes the source code directlytranslates source code into some efficient intermediate representation (code) and immediately executes thisexplicitly executes stored precompiled code[1] made by a compiler which is part of the interpreter system
No. Computers do not convert program source code into machine code, period. That job is the responsibility of another piece of software, known as the interpreter or compiler, a machine code program which effectively tells the computer how to perform the translation from source code to machine code. The computer cannot do this job by itself as computers only understand machine code and nothing else. An interpreter simply converts each statement of source code into the equivalent machine code and executes it, one statement at a time. This is extremely slow because subroutines that are called many times must be translated each time they are called, for instance. Thus the source code must always be executed within the interpreter software. A compiler, on the other hand, converts the entire source program into object code which can then be linked to produce the required machine code. Once linked, the machine code will execute without any further interpretation, and is therefore known as a standalone executable.
Coverts source code into object code