You are on page 1of 12

COLLEGE OF ENGINEERING

PUTRAJAYA CAMPUS
FINAL EXAMINATION
SEMESTER I 2013/2014

PROGRAMME

: Bachelor of Electrical & Electronics Engineering (Honours)

SUBJECT CODE

: EECB423

SUBJECT

: Data Communication and Network

DATE

: August 2013

TIME

: (3 hours)

INSTRUCTIONS TO CANDIDATES:
1.

This paper contains SIX (6) questions in TWELVE (12) pages.

2.

Answer ALL questions.

3.

Write all answers in the answer booklet provided.

4.

Write answers to each question on a new page.

5.

Scientific calculators are prohibited.


THIS QUESTION PAPER CONSISTS OF 12 PRINTED PAGES INCLUDING THIS
COVER PAGE.

EECB423, Semester I 2013/2014

PART A: STRUCTURED QUESTIONS

QUESTION 1 [15 marks]

The following Figure 1 shows a sniffing capture run in a local computer.


No.

10
11

Time

1.666157
1.760113

Source

172.17.11.37
172.17.11.40

Destination

172.17.11.25
172.16.3.109

Protocol

NBNS
TCP

12

1.957625

172.17.11.46

172.17.11.25

BROWSER

13
14
15

2.270758
2.416319
2.979961

HewlettP_b8:d9:a7
172.17.11.37
172.17.11.40

Broadcast
172.17.11.25
216.239.38.21

ARP
NBNS
TCP

16

2.980320

216.239.38.21

172.17.11.40

TCP

17

2.980330

172.17.11.40

216.239.38.21

TCP

18
19

2.980395
3.180575

172.17.11.40
216.239.38.21

216.239.38.21
172.17.11.40

HTTP
TCP

20

3.181975

172.17.11.40

209.85.175.103

ICMP

21

3.182155

209.85.175.103

172.17.11.40

ICMP

Info

Name query NB DHP4_Greece<00>


ravehd > opsmgr [syn] Seq=0 Win=65535 Len=0
MSS=1460
Host Announcement DHP4_BlackHawk,
Workstation, Server, NT Workstation
Who has 172.17.11.1? Tell 172.17.11.30
Name query NB DHP4_Greece<00>
fazzt-ptp > http-alt [SYN] Seq=0 Win=65535 Len=0
MSS=1460
http-alt > fazzt -ptp [SYN,ACK] Seq=0 Ack=1
Win=8192 Len=0 MSS=1460
fazzt-ptp > http alt [ACK] Seq=1 Ack=1
Win=65535 Len=0
GET http://www.fareedascarf.com/HTTP/1.1
http-alt > fazzt ptp [ACK] Seq=1 Ack=578
Win=64240 Len = 0
74 Echo (ping) request id=0x0200, seq=15618/573,
ttl=128
74 Echo (ping) reply id=0x0200, seq=15618/573,
ttl=52

Figure 1: Sniffing capture from a local computer

Answer the following questions based on the capture above.

(a)

Identify TWO (2) protocols that are involved in an application from the
above capture.

(b)

[2 marks]

Lines 15 to 17 indicate that a process has been implemented.

(i) Examine and state the process that is shown in Lines 15 to 17.
[2 marks]
(ii) From the capture above, interpret the possible IP addresses for both
source and destination from the application in part (a).
Page 2 of 12

[2 marks]

EECB423, Semester I 2013/2014

(c)

Lines 20 to 21 show a series of ICMP messages.

(i) Explain the role of ICMP Echo Request from the capture.

[1 mark]

(ii) Identify the command that is used to initiate the request from part
(c)(i).

[1 mark]

(iii) Using the standard command you identified in part (c)(ii), predict
what happen at the next few consecutive lines of the trace.

(d)

[2 marks]

In Line 13, a protocol named ARP is seen in the capture.

(i) What is the function of ARP?

(ii) Explain what happens at Line 13.

[2 marks]

[1 mark]

(iii) Create the frame structure that shows how HewlettP_b8:d9:a7


operates the ARP in this capture from (d)(ii).

Page 3 of 12

[2 marks]

EECB423, Semester I 2013/2014

QUESTION 2 [15 marks]

The network diagram in the following Figure 2 shows an IP protocol-based network. The
network is connected to the Internet.

Figure 2: An IP-protocol based network

Answer the following questions based on the figure above.

(a)

(i) Explain the differences between a collision domain and a broadcast


domain.

[3 marks]

(ii) Copy the figure above into the answer booklet and clearly categorize the
broadcast and the collision domains respectively.

(b)

What is the default gateway of the network?

Page 4 of 12

[2 marks]

[1 mark]

EECB423, Semester I 2013/2014

(c)

The IP addresses of the router and the immediate connected router to the Internet
are 192.77.1.1/30 and 192.77.1.2/30 respectively.
Determine the network address of the WAN connection and the subnet mask.

(d)

[2 marks]

The server with IP address of 145.125.15.37 responds to a request coming from a


different network via the Internet.

Elaborate the process of encapsulation and de-capsulation of the response from


the server to the Internet router.

(e)

[3 marks]

During a troubleshooting event from a remote PC outside a network, an IP packet


has been sent to PC1 (145.125.15.10). The packet has never reached PC1.

Discuss TWO (2) possible causes that might have happened to the router.

Page 5 of 12

[4 marks]

EECB423, Semester I 2013/2014

QUESTION 3 [15 marks]

The following Figure 3 shows a popular frame format. The numbers in the brackets are in
bytes.

Preamble
(7)

SFD
(1)

A
(6)

B
(6)

080016
(2)

Information
(46 - 1500)

C
(4)

Figure 3: A frame format

Answer the following questions based on the figure above.

(a)

What frame format is Figure 3 referring to?

[2 marks]

(b)

Identify the slots marked as A, B and C respectively.

[3 marks]

(c)

The Information field holds a variable length of sequence.


Determine and prove the type of the protocol used in the payload shown in
[3 marks]

Figure 3.

(d)

C is a four-bit error detection scheme and is constructed for a four-bit


information.
The generator polynomial is G(x) = x3 + x + 1.

(i) Encode the information sequence I(x) using the generator


polynomial above if the data bit is given as 1100.

Page 6 of 12

[4 marks]

EECB423, Semester I 2013/2014

(ii) The error pattern E(x) as the sequence 1101 is received.


Determine whether the error detection scheme is capable to
perform its task.

Page 7 of 12

[3 marks]

EECB423, Semester I 2013/2014

QUESTION 4 [15 marks]


The following figure shows two LANs configuration in separate geographical areas.

LAN 1

LAN 2

Figure 4

The following questions are based on the following Figure 4.

(a) Specify the type of LAN cables to be used to connect the devices.

(i) Cable A

[1 mark]

(ii) Cable B

[1 mark]

(iii) Cable C

[1 mark]

Page 8 of 12

EECB423, Semester I 2013/2014

(iv) Cable D

[1 mark]

(v) Cable E

[1 mark]

(vi) Cable F

[1 mark]

(b) Identify the suitable type of media used to connect between the listed devices
as shown in Figure 4.

(c)

(i)

ISP to Router1 (cable distance is 150 meters)

[1 mark]

(ii)

Router0 to Switch1 (cable distance is 350 meters)

[1 mark]

(iii)

Hub0 to PC0 ( cable distance is 120 meters)

[1 mark]

(iv)

Switch1 to Server1 (cable distance is 80 meters)

[1 mark]

(v)

Switch1 to PC2 (cable distance is 190 meters)

[1 mark]

(i) What are the differences between a DCE and DTE?

[2 marks]

(ii) Give examples for a DCE-DTE pair of the following:


[1 mark]
a)

Router to router

b)

Router to host

[1 mark]

Page 9 of 12

EECB423, Semester I 2013/2014

QUESTION 5 [15 marks]

(a) How does Manchester encoding helps in achieving better synchronization?

[1 mark]

(b) Copy Table 1 into your answer booklet. Encode the following bit streams
using the given codes in the given table.

Table 1
0

NRZ

Manchester
[4 marks]

(c) There-way handshake is used to create a new TCP connection.

Draw a diagram to show the three-way TCP connection-establishment flow


between two computers. You may start with seq_num = 1000 and ack_num =
2000.

[4 marks]

(d) Explain the situation when an acknowledgment is lost or destroyed during a


data transmission.
How does acknowledgment affect data transmission?

Page 10 of 12

[2 marks]

EECB423, Semester I 2013/2014

(e) The checksum in a protocol header will be computed once before being sent
to the destination.
Should there be more error checking to be done once arriving at the receiver?
Why?

(f)

[2 marks]

Differentiate the types of flow control that are used to control how fast each
TCP sender sends data over time.

[2 marks]

Page 11 of 12

EECB423, Semester I 2013/2014

PART B: DESIGN QUESTION [25 marks]

Fareeda Boutique needs to open three new branches in Penang, Johor and Pahang. These
three branches are connected to the headquarters in Bandar Baru Bangi. As a network
consultant, you are asked by the organization to suggest the most appropriate network
planning using the VLSM method for these offices based on the following requirements.

IPv4 network address: 173.100.0.0/20

Bandar Baru Bangi needs to accommodate at least 200 hosts

Penang needs to accommodate at least 50 hosts

Johor needs to accommodate at least 100 hosts

Pahang needs to accommodate at least 25 hosts

Bandwidth requirement: 90 Mbps

Propose and design a VLSM network based on the given requirements above. Provide a
sketch and justify your design.

-END OF QUESTION PAPER-

Page 12 of 12

You might also like