cs604_1st_quiz.pdf
Verified academic study resource for CS604 (Operating Systems) under the Computer Science at Virtual University of Pakistan. This PDF document (Live Quiz Dumps & Solved Objective Bank) covers Quizzes & Objective Exam Scope spanning approximately 180 pages across 8 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
- Study Resource
- Coverage
- Quizzes & Objective Exam Scope
Quiz questions often repeat with modified parameter values in both Midterm and Final exams. Practice with our 45-second timed simulator to master exam pacing.
What this file covers — CS604 syllabus roadmap
- Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
- Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
- Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
- Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
- 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 cs604_1st_quiz.pdf for free?
You can preview and download "cs604_1st_quiz.pdf" (CS604 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs604-1st-quiz-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 Quizzes & Objective Exam Scope across 8 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22, 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
1. A state is _________ if the system can allocate resources for each process in some order and still avoid a
deadlock.
• None
• Unsafe
• Starvation
• Safe pg#134
2. ___________ algorithm is used in Deadlock avoidance.
• Bakery
• Mutual exclusion
• Banker’s Google
• Safe sequence
3. Typically monitor, a high level synchronization tool is characterized by ___________ and ________.
• Single, wait
• Global variable, local variable
• Local data, programmer defined operator pg#122
• Local variables, semaphores
4. The integer value of ___________ semaphores can not be greater than 1.
• Bounded buffer
• Binary pg#114
• Counting
• Mutex
5. Banker’s algorithm is used for ______________.
• Deadlock removal
• Deadlock avoidance Google
• Deadlock detection
• Deadlock prevention
6. Possible side effects of ___________ deadlocks are low device utilization and reduced system
throughput.
• Ignoring
• Preventing Google
• Recovering
• Avoiding
7. Preventing the condition of __________ to happen, deadlocks can be prevented to happen.
• Critical section
• Monitors
• Critical region
• Circular wait pg#134
8. The process of holding at least one resource and waiting to acquire additional resources that are
currently being held by other processes is known as __________.
• Hold and wait pg#128
• Circular wait
• No preemption
• Mutual exclusion
9. The ________________________ requires that once a writer is ready, that writer performs its write
as soon as possible. In other words, if a writer is waiting to access the object, no new readers may
start reading.
• third readers-writers problem
• fourth readers-writers problem
• first readers-writers problem
• second readers-writers problem pg#116
10. Binary semaphore whose integer value cannot be can be _________ simpler to implement.
• <=1
• >=1
• <1
• >1 pg#114
11. The condition where a set of blocked processes each holding a resource and waiting to acquire a
resource held by another process in the set, is termed as ____________.
• Deadlock pg#127
• Starvation
12. Following is not the classical problem of synchronization.
• Reader writer problem
• Dining philosophers problem
• Counting semaphore problem pg#115
• Bounded buffer problem
13. The integer value of ____________semaphores can range over an unrestricted integer domain.
• Mutex
• Counting pg#114
• Bounded buffer
• Binary
14. The __________ scheme is not applicable to a resource allocation system with multiple instances of
each resource type.
• None of the given options
• Wait for graph pg#145
• Resource allocation graph
• Both resource-allocation and wait-for graph
15. A dashed line is used to represent a ____________ in Resource Allocation Graph.
• Assignment edge
• Claim edge pg#135
• Allocation edge
• Request edge
16. __________________ is an integer variable accessible through wait and signal which are atomic
operations.
• Signal
• Semaphore pg#108
• Busy waiting
• Mutex
17. __________________ is an integer variable accessible through wait and signal which are atomic
operations.
• Signal
• Semaphore page 108
• Busy waiting
• Mutex
18. Removing the possibility of deadlock in dining philosopher problem does not ensure the
___________ problem will not occur.
• Starvation page 120
• Mutual Exclusion
• Critical Section
• Bounded Buffer
19. Which of the following is correct definition for wait operation?
• Wait(S) {
S--;
}
• Wait(S) { page 108
While(S<=0)
; // no op
• Wait(S) {
S++;
}
• Wait(S) {
While(S>=0)
; // no op
20. In deadlock detection and recovery algorithm, a deadlock exists in the system if and only if the wait
for graph contains a ____________.
• Edge
• Cycle page 144
• Graph
• Node
KUBRA FILE
21. Deadlock______ provides a set of methods for setting that at least one of the necessary conditions
cannot hold.
. prevention page 132
. Avoidance
. Handling
. Recovery
22. In Resource Allocation Graph, a_____ Pi ----> Rj indicates that process Pi may request resource Rj at
some time in the future
. claim edge page 135
. assignment edge
. allocation edge
. request edge
23. Deadlock can be deal with ____________ ways.
• 4
• 6
• 3 page 132
• 2
SHUMAILA
24. In order to remove the problem like busy waiting, some high level synchronization constructs are
defined. What are they?
●Critical regions and Semaphores
●Critical regions and monitors page 113
25. The condition in witch a set {P0, P1... Pn} of waiting processes must exist such that P0 is waiting for a
resource that is held by P1, P1 is waiting for a resource that is held by P2, and so on, Pn-1 is waiting
for a resource held by Pn.
and Pn is waiting for a resource held P0. This condition is known as ______.
●Mutual exclusion
●Circular wait page 128
●No preemption
●Hold and wait
26. Deadlock detection and recovery technique is exactly similar to deadlock avoidance technique to
handle deadlock in the systemMore CS604 files
- CS604 (Lec 19 - 45) Highlighted handots by Masters .pdf (PDF · Study Resource)
- CS604 - 1.pdf (PDF · Study Resource)
- CS604 - 2.pdf (PDF · Study Resource)
- CS604 - 3.pdf (PDF · Study Resource)
- CS604 - 4.pdf (PDF · Study Resource)
- CS604 By SOBAN.docx.pdf (PDF · Study Resource)
- CS604 SOLUTION 1 By JUNAID.docx (DOC · Study Resource)
- CS604_Highlights_handouts_vuanswer.com.pdf (PDF · Study Resource)