CS604_Quiz_1_by_Arsal_Shani_&_Aina_Malik_(MCS_FAMILY_GROUP).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
PDF
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

  1. Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
  2. Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
  3. Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
  4. Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
  5. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  6. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  7. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  8. 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_Quiz_1_by_Arsal_Shani_&_Aina_Malik_(MCS_FAMILY_GROUP).pdf for free?

You can preview and download "CS604_Quiz_1_by_Arsal_Shani_&_Aina_Malik_(MCS_FAMILY_GROUP).pdf" (CS604 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs604-quiz-1-by-arsal-shani-aina-malik-mcs-family-group-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

                 CS604 Operating System
                QUIZ No 01 SPRING 2021
              MCS FAMILY GROUP TEAM
      BY: ARSAL SHANI & AINA MALIK & Family Team

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

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

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

More CS604 files

All CS604 files · Midterm Prep 2026 · MCQs Bank