a. 3, 560 Segment number is 3 segment value is 560 Physical address = segment base address + segment value = 1327 + 560 = 1887 ================================= b. 2, 101 Segment number is 2 segment value is 101 As segment value is greater tha segment limit of the segment 2. So, It gives segmentation error.
(6 points) Consider the following segement table: Segment Seg. limit Seg. Base addr. 219 14 2300...
ans and explem 20 min
Consider the following segment table. What are the physical addresses for 3 points the following logical addresses (segment number, offset)? Segment 0 1 Base 219 2300 90 1327 Length 600 14 100 580 2 3 illegal 649 2315 140 1,15 2,50 O 0, 430 O O O 4 points Consider the following page-reference string:1,2,3,4,2,1,5,6,2,1,2,3,7,6,3,2,1,2,3,6 How many page faults would occur for the following replacement algorithms, when there are seven frames? ол 6 7 8 12...
3) Memory Management [24 pts 12 extra credit] Consider the following segment table: Base 255 400 1924 50 3313 1150 2B90 125 4871 What are the physical addresses for the following logical addresses formatted as <segment, offset>? If it is illegal, explain why it is illegal instead in the answer area. Limit your response to one sentence. a) [4 pts] 0, 230 Is it legal? (Y IN only) b) [4 pts] 1, 40 Is it legal? (Y , N only)...
Problem 6 (13 points) The page table below is for a system with 16-bit virtual as well as physical addresses and with 4,096-byte pages. The reference bit is set to 1 when the page has been referenced. Periodically, a thread zeroes out all values of the reference bit. A dash for a page frame indicates the page is not in memory. The LRll pagg-replacement algorithm is used. The numbers are given in decimal Page Frame eferepceit 14 10 13 15...
Consider the following segment table: Segm 0 1 Base Length 400 500 1000 500 2000 200 ent Whai are thee physsicall addresses for tthe loggicall addresst a. 0,431 b. 0,900 C. 2,240
Problem 6 (13 points) The page table below is for a system with 16-bit virtual as well as physical addresses and with 4,096-byte pages. The reference bit is set to 1 when the page has been referenced. Periodically, a thread zeroes out all values of the reference bit. A dash for a page frame indicates the page is not in memory. The LRll pagg-replacement algorithm is used. The numbers are given in decimal Page Frame eferepceit 14 10 13 15...