Find corresponding physical addresses of the following logical addresses: Address 01001 of P1. Address 00100 of P1. Address 00111 of P1. Address 00001 of P2. Address 00100 of P2. Address 10101 of P2. Address 00010 of P3. Address 11011 of P3. Address 00110 of P3.

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

The Answer to the given question is provided at the end of the question. I need you to show the full solution to get the given answer. Show all steps where necessary. 

 

  1. In a system there are 3 processes- P1 (10 bytes), P2 (6 bytes) and P3 (8 bytes) with page size of 2 bytes. Size of the main memory is 32 bytes. Page tables of processes are given below.

 

 

Page Tables 

Process P1

Process P2

      Process P3

p

f

p

f

p

f

0

7

0

15

0

2

1

12

1

13

1

6

2

1

2

9

2

3

3

5

 

3

8

4

4

 

 

Find corresponding physical addresses of the following logical addresses:

  1. Address 01001 of P1.
  2. Address 00100 of P1.
  3. Address 00111 of P1.
  4. Address 00001 of P2.
  5. Address 00100 of P2.
  6. Address 10101 of P2.
  7. Address 00010 of P3.
  8. Address 11011 of P3.
  9. Address 00110 of P3.

 

 

Answer:

  1. 9  b. 2  c. 11  d. 31  e. 18  f. Invalid page number  g. 12  h. Invalid page num.  i. 16
Process P1
f
0
1
2
3
4
Р
7
12
1
5
4
Page Tables
Process P2
f
0
1
2
р
15
13
9
0
1
2
3
Process P3
f
р
2
6
3
8
Transcribed Image Text:Process P1 f 0 1 2 3 4 Р 7 12 1 5 4 Page Tables Process P2 f 0 1 2 р 15 13 9 0 1 2 3 Process P3 f р 2 6 3 8
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