CS604 MCQs by Faisal.pdf

Verified academic study resource for CS604 (Operating Systems) under the Computer Science at Virtual University of Pakistan. This PDF document (Mega Solved MCQs Question Bank) covers Full Course Curriculum spanning approximately 180 pages across 8 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
MCQ Bank
Coverage
Full Course Curriculum
Tags
MCQ

Cross-verify solutions against official lecture handouts. Practice active recall before checking answers to ensure true concept retention.

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)
  5. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  6. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  7. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  8. Final-Term Examination Dossier & Capstone Synthesis — Lectures 42 to 45 (Pages 511 to 585). Final-Term Exam Synthesis (Lectures 23–45 Scope)

Frequently asked questions

Where can I download CS604 MCQs by Faisal.pdf for free?

You can preview and download "CS604 MCQs by Faisal.pdf" (CS604 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs604-mcqs-by-faisal-pdf-2) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this CS604 file?

This document covers Full Course Curriculum across 8 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22, Lectures 23 to 29, Lectures 30 to 36, Lectures 37 to 41, Lectures 42 to 45), 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

        MUHAMMAD FAISAL 
                          MIT 4th Semester
        Al-Barq Campus (VGJW01) Gujranwala
               faisalgrw123@gmail.com
       Solved Reference MCQ’s For Final TERM EXAMS
             CS604- OPERATING SYSTEMS

Question No: 1 ( Marks: 1 ) - Please choose one
__________ commands in Linux is used to copy file.

       Is
       cp    (Page#27)
       mv
       mkdir

Question No: 2 ( Marks: 1 ) - Please choose one
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
       Bottom of Form
       Top of Form

Question No: 3 ( Marks: 1 ) - Please choose one
__________ scheduler selects the process from the job pool and put them in main
memory.

      Long term   (Page#33)
      Short term
      Medium term
      Swapper

Question No: 4 ( Marks: 1 ) - Please choose one
The process id returned to the child process after successful fork system call execution is
______.

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

Question No: 5 ( Marks: 1 ) - Please choose one
__________ displays information about the top processes.

      ls
      cs
      top     (Page#64)
      cd

Question No: 6 ( Marks: 1 ) - Please choose one
Using _________system, we can create a new process in Linux.

      fork     (Page#36)
      exec
      wait
      exit

Question No: 7 ( Marks: 1 ) - Please choose one
_________ commands in Linux helps to create a new directory.

      ls
      cp
      mv
      mkdir     (Page#26)

Question No: 8 ( Marks: 1 ) - Please choose one
Cooperating processes never share any data, code, memory or state.

      True
      False     (Page#41)

Question No: 9 ( Marks: 1 ) - Please choose one
The manual pages can be read in Linux using ____ command.

      man      (Page#04)
      wan
      desc
      help

Question No: 10 ( Marks: 1 ) - Please choose one
In Unix/ Linux, by default the standard input file is attached to the ___________

      Mouse
      Keyboard      (Page#52)
      Light pen
      Joystick

Note:
Standard input: 0 (keyboard)
Standard output: 1 (display screen)
Standard error: 2 (display screen)

Question No: 11 ( Marks: 1 ) - Please choose one
Shared libraries and kernel modules are stored in _____________ directory.

      /bin
      /dev
      /boot
      /lib  (Page#23)

Question No: 12 ( Marks: 1 ) - Please choose one
Swapper is also termed as Short term scheduler.

      True
      False    (Page#34)       (Medium term = Swapper)

Question No: 13 ( Marks: 1 ) - Please choose one
You can use the mv file1 file2 command to move ____________.

      file1 to file2.  (Page#27)
      file 2 to file 1
      this command will not work for moving files
      None of the option is correct.

Question No: 14 ( Marks: 1 ) - Please choose one
__________ is also called Swapper.

      Long term
      Short term
      Medium term       (Page#34)
      Swap space

Question No: 15 ( Marks: 1 ) - Please choose one
________ system call is used to write to a file or FIFO or any other IPC channel.

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

Question No: 16 ( Marks: 1 ) - Please choose one
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

The pipe() system call fails for many reasons, including the following:
1) At least two slots are not empty in the PPFDT 2) too many files or pipes are open in the process
3) Buffer space not available in the kernel          4) File table is full

Question No: 17 ( Marks: 1 ) - Please choose one
The Operating system is a layer of software between _________ and ___________.

       Hardware, software application (Page#21)
       Kernel, hardware
       Dos, Windows
       Windows, Kernel

Question No: 18 ( Marks: 1 ) - Please choose one
Command-line interpreter is also called __________ in some operating systems.

       Kernel
       Shell  (Page#13)
       Signal
       API

Question No: 19 ( Marks: 1 ) - Please choose one
I/O instructions are Privileged Instructions.

       True    (Page#08)
       False

Question No: 20 ( Marks: 1 ) - Please choose one
In Linux directory structure, there is ___________ root directory.

       1    (Page#22)
       2
       3
       4

Question No: 21 ( Marks: 1 ) - Please choose one
Utilities used for system administration (halt, ifconfig, fdisk, etc.) are stored in
_________directory.

       /dev
       /boot
       /lib
       /sbin    (Page#24)

Question No: 22 ( Marks: 1 ) - Please choose one
rm and rmkdir commands are used to _____________ directory.

   1) Create
   2) Move
   3) Remove       (Page#27)
   4) Modify

Question No: 23 ( Marks: 1 ) - Please choose one
In ________ communication the process which wants to communicate with the other
process must explicitly name the recipient and the sender.

   1) Direct    (Page#43)
   2) Indirect
   3) Automatic
   4) Self

Question No: 24 ( Marks: 1 ) - Please choose one
In indirect inter process communication, a sender ________ mention the name of the
recipient.

    does
    does not       (Page#43)

Question No: 25 ( Marks: 1 ) - Please choose one
The returned code to the child process after successful fork system call execution is:

    1
    2
    3
    0        (Page#32)

Question No: 26 ( Marks: 1 ) - Please choose one
If the fork system call fails, it returns:

    1
    -1       (Page#32)
    2
    0

Question No: 27 ( Marks: 1 ) - Please choose one
The problem with priority scheduling algorithm is ________.

   1) Deadlock
   2) Starvation      (Page#84)
   3) Aging
   4) Nice value

More CS604 files

All CS604 files · Midterm Prep 2026 · MCQs Bank