Showing posts with label Operating Systems. Show all posts
Showing posts with label Operating 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

Sunday, May 25, 2014

Operating Systems Unit 2

PART – A (2 MARKS) 
1. Define CPU scheduling. 
2. What is preemptive and non preemptive scheduling? 
3. What is a Dispatcher? 
4. What is dispatch latency? 
5. What are the various scheduling criteria for CPU scheduling? 
6. Define throughput. 
7. What is turnaround time? 
8. Define race condition. 
9. What is critical section problem? 
10. What are the requirements that a solution to the critical section problem must satisfy? 
11. Define entry section and exit section. 
12. Give two hardware instructions and their definitions which can be used for implementing mutual exclusion. 

Saturday, May 24, 2014

Operating Systems


PART – B (16 MARKS) 
1. Explain the various types of computer systems.
2. Explain how protection is provided for the hardware resources by the operating
system.
3. What are the system components of an operating system and explain them?
4. What are the various process scheduling concepts?
5. Explain about inter process communication.
6. List five services provided by an operating system. Explain how each provides
convenience to the users. Explain also in which cases it would be impossible for
userlevel programs to provide these services.
7. Explain the System Structure of Operating System
8. Explain the concept of Virtual Machine with neat sketch
9. Explain Client-Server communication with an example
10. Explain the various threading issues?