Answered step by step
Verified Expert Solution
Link Copied!

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).

image text in transcribed
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Making Databases Work The Pragmatic Wisdom Of Michael Stonebraker

Authors: Michael L. Brodie

1st Edition

1947487167, 978-1947487161

More Books

Students also viewed these Databases questions

Question

What was the role of the team leader? How was he or she selected?

Answered: 1 week ago

Question

What is the difference between Needs and GAP Analyses?

Answered: 1 week ago

Question

What are ERP suites? Are HCMSs part of ERPs?

Answered: 1 week ago