1 answer

Operating system CS604

Question:

Question: 3Solve each of the followingquestion:a)If the total number of framesin the main memory are 64 and the size of each frame is 64 bitsthen what will be the size of mainmemory in bytes?
b)Calculate the size of the pagetable (in bytes) if there are 8 pages and there are 256 frames inthe main memory? (assuming thatpage table just contain theinformation of |f|+|d|)c)If 8 bits are used torepresent the page number, what will be number of pages in thelogical address space of a process?

Answers

Dear,

a) If the total number of frames in the main memory are 64and the size of each frame is 64 bits then what will be the size ofmain memory inbytes?

Number of frames in main memory = 64

size of each frame =64bits

Size of main memory(in bytes)=number of frames * size of each frame

=64* 8 = 512 bytes

b) Calculate the size of the page table (in bytes) if there are8 pages and there are 256 frames in the main memory? (assuming thatpage table justcontain the information of |f|+|d|)

Sizeof page table = ?

# of pages = 8 = 23

pagetable entry sizeis 3 bytes

# of frames = 256

page tablesize = # of frames * PTE = 256 * 3 =768bytes

c) If 8 bits are used to representthe page number, what will be number of pages in the logicaladdress space of a process?

page number requires to represent = 2^3 = 8 bits

numberof pages requirestorepresent =2^3 * 2^10 =2^13 =13 bytes.

I hope this will helps you!!!!!!!!!!

.

Similar Solved Questions

1 answer
In March 2012, Daniela motor financing, offered some securities for sale to the public. Under the...
In March 2012, Daniela motor financing, offered some securities for sale to the public. Under the terms of the deal, DMF promise to repay the owner of one of the securities $500 in March of 2037, but investors would receive nothing until then. Investors paid DMF $250 for each of these securities; so...
1 answer
7 in. 7 in Problem 2: The assembly shown consists of the straight rod ABC which...
7 in. 7 in Problem 2: The assembly shown consists of the straight rod ABC which passes through and is welded to the rectangular plate DEFH. The assembly rotates about the axis AC with a angular velocity is 9 rad/s and decreases at a rate of 18 rad/s2. Knowing that the motion when viewed from C is co...
1 answer
AP9-1 statement of financial position at December 31, GUIT. ALTERNATE PROBLEMS LO9-1,9-2,4-6 AP9-1 Exxon Mobil Corporation...
AP9-1 statement of financial position at December 31, GUIT. ALTERNATE PROBLEMS LO9-1,9-2,4-6 AP9-1 Exxon Mobil Corporation Recording and Reporting Current cording and Reporting Current Liabilities with Discussion of the Effects on the Quick Ratio (P9-1) computek Lid. completed the following transac...
1 answer
Complefe the following: problem Parameters/notes Change the load: Dead -10 psf. Live - 30 psf hin...
Complefe the following: problem Parameters/notes Change the load: Dead -10 psf. Live - 30 psf hint: first trace the load W to the ends of the rods, then draw a FBD of the beam and rod and solve for reactions at C and B. Use this info to find the force in the rod. Your answer should be the diameter o...
1 answer
I need help with this
I need help with this. “What is Hamlet ‘about’?” and “What are its enduring themes and messages?”. The responses you provide do not have to be governed by the Values and Worldviews (Dialectic) approach. Substantiate your own ideas with evidence from the play. Than...
1 answer
Suppose that an algorithm has run-time proportional to 2n , where n is the input size....
Suppose that an algorithm has run-time proportional to 2n , where n is the input size. The algorithm takes 1 millisecond to process an array of size 10. How many milliseconds would you expect the algorithm take to process an array of size 20 ?...
1 answer
Outback Outfitters sells recreational equipment. One of the company’s products, a small camp stove, sells for...
Outback Outfitters sells recreational equipment. One of the company’s products, a small camp stove, sells for $150 per unit. Variable expenses are $105 per stove, and fixed expenses associated with the stove total $225,000 per month. 3.At present, the company is selling 10,000 stoves per month...
1 answer
Outline the defenses and remedies for a contravention of the fundraising rules. (company and partnership law)
outline the defenses and remedies for a contravention of the fundraising rules. (company and partnership law)...
1 answer
How do you express the following using fractional exponents: #sqrtx*sqrtt#?
How do you express the following using fractional exponents: #sqrtx*sqrtt#?...
1 answer
The following changes took place last year in Pavolik Company’s balance sheet accounts: Asset and Contra-Asset...
The following changes took place last year in Pavolik Company’s balance sheet accounts: Asset and Contra-Asset Accounts Liabilities and Stockholders' Equity Accounts Cash $ 29 D Accounts payable $ 89 I Accounts receivable $ 33 I Accrued liabilities $ 33 D Inventory $ 76 D Income t...
1 answer
The following transactions are February activities of Swing Hard Incorporated, which offers golfing lessons in the...
The following transactions are February activities of Swing Hard Incorporated, which offers golfing lessons in the northeastern United States. a. Swing Hard collected $34,400 from customers for lesson services provided in February b. Swing Hard sold a gift card for golf lessons for $175 cash in Febr...
1 answer
Return to question Problem 12-4A Calculate risk ratios (LO12-3) The following income statement and balance sheets...
Return to question Problem 12-4A Calculate risk ratios (LO12-3) The following income statement and balance sheets for Virtual Gaming Systems are provided. 3.75 points VIRTUAL GAMING SYSTEMS Income Statement For the year ended December 31, 2021 Net sales $3,086,000 Cost of goods sold 1,960,000 Gross ...
1 answer
Please include step by step and annotations where needed: where P.F. is power factor 152 2....
Please include step by step and annotations where needed: where P.F. is power factor 152 2. eferminée 250 G 271,1 VAR mS...
1 answer
Many college students study by simply repeating their notes over and over (rote rehearsal). Although this...
Many college students study by simply repeating their notes over and over (rote rehearsal). Although this method is good for processing data into STM there are other means to effectively move material into LTM. Please read the “How To Study Effectively” section in Chapter 8. Now, in one ...
1 answer
What is the CPT code(s) for this case and if any modifier(s) if applicable? of multiple...
What is the CPT code(s) for this case and if any modifier(s) if applicable? of multiple miscarriages. 6. PREOPERATIVE DIAGNOSIS: Multiple miscarriages and hemorrhaging. POSTOPERATIVE DIAGNOSIS: Metrorrhagia. Acute salpingitis, bilaterally. History of multiple PROCEDURE: Dilation and curettage. Lapa...
1 answer
Select the right answer: question: Drugs with a positive inotropic effect: a) increase heart rate b) decrease heart rate...
select the right answer: question: Drugs with a positive inotropic effect: a) increase heart rate b) decrease heart rate c) increase force of cardiac contraction d) decrease force of cardiac contraction...
1 answer
Required information Camp Rainbow offers overnight summer camp programs for children ages 10-14 every summer during...
Required information Camp Rainbow offers overnight summer camp programs for children ages 10-14 every summer during June and July. Each camp session is one week and can accommodate up to 200 children. The camp is not coed, so boys attend during the odd-numbered weeks and girls attend during the even...