GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Operating System  >  Windows & Unix
Go To First  |  Previous Question  |  Next Question 
 Windows & Unix  |  Question 2 of 110    Print  
Explain briefly about, processor, assembler, compiler, loader, linker and the functions executed by them?
Processor:--A processor is the part a computer system that executes instructions .It is also called a CPU
 
Assembler: -- An assembler is a program that takes basic computer instructions and converts them into a pattern of bits that the computer's processor can use to perform its basic operations. Some people call these instructions assembler language and others use the term assembly language.
 
Compiler: --- A compiler is a special program that processes statements written in a particular programming language and turns them into machine language or "code" that a computer's processor uses. Typically, a programmer writes language statements in a language such as Pascal or C one line at a time using an editor. The file that is created contains what are called the source statements. The programmer then runs the appropriate language compiler, specifying the name of the file that contains the source statements.
 
Loader:--In a computer operating system, a loader is a component that locates a given program (which can be an application or, in some cases, part of the operating system itself) in offline storage (such as a hard disk), loads it into main storage (in a personal computer, it's called random access memory), and gives that program control of the compute
 
Linker: -- Linker performs the linking of libraries with the object code to make the object code into an executable machine code.



  
Total Answers and Comments: 5 Last Update: August 19, 2008   
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: ashishgarg
 
Processor is the one which executes the instructions.

Compiler takes the source code and generates the assembly language code.

Assembler takes the assembly language code and generates an object file.

Linker links the various object files into one executable(usually), resolves references to external symbols, assigns final addresses to procedures/functions and revises code and data to reflect new addresses(relocation)

Loader loads the executable for execution


Ashish


Above answer was rated as good by the following members:
Ujaala
July 22, 2005 06:27:31   #1  
Girish kolari        

RE: Explain briefly about, processor, assembler, compiler, loader, linker and the functions executed by ...
Is there any deference between the out come of Assembler and Compilar .i e Is the resltent of this two are they same or not .
 
Is this answer useful? Yes | No
December 27, 2005 11:52:48   #2  
suresh        

RE:  Explain briefly about,...
compiler transforms one form of representation into another form not necessarily into bit pattern(machine code)
 
Is this answer useful? Yes | No
March 16, 2006 05:03:46   #3  
renjith        

RE:  Explain briefly about,...
how assemblar & loader works for a program
 
Is this answer useful? Yes | No
April 18, 2006 13:02:01   #4  
david        

RE:  Explain briefly about,...how the cpu works
how does the cpu works
 
Is this answer useful? Yes | No
August 19, 2008 08:45:59   #5  
ashishgarg Member Since: August 2008   Contribution: 1    

RE: Explain briefly about, processor, assembler, compiler, loader, linker and the functions executed by them?
Processor is the one which executes the instructions.

Compiler takes the source code and generates the assembly language code.

Assembler takes the assembly language code and generates an object file.

Linker links the various object files into one executable(usually), resolves references to external symbols, assigns final addresses to procedures/functions and revises code and data to reflect new addresses(relocation)

Loader loads the executable for execution


Ashish

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape