OPERATING SYSTEM INTERVIEW QUESTIONS-08

What is cache-coherency?
In a multiprocessor system there exist several caches each may containing a copy of same variable A. Then a change in one cache should immediately be reflected in all other caches this process of maintaining the same value of a data in all the caches s called cache-coherency.

What are the benefits of multithreaded programming?
Responsiveness
Resources sharing
Economy
Utilization of multiprocessor architectures.

What is the difference between microkernel and macro kernel?
 Micro-Kernel : A micro-kernel is a minimal operating system that performs only the essential functions of an operating system. All other operating system functions are performed by system processes.
Monolithic : A monolithic operating system is one where all operating system code is in a single executable image and all operating system code runs in system mode.

What is DRAM?
 Dynamic Ram stores the data in the form of Capacitance, and Static RAM stores the data in Voltages.

What are the different functions of Scheduler?
 Scheduler deals with the problem of deciding which of the process in the ready queue is to be allocated the CPU. Short Term Schedulers, Long Term Schedulers

What is a trap and trapdoor?
 Trapdoor is a secret undocumented entry point into a program used to grant access without normal methods of access authentication. A trap is a software interrupt, usually the result of an error condition.

What is a data register and address register?
 Data registers - can be assigned to a variety of functions by the programmer. They can be used with any     machine instruction that performs operations on data.
Address registers - contain main memory addresses of data and instructions or they contain a portion of the address that is used in the calculation of the complete addresses.

A section of code which can be executed only by one process at a time is called:

Critical section. 

No comments:

Post a Comment