Skip to content
VUBuddy

CS604 Midterm Solved MCQs Set 2 by Junaid

Operating Systems PDF 1.5 MBUpdated 23 Oct 2026
Midterm past paper CS604 Midterm Solved MCQs Set 2 by Junaid PDF 1.5 MB
vubuddy.com
Type
Midterm past paper
Course
CS604 Operating Systems
Size
PDF 1.5 MB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 1.5 MB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 2, 3, 4 of 43. Download the file for all 43 pages.

  1. When a process has undivided access to a shared piece of code than no other process can execute code, this state is called .  Race condition  Progress

Q2. Critical section is a place where certain shared structure is updated. Its solution required certain precaution: one of them is the access to critical section by one process at a time only. What this condition is termed as?

 Progress  Entry section

  1. Which of the following is not a major advantage of multiprogramming system is  More than one jobs can be processed at a given time  CPU utilization can be increases  Jobs can be completed quickly If more process can exist, the rest must wait until the CPU is free and can be rescheduled
  2. We can suspend a foreground process by pressing which

sends a STOP/SUSPEND signal to the process.

  •  Ctrl-w
  •  Ctrl-x
  •  Ctrl-y

Ctrl-z pg#65 5. command in LINUX is used to copy file.

  •  ls
  •  cp pg#27
  •  mv
  •  mkdir
  1. System calls provide the interface between a _ and the Operating System.
  •  User
  •  Machine
  •  Process pg#15
  •  Kernel
  1. In critical section problem requirement illustrates that, “If no process is executing in its critical section and some processes wish to enter their critical sections, then only those processes that are not executing in their remainder section can participate in the decision on which will enter its critical section next, and this selection cannot be postponed indefinitely. ”

Progress pg#98

  •  Slow execution
  1. Batch programs are usually _________ programs.  Interactive • Non-interactive My Point of View • Foreground
  2. You can use the mv file1 file2 command to move_________
  • File1 to file 2 (Page 27)
  • File 2to file 1
  • This command will not work for moving files
  • None of the option correct
  1. The___________ defines an operating system as a bridge between computer user and hardware for a user’s convenience.
  • System-view
  • Bottom-up view
  • Top-down view ( page 03)
  • Layered-view
  1. The section of code before the critical section is called

o Entry section (Page 97)

o Remainder section

  •  Exit section
  •  Crystal section

12. are used by shell commands to pass data from one shell pipeline to another, without creating temporary files.

  •  Pipes
  •  Message queues
  •  BSD sockets

 FIFOs

(Page 58)

  1. system call is used to create a child process.
  •  Parent
  •  Child
  •  None of them
  1. The problem with priority scheduling algorithm is
  •  Deadlock
  •  Aging
  1. The basic purpose of is to help the users to utilize the hardware resources for completing different task in a simplified manner. o Operating system ( page 01)
  •  All software
  •  All of the given
  1. If your processor does not have two slots empty in Pre Process file Descriptor Table, then your system call will fail. Pipe

(page 52)

  • Fork

( page 48) ·  Starvation · (page 83)

All CS604 files →
CS604 Operating Systems All CS604 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.