☑ MCQ PRACTICE

Operating Systems Unit 2

Practice objective questions for quick revision and examination preparation. Try answering each question before revealing the answer.

📚 Operating Systems
📖 Unit 2
🎯 MCQs

Operating Systems - Unit-2

1
In the running state
Aonly the process which has control of the processor is found
Ball the processes waiting for I/O to be completed are found
Call the processes waiting for the processor are found
Dnone of the above
Correct AnswerA.only the process which has control of the processor is found
2
Process State is a part of
AProcess Control block
BInode
CFile Allocation Table
DNone of the above
Correct AnswerA. Process Control block
3
The kernel keeps track of the state of each task by using a data structure called __
AProcess control block
BUser control block
CMemory control block
DNone of the above
Correct AnswerA. Process control block
4
_________ does the job of allocating a process to the processor.
ALong term scheduler
BShort term scheduler
CMedium term scheduler
DDispatcher
Correct AnswerD. Dispatcher
5
In the multi-programming environment, the main memory consisting of _________ number of process.
AGreater than 100
BOnly one
CGreater than 50
DMore than one
Correct AnswerD More than one
6
A thread is a __________ process .
AHeavy Weight
BMutliprocess
CInter Thread
DLight wieght
Correct AnswerD.Light wieght
7
CPU Scheduling is the basis of _________ operating system
ABatch
BReal time
CMultiprogramming
DMonoprogramming
Correct AnswerC. Multiprogramming
8
A major problem with priority scheduling is _________.
ADefinite blocking
BStarvation
CLow priority
DNone of the above
Correct AnswerB. Starvation
9
________ scheduler selects the jobs from the pool of jobs and loads into the ready queue.
ALong term
BShort term
CMedium term
DNone of the above
Correct AnswerA. Long term
10
Saving the state of the old process and loading the saved state of the new process is called ________.
AContext Switch
BState
CMulti programming
DNone of the above
Correct AnswerA. Context Switch
11
A thread
Ais a lightweight process where the context switching is low
Bis a lightweight process where the context swithching is high
Cis used to speed up paging
Dnone of the above
Correct AnswerA. is a lightweight process where the context switching is low
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.
A8 milliseconds
B8.2 milliseconds
C7.75 milliseconds
D3 milliseconds
Correct AnswerB. 8.2 milliseconds
13
The Purpose of Co-operating Process is __________.
AInformation Sharing
BConvenience
CComputation Speed-Up
DAll of the above
Correct AnswerD. All of the above
14
The kernel of the operating system remains in the primary memory because ________.
AIt is mostly called (used)
BIt manages all interrupt calls
CIt controls all operations in process
DIt is low level
Correct AnswerA. It is mostly called (used)
15
Multiprogramming systems ________.
AAre easier to develop than single programming systems
BExecute each job faster
CExecute more jobs in the same time
DAre used only on large main frame computers
Correct AnswerC. Execute more jobs in the same time
16
The process is in--------------- state when it is being created
AReady
Bnew
Crunning
Dwaiting
Correct AnswerB. new
17
-------time is the sum of the periods spend waiting in the ready queue
Awaiting
Bturnaround
Cresponse
Dburst
Correct AnswerA. Waiting
18
FCFS is-------------scheduling algorithm
Apreemptive
Bnon-preemptive
Cpriority
Dnone
Correct AnswerB. non-preemptive
19
Which of the following system call is used for replicating a process?
Afork
Bexec
Cwait
D_exit
Correct AnswerA. fork
20
Which of the following system call is more powerful (in waiting mechanism) than wait system call?
Awaitp
Bwaitpid
Ckill
Drun
Correct AnswerB.waitpid
← Back to All MCQs