onsider the following page reference string:
3, 8, 2, 9, 8, 2, 3, 9, 2, 8...
onsider the following page reference string:
3, 8, 2, 9, 8, 2, 3, 9, 2, 8
Assuming demand paging with three frames, how many page faults
would occur for the following replacement algorithms? Show your
working. (10-marks)
First in First out
Least Recently Used
Optimal Replacement
Calculate the no. of page faults for each algorithm.
(3-marks)
Which algorithm performs best for the given reference string?
(2-marks)
1. What is the average waiting time for Processes If the
Operating System uses the Shortest-Job-First...
1. What is the average waiting time for Processes If the
Operating System uses the Shortest-Job-First (SJF) Scheduling
Algorithm?
(P1=5 ms, P2=10 ms, P3=15 ms)
2. How many page faults occur in the Optimum Page Replacement
algorithm (OPR) with the following reference string for three-page
frames?
Reference String: 4,2,1,3,2,3,4,1
3. What is the average waiting time for Processes If the
Operating System uses Shortest-Job-Remaining-First (SJRF)
Scheduling Algorithm?
(P1=5 ms, P2=10 ms, P3=15 ms)
Arrival Time ( P1=0 ms, P2=5...
Consider the following:
period 1, 2, 3, 4, 5, 6, 7, 8
demand 7, 8, 9,...
Consider the following:
period 1, 2, 3, 4, 5, 6, 7, 8
demand 7, 8, 9, 10, 14, 16, 13, 16
a. using a trend projection, forecast the demand for period
9
b. calculate the MAD for this forecast
Show all work! do not use excel or phstat!!!
Consider the following random sample of data:
1, 1, 7, -5, 3, -2, 1, -9, 2,...
Consider the following random sample of data:
1, 1, 7, -5, 3, -2, 1, -9, 2, 86
a) What is the variance of the sample data?
Round your response to at least 3 decimal places.
b) If the outlier is removed, what is the variance of the
remaining sample data?
Round your response to at least 3 decimal places.
Consider the following data: 6, 8, 2, 3, 4, 4, 5, 5, 9, 6, 6, 7,...
Consider the following data: 6, 8, 2, 3, 4, 4, 5, 5, 9, 6, 6, 7,
7 ,7, 7, 8, 8, 8, 8, 9, 9.
What type of distribution is this?
Using the following data set:
10, 5, 2, 7, 20, 3, 13
a) Apply the bubble...
Using the following data set:
10, 5, 2, 7, 20, 3, 13
a) Apply the bubble sort algorithm [Show the first and
second iterations only]
b) Apply the insertion sort algorithm [Show the first
four iterations only]
Consider the following.
u =
−6, −4, −7
, v =
3, 5, 2
(a) Find the...
Consider the following.
u =
−6, −4, −7
, v =
3, 5, 2
(a) Find the projection of u onto
v.
(b) Find the vector component of u orthogonal to
v.