Question

In: Computer Science

Consider the following segment table: Segment Base Length 0 219 600 1 2300 14 2 90...

Consider the following segment table:

Segment Base Length

0 219 600

1 2300 14

2 90 100

3 1327 580

4 1952 96

What are the physical addresses for the following logical addresses?

  1. 0,430
  2. 1,10
  3. 2,500
  4. 3,400
  5. 4,112

Solutions

Expert Solution

Given segment table:
Segment-Base-Length
0-219-600
1-2300-14
2-90-100
3-1327-580
4-1952-96
What are the physical addresses for the following logical addresses?

Here, The Physical address is calculated as Base+FrameNumber

Question 1) 0,430
Ans: 649
For this, the Base is 219 and the Frame number is 430 ==> 219+430=649

Question 2) 1,10
Ans: 2310
For this, the Base is 2300 and the Frame number is 10 ==> 2300+10=2310

Question 3) 2,500
Ans: Illegal reference
It is because the base value is 90 and length is 100 Adding it will give 190
Now add Base+FrameNumber ==> 90+500=590 which is much greater than 190. so it holds an illegal reference.

Question 4) 3,400
Ans: 1727
For this the Base is 1327 and the Frame number is 400 ==> 1327+400-1727

Question 5) 4,112
Ans: Illegal reference
It is because the base value is 1952 and length is 96 Adding it will give 2048
Now add Base+FrameNumber ==> 2064 which is much greater than 2048.so it holds an illegal reference.

(Feel free to drop me a comment, If you need any help)

Hope this Helps!!!
Please upvote as well, If you got the answer?
If not please comment, I will Help you with that...


Related Solutions

Consider the following investment project: Year 0 1 2 Cash Flow -250 600 -360 Make an...
Consider the following investment project: Year 0 1 2 Cash Flow -250 600 -360 Make an NPV Profile and graph the NPV with a discount rate equal to 0%, 5%, 10%, 15%, 20%, 25% and 30% to determine approximately where the IRR’s are for this project and indicate when this project should be accepted.
Consider the IVP x' = t^2 +x^2, x(0) = 1. Complete the following table for the...
Consider the IVP x' = t^2 +x^2, x(0) = 1. Complete the following table for the numerical solutions of given IVP with step-size h = 0.05. t - x by Euler’s Method - x by Improved Euler’s Method 0 -    1 - 1 0.05 - …….    - ……... 0.1 -    ……. - ……..
14. Following is project A's cash flow table Year Cash Flow 0 -26,000 1 6,200 2...
14. Following is project A's cash flow table Year Cash Flow 0 -26,000 1 6,200 2 6,200 3 6,200 4 6,200 5 9,700 Assuming that the project is found by 40% of equity and 60% of debt. The required rate of return of equity is 10%. The yield of debt is 6% and the tax rate is 30%. Using the above information to answer Q1 - Q4. Q1) What is the WACC of this project? a)6.52% b)4% c)7.43% d)5% Q2)...
We consider a monocentric city represented by a segment x 2 [0,xf ] where 0 stands...
We consider a monocentric city represented by a segment x 2 [0,xf ] where 0 stands for the CBD where everybody works and earns a uniform (exogenous) urban wage w >0 and xf is the city fringe. The rural wage a is normalized to zero. Agents located at a distance x from the CBD pay a rent R(x). The utility of an agent is her disposable income. 1 Fixed commuting cost 1.1 Private transportation Agents drive to the CBD and...
Consider the matrix A = [2, -1, 1, 2; 0, 2, 1, 1; 0, 0, 2,...
Consider the matrix A = [2, -1, 1, 2; 0, 2, 1, 1; 0, 0, 2, 2; 0, 0, 0, 1]. Find P, so that P^(-1) A P is in Jordan normal form.
4) Consider total cost and total revenue given in the following table: Quantity 0 1 2...
4) Consider total cost and total revenue given in the following table: Quantity 0 1 2 3 4 5 6 7 7 Total Cost $120 150 160 170 190 230 300 410 610 Total Revenue $0 70 140 210 280 350 420 490 560 A. Create a table that includes the fixed cost at each level of output as well as the variable cost at each level of output. If capital is fixed and the firm uses 10 units of...
Year Cash Flow 0 $0 1 $250 2 $400 3 $500 4 $600 5 $600 What...
Year Cash Flow 0 $0 1 $250 2 $400 3 $500 4 $600 5 $600 What is the present (Year 0) value if the opportunity cost (discount) rate is 10 percent? Add an outflow (or cost) of $1,000 at Year 0. What is the present value (or net present value) of the stream?
Consider the following table: Defects in batch Probability 0 0.30 1 0.28 2 0.21 3 0.09...
Consider the following table: Defects in batch Probability 0 0.30 1 0.28 2 0.21 3 0.09 4 0.08 5 0.04 Find the standard deviation of this variable. 0.67 1.49 1.99 1.41 Question 5 (CO 4) Twenty-two percent of US teens have heard of a fax machine. You randomly select 12 US teens. Find the probability that the number of these selected teens that have heard of a fax machine is exactly six (first answer listed below). Find the probability that...
Consider the following page reference string: 0, 1, 2, 3, 1, 0, 4, 5, 1, 0,...
Consider the following page reference string: 0, 1, 2, 3, 1, 0, 4, 5, 1, 0, 1, 2, 6, 5, 2, 1, 0, 1, 2, 5 How many page faults would occur for the following replacement algorithms, assuming one, three, five, and seven frames? Remember that all frames are initially empty, so your first unique pages will cost one fault each. Optimal replacement LRU replacement CLOCK replacement FIFO replacement
Consider the following table: Price Output Total Cost $200 0 $300 $180 1 $320 $160 2...
Consider the following table: Price Output Total Cost $200 0 $300 $180 1 $320 $160 2 $348 $140 3 $381 $120 4 $421 $100 5 $466 All answers should be a whole integer. DO NOT put a dollar sign. The Average Fixed Cost of producing 4 units of output is _________ The Average Variable Cost of producing 2 units of output is ________ The Marginal Cost of the fourth unit of output is ________ The profit-maximizing quantity is _______ The...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT