CS604 Final Term Solved Subjective with References by Umair Saulat
- Type
- Final term past paper
- Course
- CS604 Operating Systems
- Size
- PDF 1 MB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 1, 2, 3 of 30. Download the file for all 30 pages.
QNo.1 Scan Algorithm is sometimes called the elevator algorithm, why?
Answer: ‐ The Scan algorithm is sometimes called the elevator algorithm, since the disk arm behaves like an elevator in a building servicing all the requests (people at floors), going up and then reversing to service the requests going down.
QNo.2 What is basic logic in FIFO page replacement algorithm?
Answer: ‐
must be replaced, the oldest page is chosen.
QNo.3 What is mounting? Name two types of mounting. Give your answer with respect to File System?
Answer: ‐
There are types of mounts:
- Remote mount
- Local mount
QNo.4 Write three main characteristics memory management System?
Answer: ‐
- The purpose of memory management is to ensure fair, secure, orderly, and efficient use of memory.
- The task of memory management includes keeping track of used and free memory space, as well as when, where, and how much memory to allocate and deallocate.
- It is also responsible for swapping processes in and out of main memory
QNo.5 Summarize the tradeoffs among simple arrays, trees, and hash tables as implementations of a page table.
Answer: ‐
Arrays
Arrays, lists and tables are often allocated more memory than they actually need. An array may be declared 100 by 100 elements even though it is seldom larger than 10 by 10 elements.
Hash Tables
This is a common approach to handle address spaces larger then 32 bits .Usually open hashing is used. Each entry in the linked list has three fields: page number, frame number for the page, and pointer to the next element
QNo.6 How to implement hold and wait which can ensure that a deadlock will not occur?
Answer: ‐ A process must be holding at least one resource and waiting to acquire additional resources that are currently being held by other processes.
QNo.7 List down 2 major benefits of virtual memory
Answer: ‐
- Virtual Memory is the separation of user logical memory from physical memory. This separation allows an extremely large virtual memory to be provided for programmers when only a smaller physical memory is available.
- Virtual memory makes the task of programming easier because the programmer need not worry about the amount of physical memory,
QNo.7 what are the possible system for the input redirection in the UNIX/LINX system
Answer: ‐ Linux redirection features can be used to detach the default files from stdin, stdout, and stderr and attach other files with them for a single execution of a command. The act of detaching defaults files from stdin, stdout, and stderr and attaching other files with them is known as input, output, and error redirection.
Here is the syntax for input redirection:
command < input‐file or command 0< input‐file
QNo.8 what is the purpose of “stub” in dynamic linking, give answer with respect to memory
Answer: ‐ With dynamic linking, a stub is included in the image for each library‐routine reference. This stub is a small piece of code that indicates how to locate the appropriate memory‐resident library routine or how to load the library if the routine is not already present. During execution of a process, stub is replaced by the address of the relevant library code and the code is executed .If library code is not in memory, it is loaded at this time
QNo.9 Dynamic linking
Answer: ‐ Dynamic linking requires potentially less time to load a program. Less disk space is needed to store binaries. However it is a time‐consuming run‐time activity, resulting in slower program execution.
QNo.10 what is use of mounting in file system
Answer: ‐
accessed.
QNo.10 How operating attacks the" no preemption "condition necessary for feedback in order to solve the pro of deadlock
Answer: ‐ No preemption: Resources cannot be preempted. That is, after using it a process releases a resource only voluntarily.
Related CS604 files
All CS604 files →- CS604 Final Term Solved File 5 by Team Hadi Final term PDF 8.2 MB
- CS604 Final Term Past Papers File 7 by Waqar Siddhu Final term PDF 2.6 MB
- CS604 Final Term Solved File 7 by Team Hadi Final term PDF 2.5 MB
- CS604 Final Term Past Papers File 5 by Waqar Siddhu Final term PDF 3.7 MB
- CS604 Highlighted Handouts by KST Learning Highlighted PDF 4.9 MB
- CS604 Past Papers Quiz DOCX 219 KB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.