If a process has 32 k bytes logical address space and the page size is 2048 bytes then the number of frames of that process is
Official theoretical question paper for Operating Systems (PCC-CS502) conducted by Maulana Abul Kalam Azad University of Technology. All questions from Groups A, B, and C are reproduced below with marks weightings.
If a process has 32 k bytes logical address space and the page size is 2048 bytes then the number of frames of that process is
What is a shell ?
Variable partition memory allocation can lead to
Suppose that a process is in BLOCKED state waiting for some I/O service. When the service is completed, it goes to the
IPC stands for
SPOOLING stands for
Page fault occurs when
Page stealing is
The general structure of a process consists of
Scheduling a process from Ready Queue to CPU is done by
What is "response time"?
With the help of a state transition diagram, explain various states of a process.
What is a zombie process and how it may manifest itself?
Suppose a disk drive has 300 cylinders, numbered 0 to 229. The current head position of the disk is at 90. The queue of pending requests, in FIFO order is 36, 79, 15, 120, 199, 270, 89, 170. Calculate the average cylinder movements for Shortest Seek Time First (SSTF) algorithm. Mention any one disadvantage of SSTF.
Describe process control block with proper explanation.
What is the purpose of system calls?
Mention one characteristic each of Time Sharing System and Batch Processing System.
What are the advantages and disadvantages of having unequal size partitions in fixed partitioning scheme?
Why are page sizes always powers of 2 ?
What is the difference between logical and physical addresses ?
Consider the following snapshot of a system where $r_i$ ($i = 1\cdots4$) denote resource types and $P_1$ to $P_5$ denote processes. The vector 'Available' has usual meaning. Available: | r1 | r2 | r3 | r4 | |----|----|----|----| | 2 | 1 | 0 | 0 | Current allocation: | Process | r1 | r2 | r3 | r4 | |---------|----|----|----|----| | P1 | 0 | 0 | 1 | 2 | | P2 | 2 | 0 | 0 | 0 | | P3 | 0 | 0 | 3 | 4 | | P4 | 2 | 3 | 5 | 2 | | P5 | 0 | 3 | 3 | 0 | maximum demand: | Process | r1 | r2 | r3 | r4 | |---------|----|----|----|----| | P1 | 0 | 0 | 1 | 2 | | P2 | 2 | 7 | 5 | 0 | | P3 | 6 | 6 | 5 | 6 | | P4 | 4 | 3 | 5 | 6 | | P5 | 0 | 6 | 5 | 2 | i) Is this system currently in a safe state? Justify your answer.
Consider the following set of process. CPU burst time of them are given in milliseconds. | Process | CPU Burst Time (ms) | |---------|-------------------| | P1 | 15 | | P2 | 5 | | P3 | 7 | | P4 | 10 | Draw the Gantt chart for Round Robin scheduling where time quantum q = 4 milliseconds. Calculate the average waiting time and turn around time. Mention the advantages and disadvantages of Round Robin scheduling.
Consider a system with a 32-bit logical address space, a two-level paging scheme, 4 byte page table entries, 1 kB pages, and a 4 entry TLB. The page-table base register access time is 0 ns, TLB access time is 100 ns and memory access time is 100 ns. i) How many address bits are needed for the page offset?
ii) How much memory in bytes is required to store the outer page table entirely in main memory? b) i) Given references to the following pages by a program, 0, 9, 0, 1, 8, 1, 8, 7, 8, 7, 1, 2, 8, 2, 7. How many page faults will occur if the program has three (3) page frames available to it and uses both FIFO replacement strategy and LRU replacement strategy. ii) Which replacement strategy in the above performs better and why?
On a simple paged system, if references satisfied by the associative registers take 100 ns and references through the main memory page table take 180 ns, what must the hit ratio be to achieve an effective access time of 125 ns?
What are the two major differences between segmentation and paging?
How is paging implemented in hardware?
What is internal fragmentation?
What is context switching? Why is it considered to be an overhead?
What are the differences between process and thread?
"All unsafe states may not lead to deadlock." — Why or why not?
Write short notes on the following: a) Kernel level thread
b) Scan disk scheduling algorithm
c) Linked file allocation technique
d) Belady's anomaly
e) Shortest Job First (SJF) scheduling.