• Tidak ada hasil yang ditemukan

Q) What is the average waiting time for the processes ... - Nptel

N/A
N/A
Protected

Academic year: 2024

Membagikan "Q) What is the average waiting time for the processes ... - Nptel"

Copied!
3
0
0

Teks penuh

(1)

Q) What is the average waiting time for the processes below using FCFS scheduling.

a) 17 b) 10.5 c) 20 d) 15

Solution:

Waiting time for P1 = 0 Waiting time for P2 = 24

Waiting time for P3 = 24+3 = 27 Avg. Waiting time = (0+24+27)/3 = 17

Q) What is the average waiting time for the processes below using SRTF scheduling algorithm.

a) 4 b) 3 c) 4.25 d) 5

Solution:

(2)

SRTF is a preemptive version of SJF.

Execution order: P1(2 seconds) → P2 (2 seconds) → P3 (1 second) → P2 (2 seconds) → P4 (4 seconds) → P1 (5 seconds)

Waiting time for P1: 9 seconds Waiting time for P2: 1 second Waiting time for P3: 0 seconds Waiting time for P4: 2 seconds Avg. Waiting time = (9+1+0+2)/4 = 3

Q) The transmission delay incurred in sending a 1500 bytes packet over a 100 Mbps link is

a) 15secs

b) 120 micro secs c) 12 micro secs d) 100 secs Solution:

100 Mb​ can be sent in ​1 second 1500*8 bits ​can be sent in _____?

(1500*8)/(100*10^6) = 120 * 10^-6 = 120 micro seconds

Q) In a very lightly loaded network without many network packets and also on a very high bandwidth link, what would be the nodal delay if proessing delay is 10micro seconds and propagation delay is 100 micro seonds?

a) 110 micro seconds b) 130 micro seconds c) 150 micro seconds d) 200 micro seconds Solutions:

100 micro seconds + 10 micro seconds = 110 micro seconds

(3)

Q) If the Length of the packet to be transferred is 7.5 Mbits and the

transmission speed is 1.5Mbps, then the transmission delay from one host to the next host will be:

a) 5 seconds b) 15 seconds c) 10 seconds

d) Insufficient information Solution:

1.5 *10^6 bits​ can be sent in ​1 second 7.5 * 10^6 bits​ can be sent in _______?

(7.5*10^6)/(1.5*10^6) = 5 seconds

Referensi

Dokumen terkait

It is used to simplify the solution of the time complexity Average Case of Unique Element algorithm based on the viewpoint that discovered there is same value

The value of the pre-test in experimental group with an average 61,1 while the minimum criteria of mastery learning (KKM) for seventh grade junior high school is 67.. The sample

Average speed of animals can be calculated from the amount of pixel changed in a time interval – this is especially possible if the animals move only 2 dimensional (eg on

At the same time, the kinematics value of men's 100 meter freestyle swimming is obtained from stroke frequency SF, swimming velocity SV, stroke length SL, and stroke rate SR at a

This research aims to find out what marketing strategy is applied by Andalas Steak SMEs during the covid-19 pandemic, the obstacles faced, and the solutions for Andalas Steak.. This

18% SIMILARITY INDEX 14% INTERNET SOURCES 9% PUBLICATIONS 8% STUDENT PAPERS 1 3% 2 3% 3 2% 4 1% 5 1% 6 1% Strategy What is Interesting about Blended Learning for EFL