Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Uos Unit 7

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

UNIT-7

Chapter 8: Process Scheduling and Time

1) ________allows the super user to set global kernel veriable to a value that gives the
current time.
a) stime b) time
c) both a and c d) non of the above

2) Processes can exersise crude control of their scheduling priorities by using _______
system call.
a) fork b) nice
c) join d) none

3) The range of process priority can be partitioned into two class_____ and ________.
a) user priority and kernel priorities b) user priority and CPU priority
c) kernel priority and process priority d) none

4) User priority are _______ threshold value and kernel priority are ______ threshold
value.
a) above , above b) below, above
c) below, below d) above, below

5) The kernel uses timer veriable to return time value for the _______ system call.
a) fork b) stime
c) time d) both a and b

6) Every process has ____u area to keep record of elapsed kernel and user time.
a) 4 b) 2
c) 5 d) 3

7) The kernel saves the process start time in its ___ area.
a) m b) s
c) u d) l

8) The time related system call are________


a) stime b) times
c) alarm d) all of the above

9) The function of clock interrupt handler are


a) gather system and process accounting statistics b)Control process
scheduling
c) both a and b d) periodically pause swapper process
10) Each process table entry contain a priority filed for ......................................
a)process scheduling b)system call scheduling
c)prority scheduling d)high level priorty scheduling

11)some Kernal operations,particularly device drivers and network protocol,require


invocation of
Kernal function on ......................................
a)real-time basis b)time-sharing basis
c)system basis d)priority basis

12)Where tloc points to a location in the user process for the .......................................
a)return value b)fixed value
c)numric value d)exact value

13)process in the ...........................................state will tend to occupy more priority


levels.
a) “ready-to-run” b)” run- to-ready”
c)exit state d) execution state

14)A process may need many interation through the .............................. before it
finishes.
a)“feedback loop” b)”sysytem loop”
b)”over loop” c)”close loop”

15)On a time sharing system,the Kernal allocates the CPU to a process for a period of
time called a........................................
a)time slice or time quantum b) process schedulig
c)Memory process d)time quantum

16). The systems which allows only one process execution at a time, are called
a) uniprogramming systems b) uniprocessing systems
c) unitasking systems d) none of the mentioned

17). In operating system, each process has its own


a) address space and global variables b) open files
c) pending alarms, signals and signal handlers d) all of the mentioned

18). In Unix, Which system call creates the new process?


a) fork b) create
c) new d) none of the mentioned
19). A process can be terminated due to
a) normal exit b) fatal error
c) killed by another process d) all of the mentioned

20). What is the ready state of a process?


a) when process is scheduled to run after some execution
b) when process is unable to run until some task has been completed
c) when process is using the CPU
d) none of the mentioned

21). What is interprocess communication?


a) communication within the process
b) communication between two process
c) communication between two threads of same process
d) none of the mentioned

22). A set of processes is deadlock if


a) each process is blocked and will remain so forever
b) each process is terminated
c) all processes are trying to kill each other
d) none of the mentioned

23). A process stack does not contain


a) function parameters
b) local variables
c) return addresses
d) PID of child process

24). Which system call returns the process identifier of a terminated child?
a) wait
b) exit
c) fork
d) get
25). The address of the next instruction to be executed by the current process is provided by the
a) CPU registers
b) program counter
c) process stack
d) pipe
26). Which one of the following is a real time operating system?
a) RTLinux
b) VxWorks
c) windows CE
d) all of the mentioned

27). In real time operating system


a) all processes have the same priority
b) a task must be serviced by its deadline period
c) process scheduling can be done only once
d) kernel is not required

28). Hard real time operating system has ___ jitter than a soft real time operating system.
a) less
b) more
c) equal
d) none of the mentioned
View Answer
29) For real time operating systems, interrupt latency should be
a) minimal
b) maximum
c) zero
d) dependent on the scheduling

30) The kernel profiling gives a measure of how much time system executing user mode
verses_____
a) kernel mode b) CPU mode
c) user mode d) system mode

You might also like