Question 21
EasyWhat does compile-time address binding mean?
- A.
Addresses are decided while the program runs
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Operating Systems
What does compile-time address binding mean?
Addresses are decided while the program runs
The user types the addresses
The program's absolute addresses are fixed when it is compiled, so it must be loaded at that exact place
The program has no addresses
Sign up free to see the answer and a step-by-step explanation.
In swapping, what is the backing store?
The CPU's cache
A backup copy of the OS
A fast disk area that holds processes swapped out of memory
A shop that sells RAM
Sign up free to see the answer and a step-by-step explanation.
What is the main drawback of swapping whole processes?
It uses no memory
Moving a whole process between memory and disk takes a long time
It makes processes run faster
It deletes processes
Sign up free to see the answer and a step-by-step explanation.
What is relocation?
Changing the user's password
Adjusting a program's addresses so that it can run at a different place in memory
Renaming a file
Moving a computer to another room
Sign up free to see the answer and a step-by-step explanation.
What is locality of reference?
Programs always access memory in random order
Every program uses all of memory at once
Memory is located near the CPU
Programs tend to access the same and nearby memory locations repeatedly over short periods
Sign up free to see the answer and a step-by-step explanation.
Which of these kinds of memory is volatile (loses its contents when the power goes off)?
SSD
ROM
Hard disk
RAM
Sign up free to see the answer and a step-by-step explanation.
Which of these is a non-contiguous memory allocation scheme?
Fixed partitioning
Paging
Variable partitioning
Single partition allocation
Sign up free to see the answer and a step-by-step explanation.
Free holes are 100 KB, 500 KB, 200 KB, 300 KB and 600 KB (in that order). Using best fit, which hole is used for a 212 KB request?
600 KB
500 KB
300 KB
200 KB
Sign up free to see the answer and a step-by-step explanation.
Free holes are 100, 500, 200, 300 and 600 KB (in that order). Requests of 212, 417, 112 and 426 KB arrive in turn. Using first fit, which request cannot be satisfied?
426 KB
212 KB
112 KB
417 KB
Sign up free to see the answer and a step-by-step explanation.
A process has base register 3000 and limit register 1200. What happens when it accesses logical address 1300?
It accesses physical address 1300
A trap (addressing error) to the OS
It accesses physical address 4300
It accesses physical address 4500
Sign up free to see the answer and a step-by-step explanation.