Question 31
MediumThe relocation register holds 14000. Which physical address does logical address 346 map to?
- A.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Operating Systems
The relocation register holds 14000. Which physical address does logical address 346 map to?
14000
13654
14346
346
Sign up free to see the answer and a step-by-step explanation.
What is dynamic linking?
Linking library routines at run time, so one copy of a library can be shared
Copying all libraries into the executable
Allocating memory at compile time
Linking two computers on a network
Sign up free to see the answer and a step-by-step explanation.
In a buddy system with 1 MB of memory, which block size is allocated for a 70 KB request?
128 KB
64 KB
256 KB
70 KB
Sign up free to see the answer and a step-by-step explanation.
Free holes are 100, 500, 200, 300 and 600 KB. Which hole does worst fit choose for a 212 KB request?
200 KB
300 KB
500 KB
600 KB
Sign up free to see the answer and a step-by-step explanation.
Free memory holes, in order, are 150 KB, 400 KB, 250 KB, 300 KB and 100 KB. Requests of 220 KB, 120 KB and 280 KB arrive in that order. Using first fit, which hole does the 280 KB request get?
The 250 KB hole
The 400 KB hole
The 300 KB hole
It cannot be placed
Sign up free to see the answer and a step-by-step explanation.
Free memory holes, in order, are 150 KB, 400 KB, 250 KB, 300 KB and 100 KB. Using best fit for requests of 220 KB, 120 KB and 280 KB (in that order), how much space is left in the hole used by the 220 KB request?
80 KB
180 KB
20 KB
30 KB
Sign up free to see the answer and a step-by-step explanation.
Free memory holes, in order, are 150 KB, 400 KB, 250 KB, 300 KB and 100 KB. Using worst fit for requests of 220 KB, 120 KB and 280 KB (in that order), what happens to the 280 KB request?
It goes into the 300 KB hole
It cannot be placed
It goes into the 250 KB hole
It goes into the 400 KB hole
Sign up free to see the answer and a step-by-step explanation.
A process has base register 4000 and limit register 2500. Which logical address causes a trap?
2500
2499
1200
0
Sign up free to see the answer and a step-by-step explanation.
A process is loaded at relocation (base) value 12000. What physical address does logical address 750 map to?
12750
750
11250
12000
Sign up free to see the answer and a step-by-step explanation.
In a buddy system managing 512 KB, which block size is allocated for a 100 KB request?
64 KB
256 KB
100 KB
128 KB
Sign up free to see the answer and a step-by-step explanation.