Sei sulla pagina 1di 3

CSC204: PRACTICAL APPROACH OF OPERATING SYSTEMS

QUIZ 3

STUDENT ID

GROUP

STUDENT
NAME

30

Answer ALL questions in the provided answer sheet.


PART A (14 MARKS)
N
o
1
2
3
4
5
6
7

Statements

Answe
r

The process state is an indicator of the nature of the current


activity in a process.
Cooperative multitasking prevents one process from monopolizing
the system
A process state contains all of the data about the job needed by
the operating system to manage the processing of the job
Job scheduler is low level scheduler that selects jobs from a queue
of incoming jobs.
Context switches can occur whenever the OS reassigns a CPU from
one process to another
Maximize response time and minimize CPU efficiency is a good
scheduling policy.
Single tasking is designed to manage the computer so that one
user can effectively do one thing at a time.

8. This term refers to GUI users having windows that enable a user to easily
view, control and manipulate multiple things at once.
A. single tasking
B. multitasking
C. multi user
D. single user
9. A process may be made up of multiple ________ of execution that execute
instructions concurrently
A. jobs
B. set of resources
C. threads
D. programs
10.Each process is represented by a Process Control Block (PCB) that consists of
the following information EXCEPT ___________.
A. process state
B. process creation
C. process identification
D. process status
11.Which of the following is NOT the good policy of an Operating System?
A. Maximize job throughput
B. Minimize response time
C. Minimize CPU utilization
D. Minimize waiting time

CSC204: PRACTICAL APPROACH OF OPERATING SYSTEMS


QUIZ 3

12.For a process, when will the waiting state be changes to ready state?
A. I/O or event completion
B. interrupt
C. process finish execution
D. process being executed
13.Context switches are performed in:
A.
B.
C.
D.

Time sharing
multiprogramming
batch processing
sequential processing

14.A background process


A.
B.
C.
D.

Need special hardware requirement like timer


Has the highest priority among the processes
Refers to several jobs in the memory
Runs when no other process is waiting for the CPU

PART B (16 MARKS)


1.

CSC204: PRACTICAL APPROACH OF OPERATING SYSTEMS


QUIZ 3

2. Given a heap of memory management scheme with the following free list
where U: Used and H: Hole: (6 marks)
U

0K
20K
70K
90K
121K
232K
245K
The following
process412K
requests will be received in order:
Process number
1
2
3
4

U
154K

H
187K

Size in Kilobytes
30
15
45
50

Show how the memory requests above are allocated using each of the
allocation schemes:
i.
Best Fit (BF)
ii.
First Fit (FF)
iii.
Worst Fit (WF)
3. List two types of multitasking in time sharing system. (2 marks)

Potrebbero piacerti anche