Operating Systems 2068
Section-A
Attempt any two questions: (2x10=20)
AI is thinking...
1. List the essential properties for the Batch-Oriented and Interactive operating system. For each of the following application which system (batch or Interactive) is more suitable? State the reason.
a. Word processing
b. Generating
monthly bank statements
c. Computing
pi to million decimal places
d. A
flight simulator
e. Generating
mark statement by university
AI is thinking...
OR
“Using
semaphore is very critical for programmer” Do you support this statement? If
yes, prove the statement with some fact. If not, put your view with some
logical facts against the statement.
AI is thinking...
2. Round-robin scheduling behaves differently depending on its time quantum. Can the time quantum be set to make round robin behave the same as any of the following algorithms? If so how? Proof the assertion with an example.
a. FCFS
b. SJF
c. SRTN
AI is thinking...
3. A disk has 8 sector track and spins at 600 rpm. It takes the controller time 10ms from the end of one I/O operation before it can issue a subsequent one. How long does it take to read all 8 sectors using the following interleaving system?
a. No interleaving
b. Single interleaving
c. Double interleaving
AI is thinking...
Section-B
Attempt any eight questions: (8x5=20)
AI is thinking...
4. What is critical section problem? Why executing critical selection must be mutual exclusive? Explain.
AI is thinking...
5. What must user programs be prohibited from writing to the memory locations containing the interrupt vector?
AI is thinking...
6. What are the differences between the trap and interrupt? What is the use of each function?
AI is thinking...
7. What is deadlock? State the conditions necessary for deadlock to exist. Give reason, why all conditions are necessary.
AI is thinking...
8. A computer with 32 bit address uses a two level page table. Virtual addresses are split into a 9 bit top level page table field, 11-bit second level page table field and offset. How large the pages? How much maximum space required when page tables loaded into memory if each entry required when page tables loaded into memory if each entry required when page tables loaded into memory if each entry required 4 bytes.
AI is thinking...
9. What do you mean by memory fragmentation? Distinguish between the internal and external fragmentation.
AI is thinking...
10. Under what circumstances do page fault occur? Describe the action taken by the operating system when a page fault occurs.
AI is thinking...
11. How many bits would be needed to store the free-space list under the following conditions if a bit map were used to implement?
a. 500,000
blocks total and 200,000 free blocks
b. 1,000,000 blocks total and 0 free blocks.
Also find how much space is required if it need to be stored in
memory.
AI is thinking...
12. Which one suited, polling/interrupt, for the following types of system? Give reason.
a. A
system dedicated to controlling single I/O devices.
b. A
work station running as heavily used web server.
AI is thinking...