Documente Academic
Documente Profesional
Documente Cultură
Please make sure that this question paper has TWELVE (12) printed pages including this
front page before you start the examination.
[Si/a pastilcan kertas soalan ini mengandungi DUA BELAS (12) mulca surat yang bercetak termasuk mulca
hadapan sebelum anda memulalcan peperiksaan ini.}
This question paper has SIX (6) questions. Answer only FIVE (5) questions.
[Kertas soalan ini mengandungi ENAM (6) soalan. Jawab hanya LIMA (5) soa/an sahaja.]
Section A: This section has FOUR (4) questions. Answer ALL questions. (80 marks)
[Bahagian A : Bahagian ini ada EMPAT (4) soo/an. Jawab SEMUA soa/an. (80 markah)
SULIT
Dicetak oleh Unit Peperiksaan dan Pengijazahan. Bahagian Pengurusan Akademi/c, Jabatan Pendaftar
SULIT
(EKT 335)
-2-
Question I
/Soala" I}
(4 Marks/Markah)
... 3/12
SULIT
Dicetak oleh Unit Peperiksaan dan Pengijazahan, Bahagian Pengwusan Akademik, Jahatan Pendaftar
SULIT
(EKT 335)
-3-
(iii) Suppose now the packet is 1,500 bytes, the propagation speed on all four
links is 2.5 x 108 mis, the transmission rates of all links is 2 Mbps, the
packet switch processing delay is 3 msec, the length of the first link is
5,000 km, second link is 4,000 km, third link is 2,000 km and the last
link is 3,000 km, calculate the value for end-to-end delay.
[Katakan sekarang paket adalah 1500 bytes, kelajuan perambatan pacia semua empat
pautan adalah 2.5 x 108 m/s, kadar penghantaran semua pautan adalah 2 Mbps,
kelewatan pemprosesan suis paket 3 msec, panjang pautan perlama adalah 5,000 lan,
pautan kedua ialah 4,000 kin, pautan ketiga ialah 2,000 kin dan pautan terakhir ialah
3,000 lan, hitung nilai kelewatan hujung-ke-akhir.}
(4 MarksiMarkah)
(6 MarksiMarkah)
SULIT
Dicetak oleh Unit Peperiksaan dan Pengijazahan, Bahagian Pengurusan Akademi/c, Jabatan Pendaftar
SULIT
(EKT33S)
-4-
Question 2
{SoaJan2j
(3 MarkslMarkah)
(4 MarksiMarleah)
SULIT
Dicetak oleh Unit Peperiksaan dan Pengijozahan, Bahagian Pengurusan Akademi/c, Jabatan Pendaftar
SULIT
(EKT 335)
-5-
Question 3
{Soa/an3j
(ii) Now suppose a sender has a lot of data to send and the end-to-end
connection experiences few losses. In this latter case, would a NAK-only
protocol be preferable to a protocol that uses ACKs? Justify your
answer.
[Sekarang andailean penghantar mempunyai banyak data untuk menghantar dan
sambungan hujung-lre-akhir mengalami beberapa lrehilangan. Dalam Ires lredua ini,
alean NAK-sahaja protoleol menjadi lebih baik untuk protoleol yang menggunalcan
ACKs? Jelasleanjawapan anda.}
(2 MarkslMarleah)
(i) Calculate the 1's complement of the sum of these 16-bit bytes.
[Kiralean pelengleap 1 daripada jumlah 16-bit bait ini.}
(3 Marks!Marleah)
SULIT
Dicetak oleh Unit Peperiksaan dan Pengijazahan, Bahagian Pengurusan Alazdemi/c, Jabatan Pendaftar
SULIT
(EKT 335)
(i) Evaluate the maximum window size (in segments) that this TCP
connection can achieve.
[Nilailcan saiz maksimum tetingkap ( dalam segmen ) yang sambungan rep ini bo/eh
mencapai.]
(3 Marks/Markah)
(ii) Calculate the average window size (in segments) and average throughput
(in bps) of this TCP connection.
{Kirakan saiz purata tetingkap ( dalam segmen) dan purata perolehan (dalam bps)
untuk sambungan rep ini.]
(4 Marks!Markah)
(iii) Rate how long would it take for this TCP connection to reach its
maximum window again after recovering from a packet loss.
{Kirakan berapa lama ia akan mengambil masa untuk sambungan TCP ini untuk
mencapai teting/cap maksimum lagi se/epas pulih daripada ~rugian paket.]
(3 Marks/Markah)
SULIT
Dicetak oleh Unit Peperiksaan dan Pengijazahan. Bahagian Pengurusan Akademi/c, Jabatan Pendaftar
SULIT
(EKT 335)
-7-
Question 4
{Soa/an 4J
Figure 1
[Rajah 1]
... 8112
SlJLIT
Dicetak oleh Unit Peperiksaan dan Pengijazahan, Bahagian Pengurusan Akademik, Jabatan Pendaftar
SULIT
(EKT 335)
-8-
Figure 2
[Rajah 2]
Construct the shortest-paths from source node A to all other nodes using
Bellman-Ford algorithm.
[Bina laluan yang singkat dari sumber nod A Ire semua nod lain menggunakan aigoritma Bellman-
FordJ
(10 MarksiMarkah)
SULIT
Dicetak oleh Unit Peperiksaan dan Pengijazahan, Bahagian PengulUSan Akademi/c, Jabatan Pend4ftar
SULIT
(EKT 335)
This section has TWO (2) questions. Answer only ONE (1) question.
[Bahagian ini mempunyai DUA (2) soa/an. Jawab hanya SATU (1) soalan.]
Question 5
/Soakln 5/
(i) Predict the possible sets of sequence numbers inside the sender's
window at time t? Justify your answer.
[Ramallran set kemungkinan nomhor urutan di da/am teting/cap penghantar pada masa
t? Jelaslranjawapan anda.]
(3 Marks/Markah)
(ii) Estimate all possible values of the ACK field in all possible messages
currently propagating back to the sender at time t. Justify your answer.
[Anggarkan semua kemungkinan nilai dalam medan ACK da/am semua mesej yang
mungkin kini menyebarkan kepada penghantar pada masa t. Jelaskan jawapan anda.]
(2 Marks/Marlrah)
... 10/12
SULIT
Dicetak oleh Unit Peperiksaan dan Pengijazahan. Bahagian Pengurusan Akademik, Jabatan Pendaftar
SULIT
(EKT 335)
-10-
(C6, C03, P02, POll)
(c) Computer X and Y are communicating over a TCP connection. All bytes up through
byte 112 received to Computer Y from Computer X. Suppose Computer X then sends
loopback two segments to Computer Y. Subsequently, first and second segments
contain 40 and 20 bytes of data, respectively. In the first segments, the sequence
number is 113, the source port number is 443 and the destination port number is 80.
Computer Y transmits an acknowledgement whenever it receives a segment from
ComputerX.
[Komputer X dan Y berkomunilu:zsi melalui sambungan TCP. Semua byte menerusi bait 112 diterirna
kepada /computer Y dari Komputer X Katakan kemudiannya Komputer X menghantar loopback duo
segmen kepada Komputer Y. Seterusnya, masing-masing segmen pertama dan kedua mengandungi 40
dan 20 bait data. Dalam segmen pertama, nombor urutan adalah 113, nombor port sumber adalah
443 dan nombor port destinasi ialah 80. Komputer Y menghantar peralcuan apabila ia menerima satu
segmen dari Komputer X}
(i) In the second segment sent from Computer X to Y, appraise what are the
sequence number, source port number, and destination port number?
{Dalam segmen keduo dihantar dari /computer X ke Y, nilai!«m nombor urutan, nombor
port sumber, dan nombor port destinasi?.j
(2 MarksiMarkah)
(ii) Decide the acknowledgement number, the source port number, and the
destination port number, presuming that the first segment arrives before
the second segment, in the acknowledgement of the first arriving
segment.
{I'entukan nombor pengakuan, nombor port sumber, dan nombor port destinasi,
menganggap bahawa segmen pertarna tiba sebelum segmen keduo, dalam pengaJcuan
segmen pertama tiba.}
(2 Marks!Markah)
SLTLIT
Dicetak oleh Unit Peperiirsaan dan Pengijazahan, Bahagian Pengurusan Akademilc, Jahatan Pendaftar
SULIT
(EKT33S)
-11-
Question 6
/Soa/on 6/
SULIT
Dicetale oleh Unit Peperiksaan dan Pengijazahan, Bahagian Pengurusan Akademi/c, Jabatan Pendajtar
SULIT
(EKT 335)
-12-
APPENDIX
lLAMP/RAN]
COURSE OUTCOMES
Ability to analyse and apply the application layer program over the
COl
Internet
Ability to develop and implement the transport layer protocol which set
CO2
up the Internet network
Ability to design and develop the IPs which are needed to transfer data
COO
from sender to receiver
PROGRAM OUTCOMES
SULIT
Dicetak oleh Unit Peperiksaan dan Pengijazahan, Bahagian Pengurusan Akademi/c, Jahatan Pendaftar