CS604 MidTerm 2013 By Dr. Tariq Hanif (Virtualustaad.blogspot.com).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 Virtual Ustaad) 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
- Type
- Midterm
- Coverage
- Mid-Term Exam Scope (Lectures 1 to 22)
- Compiled by
- Virtual Ustaad
- 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
- 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 CS604 MidTerm 2013 By Dr. Tariq Hanif (Virtualustaad.blogspot.com).pdf for free?
You can preview and download "CS604 MidTerm 2013 By Dr. Tariq Hanif (Virtualustaad.blogspot.com).pdf" (CS604 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs604-midterm-2013-by-dr-tariq-hanif-virtualustaad-blogspot-com-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
Midterm
CS604 Operating Systems 2013
A computer system can be divided roughly into four components:
The software, the operating system, the application programs and the users
The hardware, the operating system, the application programs and the users
The hardware, the operating system, the application programs and the emails
The hardware, the database system, the application programs and the users
2. We use function -------------------to create a thread
fork()
thread() (pg 71)
mkfifo()
open()
3. The priorities of processes in the ----------Group remain fixed whereas the priorities of
processes in the -----------Group are recalculated every second.
Kernel, Kernel
User, Kernel
User, User
Kernel, User (pg 93)
1Command-line interpreter is often known as the --------
register
shell (pg 16)
kernel
1 timer
2. You can display all of the signals supported by your system, along with their numbers, by
using the -----------command
<Ctrl-A>
fg
[Type the company name]
Midterm
CS604 Operating Systems 2013
jobs
kill –l (pg 69)
4. The section of code implementing the request that each process must first request
permission to enter its critical section is called the -------------
Critical Section (CS)
Entry Section (ES) (pg 101)
Leave/Exit Section (LS).
Remainder Section (RS).
5. OS helps manages the following except
Application software
Bus speed of the system
Memory
Virtual memory
6. The critical section problem can be solved by the following except
Software based solution
Firmware based solution (pg 101)
Operating system based solution
Hardware based solution
7. __________ commands in Linux is used to copy file
ls
cp (pg 30)
mv
mkdir
8. In Unix/ Linux, by default the standard input file is attached to the ___________
Mouse
Keyboard (pg 55)
Light pen
Joystick
9. Which one of the following is the correct syntax to copy file1 to file2?
cp file2, file1
cp file1/file2
cp file2 file1
cp file1 file2 (pg 30)
10. Which one of the following indicates end of the file in a read ( ) system call?
-1
0
1
2
11. Which of the following command is used to read data from file named academics?
con < academics
cat < academics (page 58)
2 socket > academics
ran > academics
12. The __________ view is a program that acts as an intermediary between a user of a
computer and the computer hardware, and makes the computer system convenient to use.
Top-down (pg 6)
[Type the company name]
Midterm
CS604 Operating Systems 2013
Bottom-up
External
Internal
13. ________threads are supported directly by the operating system.
Kernel (pg 73)
Functional
Non-functional
User
14. In __________model, there is a kernel thread for every user thread.
One-to-one (pg 74)
Many –to-one
One-to-many
Many-to-many
15. While two processes in execution, only one can be in critical section at a time , this
requirement is named as __________.
Race condition
Mutual exclusion (page 101
Progress
Bounded waiting
16. A binary semaphore________.
has the values one or zero (page 117)
is essential to binary computers
is a deadlock scheme
is a preemption scheme
17. A ------------process produces information that is consumed by a -----------process.
Consumer, Producer
Producer, Consumer (pg 44)
Customer, Purchaser
Merchandiser, Consumer
18. Blocking is considered ___________ and Non-blocking is considered _____________ .
Synchronous , Asynchronous (pg 47)
Synchronous , Asynchronous
Direct , Indirect
Zero capacity , Bounded capacity
19. -------------------- are used by shell commands to pass data from one shell pipeline to
another, without creating temporary files.
Pipes
Message queues
BSD sockets
FIFOs (pg 61)
20. mkfifo() is a (an) ------------------ .
3 System call
Library call (pg 58)
Interrupt
Signal
1 A ----------- is a multi-user, multi-process, and interactive system
[Type the company name]
Midterm
CS604 Operating Systems 2013
Batch systems
Single-user system
Time-sharing systems (pg 9)
Multi programmed systems
2. You can display all of the signals supported by your system, along with their numbers, by
using the -----------command
<Ctrl-A>
fg
jobs
kill –l (pg 69)
CS604 Operating Systems
1. The priorities of processes in the ----------Group remain fixed whereas the priorities of
processes in the -----------Group are recalculated every second.
Kernel, Kernel
User, Kernel
User, User
Kernel, User (pg 93)
2. Preemptive scheme of Short job first scheduling is known as -------
First Come First Serve Scheduling
Priority Scheduling
Round-Robin Scheduling
Shortest-Remaining-Time-First (pg 85)
3. In Linux directory structure, there is ___________ root directory.
1 (pg 26)
2
3
4
4. Linux uses ___________ directory to store system configuration files.
/bin
/dev
/boot
/etc (pg 26)
5. Process synchronization is a process of helping processes to _________________
update the shared data simultaneously
update the shared data and resources in an orderly fashion (g 98)More 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)