CS604FinaltermSolvedSubjectivewithreferencesbyMoaaz - Copy.pdf
Verified academic study resource for CS604 (Operating Systems) under the Computer Science at Virtual University of Pakistan. This PDF document (Final-Term Solved Past Paper & Examination Pack compiled by Moaaz Siddhu) covers Final-Term Exam Scope (Lectures 23 to 45) spanning approximately 320 pages across 4 curriculum modules, and is indexed for student examination review with instant in-browser preview and 100% free direct download.
- Course
- CS604 – Operating Systems
- Faculty
- Computer Science
- Format
- Type
- Final-Term
- Coverage
- Final-Term Exam Scope (Lectures 23 to 45)
- Compiled by
- Moaaz Siddhu
Virtual University regulations strictly require achieving at least 20% marks in the Final-Term exam paper alone (typically 12+ marks out of 60) to pass CS604, regardless of midterm scores.
What this file covers — CS604 syllabus roadmap
- Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
- Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
- Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
- Final-Term Examination Dossier & Capstone Synthesis — Lectures 42 to 45 (Pages 511 to 585). Final-Term Exam Synthesis (Lectures 23–45 Scope)
Frequently asked questions
Where can I download CS604FinaltermSolvedSubjectivewithreferencesbyMoaaz - Copy.pdf for free?
You can preview and download "CS604FinaltermSolvedSubjectivewithreferencesbyMoaaz - Copy.pdf" (CS604 PDF, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs604finaltermsolvedsubjectivewithreferencesbymoaaz-copy-pdf) with 100% free high-speed downloads and zero registration requirements.
What syllabus chapters and lectures are covered in this CS604 file?
This document covers Final-Term Exam Scope (Lectures 23 to 45) across 4 distinct lecture units (Lectures 23 to 29, Lectures 30 to 36, Lectures 37 to 41, Lectures 42 to 45), featuring comprehensive definitions, solved objective questions, and examiner marking rubrics.
What is the passing criteria for CS604 under the VU 20% Two-Half Rule?
Under official Virtual University regulations, students must score at least 20% in the First Half (Quizzes, Assignments, GDBs, and Midterm combined) AND independently at least 20% in the Final-Term examination paper. Scoring under 20% in the final exam results in an automatic F grade regardless of earlier marks.
Are CS604 solved past papers and handouts verified for 2026 exams?
Yes. All CS604 materials on MIHORA VU—including Moaaz, Waqar Siddhu, and team archives—are reviewed against the current VU syllabus to help students prepare for 2026 Midterm, Final-Term, and online quiz examinations.
Inside this file
CS604- Operating Systems
Solved Subjective 10 July,2013
From Final term Papers
MC100401285 Moaaz.pk@gmail.com Mc100401285@gmail.com PSMD01
CS604 – Final term Paper Fall (2012)
1. Write the names of common file structures. (2)
Answer:- (Page 214)
None
Simple record structure
Complex Structures
2.Which part of compiler/assembler perform the task of taking one or more objects generated
and assemble them in to a single executable program. (2)
Answer:- Click here for detail
Linking means taking one or more objects generated by compilers and assemble them into a single executable
program.
3.Write the method through which Linus/Unix commands can communicate with each other. (2)
4. Consider a process having its segment 15 having 5096 bytes. The process generates a logical address
(15, 3921). What page does the logical address refers to? (2)
Answer:- (Page 181)
ceiling[3921/1024]= 4 (i.e., page number 3)
5. What is mounting? Name its two types. (3)
Answer:- (Page 225)
Mounting makes file systems, files, directories, devices, and special files available for use at a particular
location. Mount point is the actual location from which the file system is mounted and accessed.
There are types of mounts:
Remote mount
Local mount
1
7. Which term is best suited for the situation where several process access and manipulate shared data
concurrently and final value of data depend which process finishes last. (3)
Answer:- (Page 96)
A situation like this, where several processes access and manipulate the same data concurrently and the
outcome of the manipulation depends on the particular order in which the access takes place, is called a race
condition.
8. What is difference between deadlock avoidance and deadlock prevention. (3)
Answer:- (Page 132)
1. Deadlock prevention: is a set of methods for ensuring that at least one of the necessary conditions cannot
hold. These methods prevent deadlocks by constraining how processes can request for resources.
2. Deadlock Avoidance: This method of handling deadlocks requires that processes give advance additional
information concerning which resources they will request and use during their lifetimes. With this information,
it may be decided whether a process should wait or not.
9. A file system must keep track of free blocks on disk. Name two schemes for doing this, and one
advantage for each (5)
Answer:- Click here for detail
Linked list of free pages supports very fast deletion: we can link a whole file onto the free list in constant time.
Bit map facilitates spatial locality optimizations in disk layout. It is also the most effecient in terms of memory
inside the OS required to find the free pages.
The list of pages with free page references in each is also space-efficient, particularly for disks that are mostly
full (the bit map takes space proportional to the size of the entire disk). Also, free page insertion and deletion
operations exhibit high locality under this scheme.
10. Differentiate between logical and physical address. (5)
Answer:- (Page 152)
An address generated by the CPU is commonly referred to as a logical address, where as an address seen by
the memory unit–that is, the one loaded into the memory-address register of the memory–is commonly
referred to as the physical address. In essence, logical data refers to an instruction or data in the process
address space where as the physical address refers to a main memory location where instruction or data resides.
The compile time and load time binding methods generate identical logical and physical addresses, where as
the execution time binding method results in different physical and logical addresses. In this case we refer to
the logical address as the virtual address. The set of all logical addresses generated by a program form the
logical address space of a process; the set of all physical addresses corresponding to these logical addresses is
a physical address space of the process. The total size of physical address space in a system is equal to the size
of its main memory.
The run-time mapping from virtual to physical addresses is done by a piece of hardware in the CPU, called the
memory management unit (MMU).
2
11. Identify the necessary information that must be stored in process control block during the execution
of program. (5)
12. What steps are needed for page replacement? (5)
Answer:- (Page 196)
1. Find the location of the desired page on the disk
2. Find a free frame
a) If there is a free frame use it.
b) If there is no free frame, use a page replacement algorithm to select a victim frame.
3. Read the desired page into the newly freed frame; change the page and frame tables.
4. Restart the user process.
CS604 – Final term Paper Fall (2012)
QNo.1 Name of three major frame allocation schemes?
Answer:- (Page 204)
There are three major allocation schemes:
Fixed allocation
Proportional Allocation
Priority allocation
QNo.2 how to protection of files and giving access to be secured in UNIX ?
Answer:- (Page 229)
UNIX recognizes three modes of access: read, write, and execute (r, w, x). The execute permission on a
directory specifies permission to search the directory.
QNo.3 what is lazy analyzer that is use in virtual memory?
Answer:- (Page 186)
When we want to execute a process, we swap it into memory. Rather than swapping the entire process into
memory, however we use a lazy swapper.
QNo.4 Differentiate between Cache and CPU Register ?
Answer:- Click here for detail
CPU register is just a small amount of data storage that facilitates some CPU operations.More CS604 files
- All Subjects Mid & Final 25000 Pdf Files.pdf (PDF · Final-Term)
- CS604 - Final term Solved Subjective with references by Moaa (PDF · Final-Term)
- CS604 - Final term Solved Subjective with references-1.doc (DOC · Final-Term)
- CS604 - FinalTerm Subjectives Solved With References by Moaa (PDF · Final-Term)
- CS604 - Finalterm Solved Mcqs Solved with references by Moaa (PDF · Final-Term)
- CS604 - Finalterm Solved Mcqs Solved with references.pdf (PDF · Final-Term)
- CS604 Current Final Term Papers 2018 To 2020.pdf (PDF · Final-Term)
- CS604 Current Final Term Papers 2022-1.pdf (PDF · Final-Term)