Explain briefly about, processor, assembler, compiler,
loader, linker and the functions executed by them.
Answer / varun
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.
| Is This Answer Correct ? | 6 Yes | 1 No |
List reasons why a Mode switch between threads may be cheaper than a Mode switch between processes.
Explain binary semaphore and its functionality.
Define demand paging?
What are the benefits and losses of placing the functionality in a device controller rather than in placing it in the kernel?
How do I cancel chkdsk scan?
Differentiate between RAM and ROM?
25 Answers CTS, Doli Systems, HK, IBM, Infosys, Wipro,
There is some data related to temperatures of different cities. One side(thread), will be updating the values and multiple clients will be reading the values. how do you achieve synchronization?
Explain booting the system in operating system.
How do I stop apps from running in the background?
Why is 64 bit better?
Why paging is used in os?
What is the cache memory?