[go: up one dir, main page]

0% found this document useful (0 votes)
16 views7 pages

Unint 2

Uploaded by

umabharathi.s
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views7 pages

Unint 2

Uploaded by

umabharathi.s
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

UNIT 2

1. In the running state

A . only the process which has control of the processor is found

B . all the processes waiting for I/O to be completed are found

C . all the processes waiting for the processor are found

D . none of the above

Answer

2. Process State is a part of

A . Process Control block

B . Inode

C . File Allocation Table

D . None of the above

Answer

3. The kernel keeps track of the state of each task by using a data structure
called __

A . Process control block

B . User control block

C . Memory control block

D . None of the above

Answer

4. _________ does the job of allocating a process to the processor.


A . Long term scheduler

B . Short term scheduler

C . Medium term scheduler

D . Dispatcher

Answer

5. In the multi-programming environment, the main memory consisting of


_________ number of process.

A . Greater than 100

B . Only one

C . Greater than 50

D . More than one

Answer

6. A thread is a __________ process .

A . Heavy Weight

B . Mutliprocess

C . Inter Thread

D . Light wieght

Answer

7. CPU Scheduling is the basis of _________ operating system

A . Batch

B . Real time
C . Multiprogramming

D . Monoprogramming

Answer

8. A major problem with priority scheduling is _________.

A . Definite blocking

B . Starvation

C . Low priority

D . None of the above

Answer

9. ________ scheduler selects the jobs from the pool of jobs and loads into
the ready queue.

A . Long term

B . Short term

C . Medium term

D . None of the above

Answer

10. Saving the state of the old process and loading the saved state of the new
process is called ________.

A . Context Switch

B . State

C . Multi programming

D . None of the above


Answer

11. A thread

A . is a lightweight process where the context switching is low

B . is a lightweight process where the context swithching is high

C . is used to speed up paging

D . none of the above

Answer

12. Using Priority Scheduling algorithm, find the average waiting time for the
following set of processes given with their priorities in the order: Process :
Burst Time : Priority respectively . P1 : 10 : 3 , P2 : 1 : 1 , P3 : 2 : 4 ,
P4 : 1 : 5 , P5 : 5 : 2.

A . 8 milliseconds

B . 8.2 milliseconds

C . 7.75 milliseconds

D . 3 milliseconds

Answer

13. The Purpose of Co-operating Process is __________.

A . Information Sharing

B . Convenience

C . Computation Speed-Up

D . All of the above

Answer
14. The kernel of the operating system remains in the primary memory because
________.

A . It is mostly called (used)

B . It manages all interrupt calls

C . It controls all operations in process

D . It is low level

Answer

15. Multiprogramming systems ________.

A . Are easier to develop than single programming systems

B . Execute each job faster

C . Execute more jobs in the same time

D . Are used only on large main frame

computers

Answer

16. The process is in--------------- state when it is being created

A . Ready

B . new

C . running

D . waiting

Answer

17. -------time is the sum of the periods spend waiting in the ready queue
A . waiting

B . turnaround

C . response

D . burst

Answer

18. FCFS is-------------scheduling algorithm

A . preemptive

B . non-preemptive

C . priority

D . none

Answer

19. Which of the following system call is used for replicating a process?

A . fork

B . exec

C . wait

D . _exit

Answer

20. Which of the following system call is more powerful (in waiting mechanism)
than wait system call?

A . waitp

B . waitpid
C . kill

D . run

Answer

You might also like