Hi, I am doing this operating system example I need help for. 1 . Given the foll
ID: 3854896 • Letter: H
Question
Hi, I am doing this operating system example I need help for.
1. Given the following physical addresses and content in memory:
add
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
con
16
15
7
21
36
0
16
44
40
20
19
3
28
8
24
0
32
0
40
8
*32
24
?
?
add
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
con
16
15
14
24
20
19
12
22
32
42
17
19
2
5
11
20
34
15
13
11
6
3
0
1
Each page has 8 words.
add is the address, con is the content
The size of the page table is: 6 (indexed 0 – 5)
The ‘?’ in the content indicates: a non-existent page.
The ‘*’ in the content indicates: that page is not currently present in memory.
Processes P1 is running.
The page table starts at physical address 16.
Process P1 references the following logical addresses in the order shown in the logical address column:
Fill in the chart below.
Use the value: ER //for a non-existent page.
Use the value: PF //for a page fault.
logical address in decimal
logical address in binary
page in binary
offset in binary
content
1
000001
000
001
32
3
000011
000
011
10
001010
001
010
18
010010
010
010
17
010001
010
001
15
001111
001
111
20
010100
010
100
29
011101
011
101
35
100011
100
011
45
101101
101
101
56
111000
111
000
55
110111
110
111
In above question, I am not sure how to populate contents column. Appreciate if someone can help.
add
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
con
16
15
7
21
36
0
16
44
40
20
19
3
28
8
24
0
32
0
40
8
*32
24
?
?
Explanation / Answer
The last two columns by defualt it was taken as 16 becuase the address starting with the 16 only and their is no refrence to that address.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.