Problems 3. A segmented memory has paged segments. Each virtual address has a 2- bit segment number, a 2-bit page number, and an 11-bit offset within the page. The main memory contains 32 KB, divided into 2-KB pages. Each segment is either read- only, read/execute,read/write, or read/write/execute. The page tables and protection are as follows: Segment 0 Segment 1 Read only Read/execute Virtual Page Virtual Page page frame page frame 0 0 1 2 3 23 9 3 On disk 12 On disk 0 15 8 Segment 2 Read/write/execute Page table not in main memory Segment 3 Read/write Virtual page 0 1 2 3 Page frame 14 1 6 On disk For each of the following accesses to virtual memory, tell what physical address is computed. If a fault occurs, tell which kind.
Problems 3. A segmented memory has paged segments. Each virtual address has a 2- bit segment number, a 2-bit page number, and an 11-bit offset within the page. The main memory contains 32 KB, divided into 2-KB pages. Each segment is either read- only, read/execute,read/write, or read/write/execute. The page tables and protection are as follows: Segment 0 Segment 1 Read only Read/execute Virtual Page Virtual Page page frame page frame 0 0 1 2 3 23 9 3 On disk 12 On disk 0 15 8 Segment 2 Read/write/execute Page table not in main memory Segment 3 Read/write Virtual page 0 1 2 3 Page frame 14 1 6 On disk For each of the following accesses to virtual memory, tell what physical address is computed. If a fault occurs, tell which kind.
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...
Related questions
Question
100%
Can you explain every step I have an exam coming and similar questions will come ???

Transcribed Image Text:**Segmented Memory with Paged Segments: Understanding Virtual to Physical Address Translation**
In this problem, we examine a segmented memory system with paged segments. Each virtual address in this system consists of three parts:
- A 2-bit segment number
- A 2-bit page number
- An 11-bit offset within the page
The main memory is configured to contain 32 KB, divided into 2-KB pages. Each segment is defined with specific access permissions: read-only, read/execute, read/write, or read/write/execute. The provided page tables and protection levels for each segment are as follows:
**Segment Descriptions:**
1. **Segment 0 - Read Only**
- Virtual Page 0 maps to Physical Frame 9
- Virtual Page 1 maps to Physical Frame 3
- Virtual Page 2 is on disk
- Virtual Page 3 maps to Physical Frame 12
2. **Segment 1 - Read/Execute**
- Virtual Page 0 is on disk
- Virtual Page 1 maps to Physical Frame 15
3. **Segment 2 - Read/Write/Execute**
- Virtual Pages are currently not in page table
4. **Segment 3 - Read/Write**
- Virtual Page 0 maps to Physical Frame 14
- Virtual Page 1 maps to Physical Frame 6
- Virtual Page 2 is on disk
**Tasks:**
For each virtual memory access given, determine the physical address or fault type.
**Access Requests:**
1. Fetch data from Segment 0, Page 1, Offset 10
2. Fetch data from Segment 3, Page 1, Offset 2047
3. Store data in Segment 0, Page 3, Offset 4
4. Store data in Segment 2, Page 0, Offset 1
5. Store data in Segment 2, Page 2, Offset 0
6. Store data in Segment 3, Page 3, Offset 100
7. Branch to Segment 0, Page 1, Offset 1
8. Fetch data from Segment 3, Page 0, Offset 50
9. Fetch data from Segment 1, Page 0, Offset 5
10. Branch to Segment 1, Page 3, Offset 60
By analyzing these accesses, we can find out which
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps

Recommended textbooks for you

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 Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

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 Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

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
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY