Question 3- Virtual Memory 3.1 The following is a page table for a system with 12-bit...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Question 3- Virtual Memory 3.1 The following is a page table for a system with 12-bit virtual and physical addresses and 256-byte pages. Free page frames are to be allocated in the order 9, F, D. A dash for a page frame indicates that the page is not in memory. Page 0 1 12 23456789 Page Frame 0x4 0x B ΟΧΑ 0x2 0x0 0x C 0x1 Convert the following virtual addresses to their equivalent physical addresses in hexadecimal. All numbers are given in hexadecimal. In the case of a page fault, you must use one of the free frames to update the page table and resolve the logical address to its corresponding physical address. (SGG, Exo 10.17, P. 479) • Ox2A1 . 0x4E6 . 0x94A • 0x316 3.2 Apply the (1) FIFO, (2) LRU, and (3) optimal (OPT) replacement algorithms for the following page-reference strings: . 2, 6, 9, 2, 4, 2, 1, 7, 3, 0, 5, 2, 1, 2, 9, 5, 7, 3, 8, 5 0, 6, 3, 0, 2, 6, 3, 5, 2, 4, 1, 3, 0, 6, 1, 4, 2, 3, 5, 7 3, 1, 4, 2, 5, 4, 1, 3, 5, 2, 0, 1, 1, 0, 2, 3, 4, 5, 0, 1 4, 2, 1, 7, 9, 8, 3, 5, 2, 6, 8, 1, 0, 7, 2, 4, 1, 3, 5, 8 0, 1, 2, 3, 4, 4, 3, 2, 1, 0, 0, 1, 2, 3, 4, 4, 3, 2, 1, 0 Indicate the number of page faults for each algorithm assuming demand paging with three frames. (SGG, Exo 10.19, PP. 480-481) Question 3- Virtual Memory 3.1 The following is a page table for a system with 12-bit virtual and physical addresses and 256-byte pages. Free page frames are to be allocated in the order 9, F, D. A dash for a page frame indicates that the page is not in memory. Page 0 1 12 23456789 Page Frame 0x4 0x B ΟΧΑ 0x2 0x0 0x C 0x1 Convert the following virtual addresses to their equivalent physical addresses in hexadecimal. All numbers are given in hexadecimal. In the case of a page fault, you must use one of the free frames to update the page table and resolve the logical address to its corresponding physical address. (SGG, Exo 10.17, P. 479) • Ox2A1 . 0x4E6 . 0x94A • 0x316 3.2 Apply the (1) FIFO, (2) LRU, and (3) optimal (OPT) replacement algorithms for the following page-reference strings: . 2, 6, 9, 2, 4, 2, 1, 7, 3, 0, 5, 2, 1, 2, 9, 5, 7, 3, 8, 5 0, 6, 3, 0, 2, 6, 3, 5, 2, 4, 1, 3, 0, 6, 1, 4, 2, 3, 5, 7 3, 1, 4, 2, 5, 4, 1, 3, 5, 2, 0, 1, 1, 0, 2, 3, 4, 5, 0, 1 4, 2, 1, 7, 9, 8, 3, 5, 2, 6, 8, 1, 0, 7, 2, 4, 1, 3, 5, 8 0, 1, 2, 3, 4, 4, 3, 2, 1, 0, 0, 1, 2, 3, 4, 4, 3, 2, 1, 0 Indicate the number of page faults for each algorithm assuming demand paging with three frames. (SGG, Exo 10.19, PP. 480-481)
Expert Answer:
Related Book For
Accounting Information Systems
ISBN: 978-1133935940
10th edition
Authors: Ulric J. Gelinas, Richard B. Dull
Posted Date:
Students also viewed these operating system questions
-
Exercise#2: Pre-defined and User-defined functions Write the following functions: Function #1: 1) Name: Inputx 2) Parameters: no parameters 3) Job: Input a double variable and return its value...
-
You are a member of an independent consulting firm that specializes in serving the restaurant industry. Unlike many consulting firms that are extensions of audit firms, your firm has serious and in...
-
In SSL and TLS, why is there a separate Change Cipher Spec Protocol rather than including a change_cipher_spec message in the Handshake Protocol?
-
Match the following activities to the three business transactions (more than one number can be used). 1. Record to the accounts receivable subsidiary ledger. 2. Journalize the transaction. 3. Post to...
-
What is the fiduciary duty (i.e., the primary goal) for most U.S. corporations?
-
Define entrepreneurial succession and differentiate between entrepreneurial succession in family and non-family firms.
-
Edgerron Company is able to produce two products, G and B, with the same machine in its factory. The following information is available. The company presently operates the machine for a single eight-...
-
Read and evaluate the migrate with AWS article. Identify best practices you would include in your cloud-migration strategy. Also describes tools the AWS environment provides that may assist you in...
-
The Alfredo Fragrance Company produces only one product, a perfume called Hint of Elegance. Hint of Elegance consists of two secret ingredients blended into an exclusive fragrance, which is marketed...
-
Consider the simplest form of craps. In this game, we roll a pair of dice. If we roll a 7 or an 11 on the first throw, we win right away,. If we roll a 2 or a 3 or a 12, we lose right away. Any other...
-
A mechanical system consists of a cubic block of mass \(M\) and a spring of elastic constant \(k\) and negligible mass rigidly anchored above the block. The cube \(M\) is stationary on a horizontal...
-
Two identical masses \(m=0.25 \mathrm{~kg}\) are suspended from a vertical rod by two rigid bars of length \(L=20 \mathrm{~cm}\) and negligible mass (Fig. 7.17, ). When the system rotates around the...
-
A body with a mass of \(m=2.5 \mathrm{~kg}\) (including a small amount of negligible mass of explosive) is thrown vertically upwards with an initial velocity of magnitude \(v_{0}\). When it reaches...
-
Given three vectors \(\mathbf{a}, \mathbf{b}\) and \(\mathbf{b}\) show, making use of the representation with the determinant that: \((\mathbf{a} \times \mathbf{b}) \cdot \mathbf{c}=\mathbf{a}...
-
Given three vectors \(\mathbf{a}, \mathbf{b}\) and \(\mathbf{c}\) show that in intrinsic representation the magnitude: \(V=(\mathbf{a} \times\) b) - c corresponds to the volume of the parallelepiped...
-
When the communication campaign in the foreign market targets a narrow audience, a firm typically allocates its promotional resources by O focusing on BTL activities going for bottom-up spending O...
-
1. Firms may hold financial assets to earn returns. How the firm would classify financial assets? What treatment will such financial assets get in the financial statements in accordance with US GAAP...
-
The CFO of Turing Corporation is very uncomfortable with its current risk exposure related to the possibility of business disruptions. Specifically, Turing is heavily involved in e- business, and its...
-
Technology Summary 9.1 (pg. 332) describes the impact that pervasive and general controls from Chapter 8 can have on the effectiveness of controls in Figure 9.3 (pg. 323), Figure 9.4 (pg. 325), and...
-
The following is a list of 12 control plans from this chapter or from Chapters 8 and 9. Control Plans A. Enter customer order close to where customer order is prepared B. Turnaround document C....
-
A hot dog at \(5^{\circ} \mathrm{C}\) is to be cooked by dipping it in boiling water at \(100^{\circ} \mathrm{C}\). Model the hot dog as a long cylinder with a diameter of \(20 \mathrm{~mm}\). Find...
-
A finite cylinder is \(2 \mathrm{~cm}\) in diameter and \(3 \mathrm{~cm}\) long and at a temperature of \(200^{\circ} \mathrm{C}\), and is cooled in air at \(30^{\circ} \mathrm{C}\). The convective...
-
The fact that the eigenfunctions are orthogonal can be verified easily using the symbolic calculations in MATLAB or MAPLE. But the underlying theory is based on the SturmLiouville problem. You may...
Study smarter with the SolutionInn App