Showing posts with label CS2411 – OPEARATING SYSTEMS. Show all posts
Showing posts with label CS2411 – OPEARATING SYSTEMS. Show all posts

Friday, December 18, 2015

I/O SYSTEMS



1.How free-space is managed using bit vector implementation?

The free-space list is implemented as a bit map or bit vector. Each block is represented by 1 bit. If the block is free,the bit is 1; if the block is allocated, the bit is 0.

2.Define buffering.

A buffer is a memory area that stores data while they are transferred between two devices or between a device and an application. Buffering is done for three reasons

a.   To cope with a speed mismatch between the producer and consumer of a data stream
b.  To adapt between devices that have different data transfer sizes

c.   To support copy semantics for application I/O

3.Define caching.

A cache is a region of fast memory that holds copies of data. Access to the cached copy is more efficient than access to the original. Caching and buffering are distinct functions, but sometimes a region of memory can be used for both purposes.

4.Define spooling.

A spool is a buffer that holds output for a device, such as printer, that cannot accept interleaved data streams. When anapplication finishes printing, the spooling system queues the corresponding spool file for output to the printer. The spooling system copies the queued spool files to the printer one at a time.

5.What are the various disk-scheduling algorithms?

The various disk-scheduling algorithms are
a.  First Come First Served Scheduling
b.  Shortest Seek Time First Scheduling
c.  SCAN Scheduling
d. C-SCAN Scheduling
f. LOOK scheduling

Tuesday, December 8, 2015

CS2411 – OPEARATING SYSTEMS



1.What is an operating system?

An operating system is a program that manages the computer hardware. it act as an intermediate between a users of a computer and the computer hardware. It controls and coordinates the use of the hardware among the various application programs for the various users.

2.What is the kernel?

A more common definition is that the OS is the one program running at all times on the computer ,usually called the kernel, with all else being application programs.

3.What are batch systems?

Batch systems are quite appropriate for executing large jobs that need little interaction. The user can submit jobs and return later for the results. It is not necessary to wait while the job is processed.

4.What is graceful degradation?

In multiprocessor systems, failure of one processor will not halt the system, but only slow it down by sharing the work of failure system by other systems. This ability to continue providing service is proportional to the surviving hardware is called graceful degradation.

5.Differentiate Tightly coupled systems and loosely coupled systems?

Loosely coupled systems Tightly coupled systems Each processor has its own local memory Common memory is shared by many processors Each processor can communicate with other all through communication lines No need of any special communication lines