Numerical on Performance Parameters - Week 1
Numerical on Performance Parameters - Week 1
Q1. Suppose a client machine A is communicating with a data center B located 8000
km away from A. How long will it take for a response sent by server to reach client
A?(Assume speed of light in cable is 2e8 m/s).
(by default 3x10^8)
—-------request—->>--------- 2e8 = 2x10^8
A B
client —-<<----- response—------- server
8000km
Latency is the delay between sending a request and receiving a response in a system
Latency = RTT
= tr+ Tr +delays at server end
= (6000 x 1000m/2 x 10^8 m/s)+ (6000 x 1000/ 3 x 10^8) + .075 s
(75/1000)
= .03+.02+.075
= .125 s
= 125 ms
Q4. A client C and the server S located, 12000 km apart are connected with the help of
a cable. A request was sent by the client C to server S, but while sending back the
response to the client, the cable breaks and the response is now sent back via air. This
change in medium caused an additional delay of 20 msec. As compared to the Round
Trip Time of the healthy network, the Round Trip Time (RTT) of the faulty system would
__________.
8 8
[The speed of light in air is 3 𝑥 10 m/s and that on a cable is 2 𝑥 10 m/s]
[MCQ: 4.5 marks]
A. Increase
B. Decrease
C. Remain Same
D. Insufficient Information
Answer. C
1 Byte =8 bits
1 KB = 1000 Byte
1 MB = 1000 KB = 10^6 Bytes
1 GB = 1000 MB = 10^6 KB = 10^9 Bytes
1 TB = 1000 GB = 10^6 MB = 10^9 KB = 10^12 Bytes
Time conversion
1sec = 1000 milliseconds
1 millisec = 10^-3 s
1 microsecond = 10^-3 millisec = 10^-6 sec
1 nanosecond =10^-3 micros =10^-6 mills= 10^-9 sec
[MCQ: 3 points]
A. 12 Mbps
B. 24 Mbps
C. 36 Mbps
D. 48 Mbps
Answer: Option B
New BW = 4000 x 9 Kb
= 36 Mbps
A. 45 MB
B. 450 MB
C. 5.6 MB
D. 56.25 MB
Answer: Option D
T—---------->-----------|----beyond range
<------ 4.5km ----->
data = 5Mb/s x 90 s
= 450 Mb
= 450/8
= 56.25 MB
Q8. Consider the following graph that represents the variation in bandwidth of a network
for an entire day (24 hours). Three users were connected to the network at three
different times of the day. What is the total data consumed in GigaBytes by all the users
in 24 hrs?
[MCQ: 4.5 points]
A. 547.2 GB
B. 12 GB
C. 43.2 GB
D. 345.6 GB
Answer: Option C
Folder: My_app
My_app
|_ home.html
|_ first.html
|_ main.html
File: home.html
File: first.html
File: main.html
A.
B.