Use the given figure below 1 2 3 1 2 3 2 Page Table k 10 11 12 13 m 14 15 Logical Мemory What is the physical address of letter "o" in decimal value?

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
100%

Correct and detailed answer will be Upvoted else downvoted. Thank you!

### Question 17

#### Use the given figure below

The figure consists of two parts: "Logical Memory" (a vertical list of letters) and a "Page Table" (a small grid).

**Logical Memory:**

| Address | Value |
|---------|-------|
| 0       | a     |
| 1       | b     |
| 2       | c     |
| 3       | d     |
| 4       | e     |
| 5       | f     |
| 6       | g     |
| 7       | h     |
| 8       | i     |
| 9       | j     |
| 10      | k     |
| 11      | l     |
| 12      | m     |
| 13      | n     |
| 14      | o     |
| 15      | p     |

The figure maps logical addresses 0-15 to corresponding letters a-p.

**Page Table:**

| INDEX | PAGE VALUE |
|-------|------------|
| 0     | 5          |
| 1     | 6          |
| 2     | 1          |
| 3     | 2          |

The page table maps logical page numbers to corresponding physical page values.

#### Question:

What is the physical address of the letter "o" in decimal value?

Options:
- 8
- 9
- 10
- 11

### Solution:

1. **Determine Logical Address:** The letter "o" is at logical address 14.
2. **Determine Page Number and Offset:**
   - Logical address 14 falls into page 3 (since 14 is in the range 12-15).
   - Offset within the page: 14 - 12 = 2.
3. **Find Physical Page Index:** From the page table, page 3 corresponds to physical page 2.
4. **Calculate Physical Address:** Combine the physical page number with the offset:
   - Physical page number 2 covers addresses (2 * 4) to (2 * 4 + 3) = 8 to 11.
   - Add the offset 2 to the base address of physical page 2:
     - Base address: 8
     - Offset: 2
     - Physical address: 8 + 2 = 10.

Thus, the physical address of the letter "o"
Transcribed Image Text:### Question 17 #### Use the given figure below The figure consists of two parts: "Logical Memory" (a vertical list of letters) and a "Page Table" (a small grid). **Logical Memory:** | Address | Value | |---------|-------| | 0 | a | | 1 | b | | 2 | c | | 3 | d | | 4 | e | | 5 | f | | 6 | g | | 7 | h | | 8 | i | | 9 | j | | 10 | k | | 11 | l | | 12 | m | | 13 | n | | 14 | o | | 15 | p | The figure maps logical addresses 0-15 to corresponding letters a-p. **Page Table:** | INDEX | PAGE VALUE | |-------|------------| | 0 | 5 | | 1 | 6 | | 2 | 1 | | 3 | 2 | The page table maps logical page numbers to corresponding physical page values. #### Question: What is the physical address of the letter "o" in decimal value? Options: - 8 - 9 - 10 - 11 ### Solution: 1. **Determine Logical Address:** The letter "o" is at logical address 14. 2. **Determine Page Number and Offset:** - Logical address 14 falls into page 3 (since 14 is in the range 12-15). - Offset within the page: 14 - 12 = 2. 3. **Find Physical Page Index:** From the page table, page 3 corresponds to physical page 2. 4. **Calculate Physical Address:** Combine the physical page number with the offset: - Physical page number 2 covers addresses (2 * 4) to (2 * 4 + 3) = 8 to 11. - Add the offset 2 to the base address of physical page 2: - Base address: 8 - Offset: 2 - Physical address: 8 + 2 = 10. Thus, the physical address of the letter "o"
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY