CS604SolvedMCQSMidTerm.doc
Verified academic study resource for CS604 (Operating Systems) under the Computer Science at Virtual University of Pakistan. This DOC 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
- DOC
- Type
- Midterm
- Coverage
- Mid-Term Exam Scope (Lectures 1 to 22)
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
- 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)
Frequently asked questions
Where can I download CS604SolvedMCQSMidTerm.doc for free?
You can preview and download "CS604SolvedMCQSMidTerm.doc" (CS604 DOC, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs604solvedmcqsmidterm-doc) 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
Best of Luck:
__________ integer shows the highest priority of a process in CPU scheduling.
1. small
2. Large
The process of switching from one process to another is called latency.
1. True
2. False
Batch programs are usually __________ programs.
1. interactive
2. Non-interactive
3. Fore ground
4. Preemptive
___________ is used in real time operating systems.
1. Non-preemptive scheduling
2. Preemptive scheduling
3. Dispatching scheduling
4. FCFS scheduling
The procedure “The time at which the process finished working MINUS the arrival time of the process MINUS CPU burst for that process” will help calculate the _________.
1. Non-preemptive Shortest Job First scheduling
2. Preemptive Shortest Job First scheduling.
3. FCFS
4. RR Scheduling
The priorities of processes in the __________ group remain fixed.
1. Kernel
2. User
First _______ entries in Per Process File Descriptor Table are used as soon as the process is created.
• 1
• 2
• 3
• 4
_____________ is a preemptive scheduling algorithm.
1. First Come First Serve
2. Shortest Job First
3. Round Robin
4. None of these
_______________ scheduling algorithm can be preemptive or non-preemptive.
1. First Come First Serve
2. Shortest Job First
3. Round Robin
4. Priority
Cooperating processes never share any data, code, memory or state.
1. True
2. False
When process opens its first file explicitly it will get descriptor number _________
• 1
• 2
• 3
• 4
Taking the CPU from one process and giving the CPU to another process is termed as
1. Context switching
2. Dispatching
3. Swapping
4. Tracking
The correct command for compiling C program named program.c in Linux environment is
1. gcc program.c –o FirstPrgram
2. gcc –o FirstProgram program.c
3. gcc –z FirstProgram program.c
4. gcc program.c –m FirstPrgram
All Threads within a process share the _________ address space.
Select correct option:
Same
Different
The scheduling of _____________ are done by the operating system.
Select correct option:
Kernel threads
User level threads
Both Kernel and User Level thread
None of the give option
Kernel threads are supported directly by the operating system. The kernel performs the scheduling, creation, and management in —— Command displays the status of a process.
Select correct option:
ls
ps
gcc
cat
In Unix/ Linux, by default the standard output file is attached to the ___________
Select correct option:
1. File
2. Screen
3. Printer
4. Scanner
The priority of a process can be changed using __________ command.
Select correct option:
1. nice
2. cmd
3. cat
4. grep
———displays information about the top processes.
Select correct option:
ls
cs
top
cd
___________ is the basis of queuing theory which is branch of mathematics used to analyze systems involving queues and servers.
1. Little’s Formula
2. Deterministic Modeling
3. Queuing Theory
4. Queuing analysis
The process id returned to the child process after successful fork system call execution is ______.
• 0
• 1
• 2
• 3
The nice value helps in assigning ______ to a process.
Select correct option:
Priority
Weight
Time
Scheduling
Round Robin algorithm is similar to _____________ scheduling but preemption is added to switch between processes.
Select correct option:
Shortest Job First
Shortest Remaining Time First
First Come First Serve
None of these
Question # 5 of 10 ( Start time: 12:05:08 PM ) Total Marks: 1
The scheduling of _____________ are done by the operating system.
Select correct option:
Kernel threads
User level threads
Both Kernel and User Level thread
None of the give option
In Unix/ Linux, by default the standard input file is attached to the ___________
Select correct option:
Mouse
Keyboard
Light pen
Joystick
A major problem with priority scheduling algorithms is _________________.
Select correct option:
Deadlock
Aging
Starvation
None of these
A solution to the critical section problem must satisfy the following three requirements: Mutual Exclusion
Progress
Bounded Waiting
Question # 9 of 10 ( Start time: 12:06:28 PM ) Total Marks: 1
________ scheduling algorithm is sometimes called shortest remaining time first scheduling algorithm.
Select correct option:
Non-preemptive SJF
Priority Scheduling
Preemptive Shortest Job First
FCFS
In Unix/ Linux, by default the standard output file is attached to the ___________
Select correct option:
1. File
2. Screen
3. Printer
4. Scanner
When process opens its first file explicitly it will get descriptor number _________
• 1
• 2
• 3
• 4
Round Robin algorithm is most suitable for __________.
Time sharing system
Real time systems and batch systems
Running Batch programs
Expert system
If your processor does not have two slots empty in Per Process File Descriptor Table, then your _________ system call will fail.
1. Pipe
2. Read
3. Write
4. Open
POSIX is a standard developed by ___________
Select correct option:
1. ANSI
2. IEEE
3. ISO
4. ACM
___________ is a solution to the problem of indefinite blockage of low-priority processes.
1. Starvation
2. Deadlock
3. Aging
4. None of the these
_____ system call is used to write to a file or FIFO or any other IPC channel.
1. read
2. write
3. open
4. fork
_________________ scheduling allows a process to move between queues.
1. Round Robin
2. First Come First Serve
3. Multilevel Feedback Queue
4. Shortest Remaining Time First
Question1 ( Marks: 1 ) – Please choose one
The hardware mechanism that enables a device to notify CPU is called an ————-
► Interrupt
► Signal
► Trap
► Process
Question2 ( Marks: 1 ) – Please choose oneMore CS604 files
- CS604 - Midterm Exam Questions.pdf (PDF · Midterm)
- CS604 - Midterm Solved Mcqs with references by Moaaz(0).pdf (PDF · Midterm)
- CS604 - Midterm Solved Mcqs with references by Moaaz.pdf (PDF · Midterm)
- CS604 - Midterm Solved Mcqs with references by Moaaz.pdf (PDF · Midterm)
- CS604 - Midterm Solved Mcqs with references by Moaaz.pdf (PDF · Midterm)
- CS604 - Midterm Solved Subjective with references by Moaaz ( (PDF · Midterm)
- CS604 - Midterm Solved Subjective with references by Moaaz.p (PDF · Midterm)
- CS604 - Midterm Solved Subjective with references by Moaaz.p (PDF · Midterm)