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...
icon
Related questions
Question
100%
Can you explain every step I have an exam coming and similar questions will come ???
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
Read only
Virtual Page
page
frame
9
0
1
3
2
On disk
3
12
Segment 1
Read/execute
Virtual Page
frame
On disk
0
15
8
page
0
1
2
3
Segment 2
Read/write/execute
Access
1. fetch data
2. fetch data
3. fetch data
4. store data
Page table
not in
main
memory
5. store data
6. store data
7. branch to it
8. fetch data
9. fetch data
10. branch to it
0
1
3
0
For each of the following accesses to virtual memory, tell what physical address is
computed. If a fault occurs, tell which kind.
3
3
1
Virtual Page
frame
Segment Page
1
1
0
2
3
page
0
1
Segment 3
Read/write
3
3
1
1
0
3
2
0
14
1
6
On
Offset within page
1
10
2047
4
2
14
100
50
5
60
Transcribed Image Text: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 Read only Virtual Page page frame 9 0 1 3 2 On disk 3 12 Segment 1 Read/execute Virtual Page frame On disk 0 15 8 page 0 1 2 3 Segment 2 Read/write/execute Access 1. fetch data 2. fetch data 3. fetch data 4. store data Page table not in main memory 5. store data 6. store data 7. branch to it 8. fetch data 9. fetch data 10. branch to it 0 1 3 0 For each of the following accesses to virtual memory, tell what physical address is computed. If a fault occurs, tell which kind. 3 3 1 Virtual Page frame Segment Page 1 1 0 2 3 page 0 1 Segment 3 Read/write 3 3 1 1 0 3 2 0 14 1 6 On Offset within page 1 10 2047 4 2 14 100 50 5 60
Expert Solution
steps

Step by step

Solved in 3 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