CS604 Midterm Solved McQs Papers By Waqar Sidhu.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 compiled by Waqar Siddhu) 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)
Compiled by
Waqar Siddhu
Tags
MCQ, SOLVED, 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 Midterm Solved McQs Papers By Waqar Sidhu.pdf for free?

You can preview and download "CS604 Midterm Solved McQs Papers By Waqar Sidhu.pdf" (CS604 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs604-midterm-solved-mcqs-papers-by-waqar-sidhu-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

                          For More Visit VUStudents.pk

CS604 Midterm Solved McQs Papers By Waqar Sidhu
                     (File 1)
Question No 1
1MB or 1 megabyte is equivalent to

Select Correct Option
    ✓ 1024 bytes
    ✓ 10242 bytes
    ✓ 10243 bytes
    ✓ 1000000 bytes………(For More Visit VUStudents.pk)

Question NO 2
A ----------- system collects physically separate, possibly heterogeneous, systems into a single
coherent system, providing the user with access to the various resources that the system
maintains.

Select Correct Option
    ✓ Distributed………(For More Visit VUStudents.pk)
    ✓ Real-time
    ✓ Single user
    ✓ Time-sharing

Question NO 3
----------------- has a hierarchical file system structure.

Select Correct Option
    ✓ DOS
    ✓ Windows
    ✓ UNIX………(For More Visit VUStudents.pk)
    ✓ None of the given options

Question NO 4
Round-Robin Scheduling is a ---------------- scheduling algorithm

Select Correct Option
    ✓ Preemptive………(For More Visit VUStudents.pk)
    ✓ Non-preemptive
    ✓ Preemptive or non-preemptive
    ✓ None of the given options

                          For More Visit VUStudents.pk

                        For More Visit VUStudents.pk
Question NO 5
A piece of code in a cooperating process in which the process may update shared data is called --
------------.

Select Correct Option
    ✓ Buffer
    ✓ Critical section………(For More Visit VUStudents.pk)
    ✓ Semaphore
    ✓ None of the given options

Question NO 6
The Swap instruction which is the hardware to synchronization problem does not satisfy the
_________ condition, hence not consider to be a good solution.

Select Correct Option
    ✓ Progress
    ✓ Bounded waiting………(For More Visit VUStudents.pk)
    ✓ Mutual exclusion
    ✓ None of the given

Question NO 7
A ____________ is a piece of code in a cooperating process in which the process may
updates shared data (variable, file, database, etc.).

Select Correct Option
    ✓ Critical section………(For More Visit VUStudents.pk)
    ✓ Critical region
    ✓ Monitor
    ✓ All of the given are correct

Question NO 8
Semaphore is a _________ solution to the synchronization problems.
Select Correct Option
    ✓ Operating system………(For More Visit VUStudents.pk)
    ✓ Software
    ✓ None of the given
    ✓ Hardware

Question NO 9
In Unix/Linux, by default the standard input file is attached to the __________.
Select Correct Option
    ✓ Mouse
    ✓ Keyboard………(For More Visit VUStudents.pk)
    ✓ Light pen
    ✓ Joystick

                        For More Visit VUStudents.pk

                        For More Visit VUStudents.pk
Question NO 10
The --------------------- are used for communication between related or unrelated processes on the
same system or unrelated processes on different systems.

Select Correct Option
    ✓ None of the given
    ✓ SSD socket
    ✓ DSD socket
    ✓ BSD sockets………(For More Visit VUStudents.pk)

Question NO 11
The files which are automatically opened by the kernel for every process for the process to read
its input from and send its output and error messages are called…………………..,

Select Correct Option
    ✓ None of the given
    ✓ Standard File descriptors
    ✓ File descriptors
    ✓ Standard files………(For More Visit VUStudents.pk)

Question NO 12
Bounded Buffer is a buffer of _________ size.

Select Correct Option
    ✓ Variable
    ✓ Fixed………(For More Visit VUStudents.pk)
    ✓ Both
    ✓ None of the given

Question NO 13
The goal of single user operating system is

Select Correct Option
    ✓ To maximize utilization of CPU
    ✓ To maximize the user responsiveness
    ✓ To maximize of peripheral devices………(For More Visit VUStudents.pk)
    ✓ To maximize throughput

Question NO 14
Which type of operating system guarantees that critical takes must be completed on time?
Select Correct Option
    ✓ Timesharing system
    ✓ Multitasking system
    ✓ Batch system
    ✓ Realtime system………(For More Visit VUStudents.pk)

                        For More Visit VUStudents.pk

                        For More Visit VUStudents.pk
Question NO 15
Which of the following command is used to read data from file named academics?

Select Correct Option
    ✓ con < academics
    ✓ cat < academics………(For More Visit VUStudents.pk)
    ✓ socket > academics
    ✓ ran > academics

Question NO 16
_______ command puts a foreground process into background.

Select Correct Option
    ✓ fg
    ✓ bg………(For More Visit VUStudents.pk)
    ✓ Ctrl z
    ✓ None of the given

Question NO 17

Given the Gantt chart, which one of the following is average waiting time.

Select Correct Option
    ✓ 35.66
    ✓ 1.33………(For More Visit VUStudents.pk)
    ✓ 34.66
    ✓ 2.33

Question NO 18
_______ is solution to the problem of indefinite blockage of low-priority processes.
Select Correct Option
    ✓ Aging………(For More Visit VUStudents.pk)
    ✓ Starvation
    ✓ Deadlock
    ✓ None of the given

Question NO 19
The part of machine level instruction, which tells the central processor what has to be done, is
Select Correct Option
    ✓ Address
    ✓ Locator
    ✓ Flip-Flop
    ✓ Operation code………(For More Visit VUStudents.pk)

                        For More Visit VUStudents.pk

                        For More Visit VUStudents.pk
Question NO 20
Which of the following is false?

Select Correct Option
    ✓ Two different critical sections may be executed concurrently if they do not use the same
       shared variables
    ✓ Programs with critical sections can never be used simultaneously by more than one
       process
    ✓ None of the given
    ✓ A process waiting to enter a critical section currently in use must wait for the process
       utilizing the critical section to terminate.

                                           (File 2)
Question No 1

More CS604 files

All CS604 files · Midterm Prep 2026 · MCQs Bank