answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: What programs that translate the source code to object code?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Are programs that translate the source code to object code?

False. A compiler converts source code into object code.


Is source code obtainable from object code?

Yes


What are the similarities between compiler and interpreter?

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.


What are the basic component parts of a 'C' program and how are they structured in a 'C' source program fileWhat is Source Program and Object Program?

The basic components are datatypes and functions. There must always be at least one function, the main function. This function implements the entry point of the application, and is typically used to process and act upon command-line arguments. Although you may write all your code within that one function, this is only suitable for trivial programs. More complex programs are best broken down into a series of smaller functions that can be called and re-called as required. For the most complex programs, functions and datatypes are best placed in separate files, grouped by purpose. This makes code easier to maintain but also makes code easier to re-use within other programs by modularising the component parts. A source program -- or source code -- is the code that you, the programmer, write. The source code is usually written in a high level language but can also be written in a low level language, or even a combination of the two. The lower the level, the less abstraction there is between the source code and the resultant machine code. Although C is a high-level language, its flexibility allows programming at a procedural level, where the C instructions can be mapped very closely with the resultant machine code. Thus it is often classed a low level language. In reality it provides the best of both worlds, thus it is correctly termed a mid-level language. Since C++ inherits from C, it has similar properties. However C++ encourages the use of high-level object-oriented programming which makes it easier to produce and maintain more complex structured programs more easily than with C-style programming alone. Object programs are the machine code files that are produced from your source code. Object programs should not be confused with "objects" as employed in the object-oriented programming paradigm (where an object is an instance of a class). In C, compiling your source code produces one or more object files which are subsequently linked to produce the final executable, the object program. By modularising your source code, compilation times can be greatly reduced since only those object files that are affected by modifications to the source code need be recompiled.


The translator that converts source code to object code is called?

compiler


What does a compiler do when you compile your program?

Coverts source code into object code


What is linkers?

C language has a function that contains the object code for predefined functions.for example,the printf() is a library function.if the C program uses any of the library functions, the object code produced for the source code should be combined with the object code of the library functions to generate the final executable code.this process is called linking and it is performed by a 'linker'.


What is role of compiler?

It coverts your source code into machine code so the computer can execute it.


Which compiler is best compiler and why in computer graphics?

Compilers have nothing to do with graphics. Compilers translate source code into object code, nothing more. Graphics is hardware-dependant and is a function of a graphics library specific to that hardware. Graphics libraries do not need to be compiled, they simply need to be linked to your code.


If you run a programme on compiler and interpreter then how can you come to know which is compiler and which is interpreter?

If source code requires a runtime in order to translate the source code into machine code, executing one statement at a time, then it is interpreted. If the source code has already been converted into machine code in advance, then it is compiled. Compiled code does not require a runtime. Note that compilers do not execute programs, they simply compile them. Your development environment may well execute the machine code once it is compiled, but that is not the job of the compiler, the IDE has simply launched the executable.


Can object code and source code of a compiler be in same language?

No, they are two different things, source code is human-readable and machine code is machine-readable (though it can be represented in assembly)


Are NET Programs open-source?

While you can write a .NET program and release the source code, there is no requirement to do so.