EXAMPACK n n
2023
ELABORATE QUESTIONS & ANSWE
n n n
RS
, COS3721 EXAM PACK Mcq n n n
Operating nSystemnQuestionsn& nAnswers
Thisn setn of n Operatingn Systemn Multiplen Choice n Questionsn &n Answersn (MCQs)n focusesn on n “Basics”.
1. Whatn isn operatingn system?
a) collection n of n programsn thatn managesn hardware n resources
b) system n servicen providern to n then application n programs
c) link n to n interface n then hardware n and n application n programs
d) allnof nthenmentionedn
Answer:n d
2. To n accessn then servicesn of n operatingn system,n then interface n isn provided n by n then
a) Systemn calls
b) API
c) Library
d) Assembly ninstructions
n Answer:n a
3. Which n onen of n then followingn isn notn true?
a) kerneln isn then programn thatn constitutesn then centraln coren of n then operatingn system
b) kerneln isn then firstn partn of n operatingn systemn to n load n into n memory n duringn booting
c) kerneln isn maden of n variousn modulesn which n can n notn ben loaded n in n runningn operatingn system
d) kerneln remainsn inn then memory nduringn thenentiren computernsessionn
Answer:n c
4. Which n onen of n then followingn errorn willn ben handle n by n then operatingn system?
a) powern failure
b) lack n of n papern in n printer
c) connection n failure n in n then network
d) allnof nthenmentionedn
Answer:n d
5. Whatn isn then main n function n of n then command n interpreter?
a) to n getn and n execute n then nextn user-specified n command
b) to n provide n then interface n between n then APIn and n application n program
c) to n handle n then filesn in n operatingn system
d) nonenofnthenmentionedn
Answer:n a
6. By n operatingn system,n then resource n managementn can n ben donen vian
a) timen division n multiplexing
b) space n division n multiplexing
c) timen and n spacen division n multiplexing
d) nonenofnthenmentionedn
Answer:n c
7. If n an processn fails,n mostn operatingn system n writen then errorn information n to n an
a) logn file
b) anothern runningn process
c) newn file
d) nonenofnthenmentionedn
Answer:n a
8. Which n facility n dynamically n addsn probesn to n an runningn system,n both n in n usern processesn and n in n then kernel?
a) DTrace
b) DLocate
c) DMap
d) DAdd n
Answer:na
,9. Which n onen of n then followingn isn notn an realn timen operatingn system?
a) VxWorks
b) Windowsn CE
c) RTLinux
d) PalmnOS
n Answer:n d
10. Then OSn Xn hasn
a) monolithic n kernel
b) hybrid n kernel
c) microkernel
d) monolithicnkernelnwithnmodulesn
Answer:n b
Operating nSystemnQuestionsn& nAnswersn– nProcesses
Thisn setn of n Operatingn Systemn Multiplen Choice n Questionsn &n Answersn (MCQs)n focusesn on n “Processes”.
1. Then systemsn which n allown only n onen processn execution n atn an time,n aren called n
a) uniprogrammingn systems
b) uniprocessingn systems
c) unitaskingn systems
d) nonenofnthenmentionedn
Viewn Answer
Answer:n b
Explanation:nThosen systemsnwhichn allowsnmoren thannonen processnexecutionnatnantime,narencalledn multiprogrammingn sys
tems.n Uniprocessingn meansn only n onen processor.
2. In n operatingn system,n each n processn hasn itsn own n
a) addressn space n and n globaln variables
b) open n files
c) pendingn alarms,n signalsn and n signaln handlers
d) allnof nthenmentionedn
Viewn Answer
Answer:n dn Explanati
on:nNone.
3. In n Unix,n Which n system n calln createsn then newn process?
a) fork
b) create
c) new
d) nonenofnthenmentionedn
Viewn Answer
Answer:n anExplanati
on:nNone.
4. An processn can n ben terminated n duen to n
a) normaln exit
b) fataln error
c) killed n by n anothern process
d) allnof nthenmentionedn
Viewn Answer
Answer:n dn Explanati
on:nNone.
, 5. Whatn isn then ready n staten of n an process?
a) when n processn isn scheduled n to n run n aftern somen execution
b) when n processn isn unable n to n run n untiln somen task n hasn been n completed
c) when n processn isn usingn then CPU
d) nonenofnthenmentionedn
Viewn Answer
Answer:n a
Explanation:nWhenn processnisnunablento nrun nuntilnsomen tasknhasnbeenncompleted,nthen processnisnin nblockedn statenandnifnp
rocessn isn usingn then CPU,n itn isn in n runningn state.
6. Whatn isn interprocessn communication?
a) communication n within n then process
b) communication n between n two n process
c) communication n between n two n threadsn of n samen process
d) nonenofnthenmentionedn
Viewn Answer
Answer:n bn Explanati
on:nNone.
7. An setn of n processesn isn deadlock n if n
a) each n processn isn blocked n and n willn remain n so n forever
b) each n processn isn terminated
c) alln processesn aren tryingn to n killn each n other
d) nonenofnthenmentionedn
Viewn Answer
Answer:n anExplanati
on:nNone.
8. An processn stack n doesn notn contain n
a) Function n parameters
b) Localn variables
c) Return n addresses
d) PIDnof nchild nprocessn
Viewn Answer
Answer:n dn Explanati
on:nNone.
9. Which n system n calln returnsn then processn identifiern of n an terminated n child?
a) wait
b) exit
c) fork
d) get
Viewn Answer
Answer:n anExplanati
on:nNone.
10. Then addressn of n then nextn instruction n to n ben executed n by n then currentn processn isn provided n by n then
a) CPUn registers
b) Programn counter
c) Processn stack
d) Pipen A
nswer:nb