0% found this document useful (0 votes)
545 views

CS604 Midterm Papers

This document is the midterm paper submission of Salman Abid for the course CS604. It contains the student's responses to multiple choice and subjective questions related to operating systems topics like processes, scheduling, memory management, concurrency, and more. For one question, the student provided the Linux/Unix command "fg" to move a background process to the foreground. At the end, the student provided their email for feedback on any mistakes.

Uploaded by

qasim
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
545 views

CS604 Midterm Papers

This document is the midterm paper submission of Salman Abid for the course CS604. It contains the student's responses to multiple choice and subjective questions related to operating systems topics like processes, scheduling, memory management, concurrency, and more. For one question, the student provided the Linux/Unix command "fg" to move a background process to the foreground. At the end, the student provided their email for feedback on any mistakes.

Uploaded by

qasim
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Salman Abid

MC140202428
CS604 Midterm
Paper 2016
SOLVED
18-December 2016
1

18-December 2016
CS604 Midterm Paper 2016 SOLVED

Today my paper of CS604 at 04.30PM 18-Dec-16

-------- command gives a snapshot of the current processes.


► ps pg # 66
► top
► who
► ls

Question No: 6 ( M a r k s: 1 ) http://vuzs.net


--------------command to resume the execution of a suspended job in the foreground
► fg pg# 68
► bg
► jobs
► kill

__________ scheduler selects the process from the job pool and put them in main memory.
► Long term pg # 36
► Short term
► Medium term
► Swapper
Taking the CPU from one process and giving the CPU to another process is termed as
Context Switching P/31
Dispatching
Swapping
Tracking
Command-line interpreter is also called __________ in some operating systems.
a) Kernel
b) Shell P/13
c) Signal
d) API
The time it takes for the dispatcher to stop one process and start another running is known as the-
----------.
2

Dispatch latency
Scheduling
Context switching
None of the given options
The scheduling of _____________ are done by the operating system.
Select correct option:
Kernel threads P/70
User level threads
Both Kernel and User Level thread
None of the give option

Real time Systems that control scientific experiments, medical imaging systems, industrial
control systems and certain display systems.

-------------has a hierarchical file system structure.

UNIX (Page# 22)

The ___________ are used for communication between related or unrelated processes on
the same system or unrelated processes on different systems.

BSD Sockets (Page# 50)

The time it takes for the dispatcher to stop one process and start another running is known
as the-----------.
Dispatch latency (Page# 80)

The basic purpose of ________________is to help the users to utilize the hardware
resources for completing different tasks in a simplified manner
Operating system (Page# 1)
3

OS helps manages the following except

Bus speed of the system Click here for detail

Command-line interpreter is also called __________ in some operating systems.

Shell (Page# 13)

A solution to the critical section problem must satisfy the following requirements
►Progress
►Mutual exclusion
►Bounded Waiting

►All of these (Page 101)


The critical section problem can be solved by the following except
► Software based solution

► Firmware based solution (Page 101)


► Operating system based solution
► Hardware based solution

The basic purpose of ________________is to help the users to utilize the hardware resources for
completing different tasks in a simplified manner

►Operating system (Page 6)


►Application software
►All Software
►All of the given
OS helps manages the following except
►Application software
4

►Bus speed of the system


►Memory
►Virtual memory

The process of holding at least one resource and waiting to acquire additional resources that are currently
being held by other processes is known as________.

►Hold and wait (Page 131)

Subjective Question
Critical section has hardware based or software based solution. You have to write the structure of the
software base solution for critical section problem?

if processor is run in the background we want to move in foreground write the LINIX/UNIX
command for this process?(3 M)

IF THERE ARE ANY MISTAKES PLEASE LET ME KNOW

[email protected]
Please remember me in your prayer

You might also like