CS604MIDTERMSOLVEDMCQSWITHREFERENCES - Copy.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

  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 CS604MIDTERMSOLVEDMCQSWITHREFERENCES - Copy.doc for free?

You can preview and download "CS604MIDTERMSOLVEDMCQSWITHREFERENCES - Copy.doc" (CS604 DOC, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs604midtermsolvedmcqswithreferences-copy-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

Mid Term from Feb-2005 to Nov 2012

1-The problem with priority scheduling algorithm is  	.

	Deadlock
	Starvation 	(Page# 84)
	Aging
	Nice value

2- 	 is the basis of queuing theory which is branch of mathematics used to analyze systems involving queues and servers.

	L ittle’s  For mu la 	(Page# 94)
	Deterministic Modeling
	Queuing Theory
	Queuing analysis

3- 	 scheduling allows a process to move between queues.

	Round Robin
	First Come First Serve
	Multilevel Feedback Queue   (Page# 90)
	Shortest Remaining Time First

4-Batch programs are usually
programs.


Interactive


Non-interactive    (Page# 89)


Foreground


Preemptive

5-First  		 entries in Per Process File Descriptor Table are used as soon as the process is	created.
	1
	2
	3
	4 	(Page# 51 )

6- Round Robin algorithm is most suitable for  	.

	Time sharing system 	(Page # 86)
	Real time systems and batch systems

1
	Running Batch programs
	Expert system

7-The scheduling of  	is done by the operating system.

	Kernel threads 	(Page # 71)
	User level threads
	Both Kernel and User Level thread
	None of the give option

8- 	 is used in real time operating systems.

	Non-preemptive scheduling   not sure
	Preemptive scheduling
	Dispatching scheduling
	FCFS scheduling

9-If your processor does not have two slots empty in Per Process File Descriptor Table, then your  	 system call will fail.

	Pipe 	(Page# 52)
	Read
	Write
	Open

10-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
.

	Non-preemptive Shortest Job First scheduling.
	Preemptive Shortest Job First scheduling.   Not sure
	FCFS
	RR Scheduling

11-The nice value helps in assigning
to a process.

	Priority 	(Page# 92)
	Weight
	Time
	Scheduling

12-All Threads within a process share the  	 address space.
	Same
	Different    (Page# 68)

13-In Unix/ Linux, by default the standard output file is detached to the

2
	File
	Screen 	(Page#  55)
	Printer
	Scanner

14- 	 integer shows the highest priority of a process in CPU scheduling

	Small 	(Page# 84)
	Large

15-If your processor does not have two slots empty in Per Process File Descriptor Table, then your  	 system call will fail.

	Pipe 	(Page# 52)
	Read
	Write
	Open
16- 	 scheduling allows a process to move between queues.

17-

	ls
	cs
displays information about the top processes.
	top	(Page#  64)
	cd

18-The priorities of processes in the
_ group remain fixed.

	Kernel 	(Page# 91)
	User

19-The correct command for compiling C program named program.c in Linux environment is

	gcc program.c –o FirstPrgram  (Page# 28)
	gcc –o FirstProgram program.c
	gcc –z FirstProgram program.c
	gcc program.c –m FirstPrgram

20-First  	 entries in Per Process File Descriptor Table are used as soon as the process is created.
	1

3
	2
	3
	4 	(Page# 51)
21- 	 displays information about the top processes.
	ls
	cs
	top 	(Page#  64)
	cd

22-The process id returned to the child process after successful fork system call execution is

	0 	(Page# 36)
	1
	2
	3

23-POSIX is a standard developed by


ANSI


IEEE


API
(Page# 73)

ACM

24-The nice value helps in assigning
to a process.

	Priority	(Page# 92)
	Weight
	Time
	Scheduling

25-The correct command for compiling C program named program.c in Linux environment is

	gcc program.c –o FirstPrgram  (Page# 28)
	gcc –o FirstProgram program.c
	gcc –z FirstProgram program.c
	gcc program.c –m FirstPrgram

26-The priority of a process can be changed using  	 command.

	nice   (Page# 91)
	cmd
	cat
	grep

4

27-The manual pages can be read in Linux using  	 command.

   Man 	(Page# 59)
   wan
   desc
   help

28- 	 integer shows the highest priority of a process in CPU scheduling

   Small  (Page# 84)
   Large

29-The scheduling of  	 are done by the operating system.

   User level threads
	Both Kernel and User Level thread
	None of the give option
	Kernel level threads 	(Page# 71)

30- 	 is a preemptive scheduling algorithm.

	First Come First Serve
	Shortest Job First
	Round Robin  (Page#  86)
	None of these

31-Round Robin algorithm is most suitable for  	.

	Time sharing system	(Page# 86)
	Real time systems and batch systems
	Running Batch programs
	Expert system

32-
command display the status of a process.
	ls
	ps 	(Page# 63)
	gcc
	cat

33-First  	 entries in Per Process File Descriptor Table are used as soon as the process is created.

5
	4 	(Page# 51 )

34-The nice value helps in assigning  	 to a process.
	Priority 	(Page# 92)
	Weight
	Time
	Scheduling

35-The correct command for compiling C program named program.c in Linux environment is

	gcc program.c –o FirstPrgram 	(Page# 28)
	gcc –o FirstProgram program.c
	gcc –z FirstProgram program.c
	gcc program.c –m FirstPrgram

36- 	 is used in real time operating systems.

	Non-preemptive scheduling   not sure
	Preemptive scheduling
	Dispatching scheduling
	FCFS scheduling

37-
system call is used to write to a file or FIFO or any other IPC channel.

   read
   write	(Page# 45)
   open
   fork

38-All Threads within a process share the  	 address space.

   Same
	Different   (Page# 68)

39- The scheduling of  	 are done by the operating system.

   Kernel threads 	(Page# 71)
   User level threads
   Both Kernel and User Level thread
   None of the give option

40- Kernel threads are supported directly by the operating system. The kernel performs the scheduling, creation, and management in ------ command display the status of a process.
   ls

6
   ps 	(Page# 63)
   gcc
   cat

41- First  	 entries in Per Process File Descriptor Table are used as soon as the process is created.

More CS604 files

All CS604 files · Midterm Prep 2026 · MCQs Bank