Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( c ) 1 able 1 . 1 , 1 . 2 and 1 . 3 show exercpts of the Process Control Block for Process

(c)1able 1.1,1.2 and 1.3 show exercpts of the Process Control Block for Process
B, Process C, and Process D, respectively. Process ID 9000 is a terminal.
Table 1.1
Table 1.2
Table 1.3
Illustrate the parent-child relationship among the shell terminal, Process B,
Process C, and Process D using a simple diagram. Include details such as arrows,
process names and process IDs in your diagram.
(8 marks)
'd) For each of the following, determine the type of real-time task (hard or soft real-
time) in the application or system and briefly justify your answer:
A biped robot (i.e. two-legged) calculates data read from multiple
sensors and then determines its motors movement so that it will maintain
its balance during walking.
(2 marks)
(ii) The main task of thermal camera systems in airport is to detect travellers
with fever during the Covid-19 pandemic.
(2 marks)
(b) Assume that your main memory has a total of 6 frames. Process A and Process
B are each initially allocated frames as shown in Figure 2, where frame #4 and
frame #5 represent empty blocks.
Figure 2: Current state of memory frames
Assume the sequence of page requests arrival is A2, B4, A1, B0. Then, the
following page trace occurs (process name and its respective page number):
A3,B2,B4,B6,B7,A3,B5,A1,A0,B4
Variable Allocation and Global Replacement Scope are used. Show the steps
of each page replacement performed if:
(i) First-In-First-Out policy is used.
(5 marks)
(ii) Clock replacement policy is used. Indicate the use-bit in your answer.
Assume the use-bit in frames #0 and #3 in Figure 2 are set to 1 and
frames #1,#2, #4, and #5 are set to 0. The clock arrow is now pointing
at frame #4.
(6 marks)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database Administration The Essential Reference

Authors: Brian Laskey, David Kreines

1st Edition

1565925165, 978-1565925168

More Books

Students also viewed these Databases questions

Question

Compare the different types of employee separation actions.

Answered: 1 week ago

Question

Assess alternative dispute resolution methods.

Answered: 1 week ago

Question

Distinguish between intrinsic and extrinsic rewards.

Answered: 1 week ago