Saturday, March 15, 2008

Mostly Asked Interview Questions based on O.S

Mostly Asked Interview Questions based on O.S


Q. When is a system in safe state?

The set of dispatchable processes is in a safe state if there exists at least one temporal order in which all processes can be run to completion without resulting in a deadlock.

We encounter cycle stealing in the context of Direct Memory Access (DMA).

Q. What is cycle stealing within Operating-systems?

Either the DMA controller can use the data bus when the CPU does not need it, or it may force the CPU to temporarily suspend operation. The latter technique is called cycle stealing. Note that cycle stealing can be done only at specific break points in an instruction cycle.

Q. What is meant by Operating system arm-stickiness?


If one or a few processes have a high access rate to data on one track of a storage
disk, then they may monopolize the device by repeated requests to that track. This
generally happens with most common device scheduling algorithms (LIFO, SSTF, C-
SCAN, etc). High-density multisurface disks are more likely to be affected by this than
low density ones.

Q. What are the stipulations of C2 level security?


C2 level security provides for: Discretionary Access Control Identification & Authentication Auditing Resource reuse

Q. What is busy waiting in Operating systems?


The repeated execution of a loop of code while waiting for an event to occur is called busy-waiting. The CPU is not engaged in any real productive activity during this period, & the process does not progress toward completion.

No comments:

2008 Placement papers of Top MNC companies

eXTReMe Tracker