Operating System MCQs

1019 MCQs  (Page 93 of 102)

What is correct regarding ‘relocation’ w.r.t protecting memory?
A. It is a process of taking a program as if it began at address 0
B. It is a process of taking a program as if it began at address 0a
C. Fence cannot be used within relocation process
D. All of the mentioned
How can fence and relocation be used together?
A. To each program address, the contents of fence register are added
B. To contents of fence register is subtracted from actual address of program
C. To each program address, the contents of fence register are not added
D. None of the mentioned
What is the basic need in protecting memory in multi-user environment?
A. We need two registers one €?start’ and other €?end’
B. We need a variable register
C. A fence register has to be used known as base register.
D. None of the mentioned
What is the role of base/bound registers?
A. They give starting address to a program
B. Program’s addresses are neatly confined to space between the base and the bound registers
C. They provide encrypted environment
D. This technique doesn’t protects a program’s address from modification by another user
What is all-or-nothing situation for sharing in memory?
A. Program makes all its data available to be accessed
B. It prohibits access to some
C. It creates rules who can access program memory
D. It separates program memory and data memory
How is disadvantage of all-or-nothing approach overcome?
A. Base/bound
B. Relocation technique
C. Fence method
D. Tagged architecture
What is true regarding tagged architecture?
A. Every word of machine memory has one or more extra bits
B. Extra bits are used to do padding
C. Extra bits are not used to identify rights to that word
D. It is very compatible to code upgrades
What is best solution to have effect of unbounded number if base/bound registers?
A. Tagged architecture
B. Segmentation
C. Fence method
D. None of the mentioned
What is a major feature of segmentation?
A. Program is divided in data memory and program memory
B. Program is executed in segments
C. Program is divided into pieces having different access rights
D. It has effect of an unbounded architecture
What is the correct way the segmentation program address is stored?
A. Name, offset
B. Start, stop
C. Access, rights
D. Offset, rights