Every address generated by the CPU is divided into two parts. They are ______ and ______.
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.
Every address generated by the CPU is divided into two parts. They are ______ and ______.
Logical memory is broken into blocks of the same size called ______.
The multi-user Operating System is based on the concept of ______.
Context switching is part of ______.
The segment of code in which the process may change common variables, update tables, write into files is known as ______.
CPU fetches the instruction from memory according to the value of ______.
In ______ method each file occupy a set of contiguous block on the disk.
Each entry in a segment table has a ______.
The switching of the CPU from one process or thread to another is called ______.
A binary semaphore is a semaphore with integer values ______.
To ensure difficulties do not arise in the readers - writers problem ______ are given exclusive access to the shared object.
When device A has a cable that plugs into device B, and device B has a cable that plugs into device C and device C plugs into a port on the computer, this arrangement is called a ______.
What is a process? With the help of a diagram, explain the different process states.
What are external and internal fragmentation?
A single processor system has three resource types X, Y and Z, which are shared by three processes. There are 5 units of each resource type. Consider the following scenario, where the table allocation denotes the number of units of each resource type allocated to each process, and the table request denotes the number of units of each resource type requested by a process in order to complete execution. Is the system in a safe state? if yes find the safe sequence. | Process id | Allocation | Request | |------------|------------|---------| | | X | Y | Z | X | Y | Z | | P1 | 1 | 2 | 1 | 1 | 0 | 3 | | P2 | 2 | 0 | 1 | 0 | 1 | 2 | | P3 | 2 | 2 | 1 | 1 | 2 | 0 |
Given memory partition of 100K,600K,200K,300K and 400 K. How would each of the First Fit, Best Fit and Worst Fit algorithm place processes of 312K ,217K, 95K and 426K . Which algorithm makes the most efficient use of memory.
Prove Dekker-Peterson's solution ensures mutual exclusion.
Discuss about monolithic and layered approach of operating system's structure.
Briefly explain about the following types of operating systems: (i) Batch, (ii)Interactive, (iii) Time-sharing, (iv) Real time
List out different services of Operating Systems and explain each service.
What is distributed operating system? What are the advantages of distributed operating system?
What are system calls? Explain system calls with example?
Given references to the following pages by a program, 1,2,3,4,2,1,5,6,2,1,2,3,7,6,3,2,1,2,3,6. How many page faults will occur if the program has three (3) page frames available to it and uses FIFO replacement strategy and LRU replacement strategy. Which replacement strategy in the above performs better and why?
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 5 ns and memory access time is 200 ns. What is the average memory access time.
Explain how semaphores achieves mutual exclusion.
Write down the dining Philosopher's problem. Provide its solution through monitors.
Suppose a disk drive has 300 cylinders(0 to 299). The current position of the drive is 60. Consider the track requests in the disk queue for I/O (87,170,40,150,36,72,66,15). Calculate the total head movement and average head movement for the following disk scheduling algorithms. i) SSTF scheduling ii)Scan Scheduling
What are the advantages and disadvantages of a two-level verses tree-structured directories.