Xhweet Kashu …. g g
g
ComputergSciencegMcqsgTest
a. AgportiongofgtheghardgdiskgconsideredgasgRAM.
b. Extendedgmemorygongthegsecondarygstoragegthatgisgusedgwhenevergphysicalgmemor
ygisgfullg.
c. Thegabstractiongofgseparatingglogicalgmemoryg–gmemorygasgseengbygthegprocessg–
gfromgphysicalgmemoryg–gmemorygasgseengnygthegprocessor.
d. ItgisgthegpagegfilegingWindowsgfolder.
e. Nonegofgthese.
2. Theg‘cmp’ginstructiongmodifiesgthe:
a. Instructiongregister.
b. Flagsgregister.
c. Segmentgregister.
d. Nonegofgthese.
3. Considergthegfollowinggpagegreferencegstring:
1,2,3,4,2,1,5,6,2,1,2,3,7,6,3,2,1,. gAssuminggtheregareg4gpagegframessgavailablegandgth
atgallgframesgareginitiallygempty,gwhatgisgthegtotalgnumbergofgpagegfaultsgthatgwouldgo
ccurgforgthegpagegreferencegstringgabovegifgthegleast-recently-
usedg(LRU)greplacementgpolicygisgused?
a. 6
b. 9
c. 10
d. 11
e. Nonegofgthese
4. ThegBanker’sgalgorithmgisgusedgtog
a. Rectifygdeadlock
b. Detectgdeadlock
c. Preventgdeadlock
d. Avoidgdeadlock
e. Nonegofgthese
5. Thegnecessarygconditionsgneededgbeforegdeadlockgcangoccurgareg .
Pageg1gofg15
2
,Xhweet Kashu …. g g
g
a. NogMutualgExclusion,gHoldgandgwait,gPreemption,gCirculargWait.
b. MutualgExclusion,gNogHoldgandgwait,gPreemption,gCirculargWait.
Pageg2gofg15
2
,Xhweet Kashu …. g g
g
c. MutualgExclusion,gHoldgandgwait,gNogPreemption,gCirculargWait.
d. MutualgExclusion,gHoldgandgwait,gPreemption,gNogCirculargWait.
6. Differencesgbetweengdataglickglayergandgtransportglayergerrorgdetectiongisgthat:
a. Dataglinkgdetectsgtransmissiongerrorsgwhilegtransportglayergdetectsgsegmentationgfau
lts.
b. Dataglinkgdetectsgnode-to-nodegerrorsgwhilegtransportglayergdetectsgend-to-
endgerrors.
c. Dataglinkgdetectsgend-to-endgerrorsgwhilegtransportglayergdetectsgnode-to-
nodegerrors
d. Dataglinkgdetectsgsegmentationgerrorsgwhilegtransportglayergdetectsgbitgerror.
e. Nonegofgtheses
7. PhasegShiftgKeyingg(PSK)gmethodgisgusedgtogmodulategdigitalgsignalsgatg9600bpsgu
singg16glevels.gTheglinegsignalsgspeedg(i.e.gmodulationgrate)gwillgbe:
a. 1200gbands
b. 2400gbands
c. 4800gbands
d. 9600gbands
e. Nonegofgthese
8. Exceptionghandlinggisgagpowerfulgtenchniquegthatgseparatesgerror-
handlinggcodegfromg
code
a. Buggy
b. Faulty
c. Normal
d. Exceptional
e. Nonegofgthese
9. Whengagsubroutinegisgcalled,gthegaddressgofgtheginstructiongfollowinggthegCALLginst
ructionsgstoredgin/ongthe:
a. Stackgpointer
b. Accumulator
c. Programsgcounter
Pageg3gofg15
2
, Xhweet Kashu …. g g
g
d. Stack
e. Nonegofgthese
10.Binarygtreeg“preorder”gtraversalgisgdefinedgrecursivelygasgfollows:
Pageg4gofg15
2
g
ComputergSciencegMcqsgTest
a. AgportiongofgtheghardgdiskgconsideredgasgRAM.
b. Extendedgmemorygongthegsecondarygstoragegthatgisgusedgwhenevergphysicalgmemor
ygisgfullg.
c. Thegabstractiongofgseparatingglogicalgmemoryg–gmemorygasgseengbygthegprocessg–
gfromgphysicalgmemoryg–gmemorygasgseengnygthegprocessor.
d. ItgisgthegpagegfilegingWindowsgfolder.
e. Nonegofgthese.
2. Theg‘cmp’ginstructiongmodifiesgthe:
a. Instructiongregister.
b. Flagsgregister.
c. Segmentgregister.
d. Nonegofgthese.
3. Considergthegfollowinggpagegreferencegstring:
1,2,3,4,2,1,5,6,2,1,2,3,7,6,3,2,1,. gAssuminggtheregareg4gpagegframessgavailablegandgth
atgallgframesgareginitiallygempty,gwhatgisgthegtotalgnumbergofgpagegfaultsgthatgwouldgo
ccurgforgthegpagegreferencegstringgabovegifgthegleast-recently-
usedg(LRU)greplacementgpolicygisgused?
a. 6
b. 9
c. 10
d. 11
e. Nonegofgthese
4. ThegBanker’sgalgorithmgisgusedgtog
a. Rectifygdeadlock
b. Detectgdeadlock
c. Preventgdeadlock
d. Avoidgdeadlock
e. Nonegofgthese
5. Thegnecessarygconditionsgneededgbeforegdeadlockgcangoccurgareg .
Pageg1gofg15
2
,Xhweet Kashu …. g g
g
a. NogMutualgExclusion,gHoldgandgwait,gPreemption,gCirculargWait.
b. MutualgExclusion,gNogHoldgandgwait,gPreemption,gCirculargWait.
Pageg2gofg15
2
,Xhweet Kashu …. g g
g
c. MutualgExclusion,gHoldgandgwait,gNogPreemption,gCirculargWait.
d. MutualgExclusion,gHoldgandgwait,gPreemption,gNogCirculargWait.
6. Differencesgbetweengdataglickglayergandgtransportglayergerrorgdetectiongisgthat:
a. Dataglinkgdetectsgtransmissiongerrorsgwhilegtransportglayergdetectsgsegmentationgfau
lts.
b. Dataglinkgdetectsgnode-to-nodegerrorsgwhilegtransportglayergdetectsgend-to-
endgerrors.
c. Dataglinkgdetectsgend-to-endgerrorsgwhilegtransportglayergdetectsgnode-to-
nodegerrors
d. Dataglinkgdetectsgsegmentationgerrorsgwhilegtransportglayergdetectsgbitgerror.
e. Nonegofgtheses
7. PhasegShiftgKeyingg(PSK)gmethodgisgusedgtogmodulategdigitalgsignalsgatg9600bpsgu
singg16glevels.gTheglinegsignalsgspeedg(i.e.gmodulationgrate)gwillgbe:
a. 1200gbands
b. 2400gbands
c. 4800gbands
d. 9600gbands
e. Nonegofgthese
8. Exceptionghandlinggisgagpowerfulgtenchniquegthatgseparatesgerror-
handlinggcodegfromg
code
a. Buggy
b. Faulty
c. Normal
d. Exceptional
e. Nonegofgthese
9. Whengagsubroutinegisgcalled,gthegaddressgofgtheginstructiongfollowinggthegCALLginst
ructionsgstoredgin/ongthe:
a. Stackgpointer
b. Accumulator
c. Programsgcounter
Pageg3gofg15
2
, Xhweet Kashu …. g g
g
d. Stack
e. Nonegofgthese
10.Binarygtreeg“preorder”gtraversalgisgdefinedgrecursivelygasgfollows:
Pageg4gofg15
2