Must provide show work and provide detailed explanations for each question.
1. age weight and height are three integer variables and a read statement says to input them in that order. Given the following input stream (commas are separators) 03 118 80 what is stored?
a. In age?
b. In weight?
c. In height?
Do the values stored in the variables seem reasonable?
If not how would you correct the problem?
Design the CRC cards for a data base for MST department at a university must use brainstorming filtering and scenarios
3. If in a fixed partition memory management system the current value of the base register is 0277 and the current value of the bounds register is 2048 compute the physical addresses that correspond to the following logical addresses:
a. 999
b. 1001
c. 2000 d. 1771
4. If in a paged memory management system the frame size is 4096 and the following page map table applies to the currently executing process compute the physical addresses that correspond to the following logical addresses:
Page
0
1
2
3
4
Frame
7
13
15
6
4
a.
b.
c.
d.
e.
5. Demonstrate how does the Page Table keeps track of the relationship between a Virtual Page and a Physical Frame?
6. Use the following table of processes:
Process
P1
P2
P3
P4
P5
Service time
10
55
30
70
25
Draw a Gantt chart that shows the completion times for each process using the following CPU scheduling:
a. First-come first-served
b. Shortest job next
c. Using round robin CPU scheduling with a time slice of 15.
7. Use the following table of processes:
Process
P1
P2
P3
P4
P5
Service time
30
40
15
25
55
Draw a Gantt chart that shows the completion times for each process using the following CPU scheduling:
a. First-come first-served
b. Shortest job next
c. Using round robin CPU scheduling with a time slice of 20.
Attachments: