Answered step by step
Verified Expert Solution
Question
1 Approved Answer
all are in the question QUESTION 2: (15 Marks) a) Consider a Segmentation based virtual memory system that has the following segment table (Table 1).
all are in the question
QUESTION 2: (15 Marks) a) Consider a Segmentation based virtual memory system that has the following segment table (Table 1). For each of the following logical addresses (Segment number, offset) determine the equivalent physical address or indicate if a segment fault occurs if any. 1. 0,298 11.1.143 111.2,420 IV.3,786 V.4.222 Sega Start Address Site 0 10 300 300 1500 2 800 400 3 1200 800 14 2000 200 Table-1 (5 Marks) b) A l-Mbyte block of memory is allocated using the buddy system. 1. Show the results of the following sequence of memory allocation and deallocation as shown in following sample figure-l: memory blocks request sequence: Request- A(20K), Request-B(75K), Request-C(180K). Request- D(80K), and Request-E(140K) memory blocks release sequence returns Return-E, Return-D, Return-C, Return- B, and return-A. (5 Marks) 3 30 11 1 D IM Figure-1 II. Show the binary tree representation for the sequence given in Q-2(B)-I. (5 Marks) QUESTION 2: (15 Marks) a) Consider a Segmentation based virtual memory system that has the following segment table (Table 1). For each of the following logical addresses (Segment number, offset) determine the equivalent physical address or indicate if a segment fault occurs if any. 1. 0,298 11.1.143 111.2,420 IV.3,786 V.4.222 Sega Start Address Site 0 10 300 300 1500 2 800 400 3 1200 800 14 2000 200 Table-1 (5 Marks) b) A l-Mbyte block of memory is allocated using the buddy system. 1. Show the results of the following sequence of memory allocation and deallocation as shown in following sample figure-l: memory blocks request sequence: Request- A(20K), Request-B(75K), Request-C(180K). Request- D(80K), and Request-E(140K) memory blocks release sequence returns Return-E, Return-D, Return-C, Return- B, and return-A. (5 Marks) 3 30 11 1 D IM Figure-1 II. Show the binary tree representation for the sequence given in Q-2(B)-I Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started