Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Help will be rated and thanked. 1.Which of the following statements are true ? 2

ID: 3857696 • Letter: H

Question

Help will be rated and thanked.

1.Which of the following statements are true ?

2. A computer uses contiguous memory allocation. The list of holes (with size in KB) is: 32, 51, 58, 28, 9, 77, 13. A new request for a process taking 31 KB comes in. What memory block is allocated to the process using the the Worst Fit algorithm ? Write just the number of KB in the block.

3. A VM system uses segmentation with segment tables having maximum 256 entries and a maximum segment size of 1048576 bytes. What is the number of bits reserved in the virtual address for the segment number and for offset into the segment, respectively ?

4. A computer uses contiguous memory allocation. The list of holes (with size in KB) is: 30,53,20,74,5,32,16. A new request for a process taking 31 KB comes in. What memory block is allocated to the process using the the First Fit algorithm ?

5. In a computer with base and limit registers for address space protection the address generated by an instruction is 329048. At that time the base register value is 256400 and the limit register value is 128680. What is the address used by the memory subsystem to fetch the data ?

6. A system uses paging with 4 KB size frames. What is the offset in the frame (in base 10) for logical address 786453 (in base 10) ?

7. What cannot be a field of an entry in a process' page table for a system that uses a hierarchical page table ?

7. A computer with 8 MB RAM uses paging with 1024 bytes per page. What is the page number (in base 10) for logical address 2320001 (also expressed in base 10) ?

8. What hardware component does the runtime address mapping from logical address to physical address ?

A.Linking a library is delayed until execution time for OS with dynamic linking. Question 1 6.67 pts Which of the following statements are true? Linking a lbrary with dynemic linkin Linking ibrary is delayed unti executior time for OS with dynmic linking. Sstaric linking allaw Ibrary cede memory to be shared at nuntime With ceyramic linking with CYr mic linking o stub places itself with the ddress of the callec function on its hst invocation, after the library with the function code is loaded into memory. Question 2 6.67 pts A computer uses contiguous memory allocation. The list of holas (with size in KB) is: 32, 51.58, 28, 9,77, 13. A naw request for a process taking 31 KB comes in. What memory block is allocatod to the process using the the Worst Fit algorithm ? Write just the number of KA in the block. Question 3 6.67 pts A VM system usos scgmentation with sogment tables having maximum 256 ontries and a maximum scgment size of 1048576 bytes What is the number of bits reserved in the virtual address for tha scgment number and for offset into the scgment, respoctively and 2u 8 and 16 16 and 24 16 and 20 256 and 1048576

Explanation / Answer

1. C. Multiple version of the same shared library cannot be loaded at the same time in an OS with dynamic linking.

2. 8 KB

3. C. 16 and 24

4. B. 30

5.

6. 4096 KB

7. C.valid/invalid

8. E. MMU