CS604 Mid Term By JUANID.pdf

Verified academic study resource for CS604 (Operating Systems) under the Computer Science at Virtual University of Pakistan. This PDF document (Midterm Solved Past Paper & Revision File) covers Mid-Term Exam Scope (Lectures 1 to 22) spanning approximately 240 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
PDF
Type
Midterm
Coverage
Mid-Term Exam Scope (Lectures 1 to 22)
Tags
MIDTERM

Focus on core definitions and repeated MCQs from Lectures 1–22. Remember that scoring in the First Half builds your safety buffer toward the mandatory 20% Two-Half passing rule in CS604.

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)

Frequently asked questions

Where can I download CS604 Mid Term By JUANID.pdf for free?

You can preview and download "CS604 Mid Term By JUANID.pdf" (CS604 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs604-mid-term-by-juanid-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 Mid-Term Exam Scope (Lectures 1 to 22) across 4 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22), 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

 AL-JUNAID INSTITUTE OF GROUP
       1.   When a process has undivided access to a shared piece of code
            than no other process can execute code, this state is called .
                Race condition
                Progress
                Mutual exclusion                   Page 98
                Bounded waiting

       2.   Critical section is a place where certain shared structure is
            updated. Its solution required certain precaution: one of them
            is the access to critical section by one process at a time only.
            What this condition is termed as?
                 Progress
                 Entry section
                 Mutual exclusion                     Page 97

               Bounded waiting
       3. Which of the following is not a major advantage of multiprogramming
          system is
              More than one jobs can be processed at a given time
              CPU utilization can be increases
              Jobs can be completed quickly
                If more process can exist, the rest must wait until the
                CPU is free and can be rescheduled page 31
 4. We can suspend a foreground process by pressing         which
    sends a STOP/SUSPEND signal to the process.
        Ctrl-w
        Ctrl-x
        Ctrl-y
       Ctrl-z                      pg#65
 5.         command in LINUX is used to copy file.
        ls
        cp                              pg#27

0304-1659294                                                                   1

   AL-JUNAID INSTITUTE OF GROUP
            mv
            mkdir

    6.   System calls provide the interface between a _ and the Operating System.
            User
            Machine
            Process                              pg#15
            Kernel

    7.  In critical section problem      requirement illustrates that, “If no process is
        executing in its critical section and some processes wish to enter their
        critical sections, then only those processes that are not executing in their
        remainder section can participate in the decision on which will enter its
        critical section next, and this selection cannot be postponed indefinitely. ”
             Mutual exclusion
            Progress                              pg#98
             Bounded waiting
             Slow execution
             8. Batch programs are usually _________ programs.
                    Interactive
                   • Non-interactive My Point of View
                   • Foreground
                   • Preemptive
9. You can use the mv file1 file2 command to move_________
      • File1 to file 2 (Page 27)
      • File 2to file 1
      • This command will not work for moving files
       • None of the option correct
10. The___________ defines an operating system as a bridge between computer user
and hardware for a user’s convenience.
• System-view
 • Bottom-up view
• Top-down view ( page 03)
 • Layered-view

  0304-1659294                                                                      2

 AL-JUNAID INSTITUTE OF GROUP
 11. The section of code before the critical section is called   .
                  o Entry section (Page 97)
                  o Remainder section
           Exit section
           Crystal section           AL-JUNAID INSTITUTE OF GROUP
 12.          are used by shell commands to pass data from one shell
    pipeline to another, without creating temporary files.
        Pipes
        Message queues
        BSD sockets
        FIFOs                     (Page 58)
 13. system call is used to create a child process.
             Fork                     ( page 48)
          Parent
          
        Child
        None of them
 13. The problem with priority scheduling algorithm is      .
        Deadlock

             Starvation                   (page 83)
          Aging
         Nice value
 14. The basic purpose of   is to help the users to utilize the hardware
     resources for completing different task in a simplified manner.
                o Operating system       ( page 01)
         Application software
         All software
         All of the given

 15. If your processor does not have two slots empty in Pre Process file
       Descriptor Table, then your system call will fail.
         Pipe                         (page 52)

0304-1659294                                                               3

 AL-JUNAID INSTITUTE OF GROUP
         Read
        Write
        Open
 16. Which of the following are TRUE for direct communication?
        A communication link can be associated with N number of
          process(N=maximum number of processes supported by system)
        A communication link can be associated with exactly two processes (pg 44)
        Exactly N/2 links exist between each pair of
          processes(N=maximum number of processes supported by
          system)
        Exactly two links exist between each pair of processes

 17. POSIX is a standard develop by          .
           ANSI
        IEEE                     My Point of View
         ISO
         ACM
 18. Keeping in mind scheduling algorithm, when you go to any famous fast
     food franchise. On entering the store, each customer receive a number.
     The customer with a lowest number is served next. This algorithm is
     called                                         .
          Dijkstra’s algorithm
          Simple algorithm
          Deadlock algorithm AL-JUNAID INSTITUTE OF GROUP

           Bakery algorithm                         ( page 102)

 19. Which scheduling algorithm allocates the CPU first to the process that
    request the CPU first?
           First come First served scheduling           (page 80)
        Shortest job scheduling
        Priority scheduling

More CS604 files

All CS604 files · Midterm Prep 2026 · MCQs Bank