Solutions Assignment1 Seg3155 2011w
Solutions Assignment1 Seg3155 2011w
Solutions Assignment1 Seg3155 2011w
1) [10 marks] RS-232 is physical layer standard. Describe RC-232 in terms of mechanical, electrical,
functional, and procedural characteristics.
E:\data\zhao\2011w\seg3155\solutions_assignment1_seg3155_2011w.doc Page 1 of 5
The same sequence is performed by the remote computer and modem. (2) the
next step is to set up the physical connection between the sending and
receiving modems. The sending DTE activates pin 4 and sends its DCE a
request-to-send message. The DCE transmits a carrier signal to the idle
receiving modem. When the receiving modem detects the carrier signal, it
activates pin 8, the received line signal detector, telling its computer
that a transmission is about to begin. After transmitting the carrier
signal, the sending DCE activates pin 5, sending its DTE a clear-to-send
message. The remote computer and modem perform the same step. (3) then
data transmission through pin 2 and pin 3. (4) close the connection after
finishing transmission.
2) [10 marks] In the following figure, exactly one protocol data unit (PDU) in layer N is encapsulated in a
PDU at layer (N-1). It is also possible to break one N-level PDU into multiple (N-1)-level PDUs
(segmentation) or to group multiple N-level PDUs into one (N-1)-level PDU (blocking).
E:\data\zhao\2011w\seg3155\solutions_assignment1_seg3155_2011w.doc Page 2 of 5
a) In the case of segmentation, is it necessary that each (N-1)-level segment contain a copy of the
N-level header?
b) In the case of blocking, is it necessary that each N-level PDU retain its own header, or can the
data be consolidated into a single N-level PDU with a single N-level header?
a). No. This would violate the principle of separation of layers. To layer
(N – 1), the N-level PDU is simply data. The (N – 1) entity does not know
about the internal format of the N-level PDU. It breaks that PDU into
fragments and reassembles them in the proper order.
b). Each N-level PDU must retain its own header, for the same reason given
in (a).
3) [10 marks] A TCP segment consisting of 1500 bits of data and 160 bits of header is sent to the IP
layer, which appends another 160 bits of header. This is then transmitted through two networks, each
of which uses a 24-bits packet header. The destination network has a maximum packet size of 800
bits. How many bits, including headers, are delivered to the network layer protocol at the destination?
Data plus transport header plus internet header equals 1820 bits. This data
is delivered in a sequence of packets (2nd layer), each of which contains
24 bits of packet header and up to 776 bits of higher-layer headers and/or
data. Three 2nd-layer packets are needed. Total bits delivered between the
2nd layer peers = 1820 + 3 × 24 = 1892 bits. However, the total number of
bits delivered to the network layer from the 2nd layer is 1820 bit. This is
an encapsulation and de-capsulation problem.
However, this question (from book) is not so clear. So marking will
consider this.
4) [10 marks] A telephone line normally has bandwidth of 3000 Hz (300 Hz to 3300 Hz). The signal-to-
noise ratio is usually 3162 (35 dB). Calculate the theoretical highest bit rate (capacity) of this regular
telephone line.
5) [10 marks] Given that the speed of light is 3×108 m/s. A satellite is at geosynchronous orbit. How
long would it take for a signal to go from the earth station to the satellite (minimum time)? Assume
that the height of the satellite is 35,863 km.
E:\data\zhao\2011w\seg3155\solutions_assignment1_seg3155_2011w.doc Page 3 of 5
(35863*1000)/(3*10^8)=0.12 second
6) [20 marks]
a) Suppose that a digitized TV picture is to be transmitted from a source that uses a matrix of
480x500 picture elements (pixels), where each pixel can take one of 32 intensity values. Assume
that 30 pictures are sent per second. Find the source data rate R (bps).
b) Assume that the TV picture is to be transmitted over a channel with 4.5 MHz bandwidth and 35
dB signal-to-noise ratio. Find the capacity of the channel (bps).
7) [10 marks] Determine the height of an antenna for a TV station that must be able to reach customer
up to 80 km away.
8) [20 marks] A microwave transmitter has an output of 0.1 W at 2 GHz. Assume that this transmitter is
used in a microwave communication system where the transmitting and receiving antennas are
parabolas, each 1.2 m in diameters.
a) What is the gain of each antenna in decibels?
b) Taking into account antenna again, what is the effective radiated power of the transmitted signal?
c) If the receiving antenna is located 24 km from the transmitting antenna over free space path, find
the available signal power out of the receiving antenna in dBm units.
E:\data\zhao\2011w\seg3155\solutions_assignment1_seg3155_2011w.doc Page 4 of 5
pt ⎛ (4πd ) 2 ⎞ ⎛ 4πd ⎞
LdB = 10 log10 ( ) = 10 log10 ⎜⎜ ⎟ = 20 log10 ⎜⎜
2 ⎟
⎟⎟ − 10 log10 (Gr ) − 10 log10 (Gt )
pr ⎝ Gr Gt λ ⎠ ⎝ λ ⎠
⎛ 4π × 24000 ⎞
= 20 log10 ⎜⎜ ⎟⎟ − 25.46 − 25.46
⎝ c/ f ⎠
⎛ 301592.9 ⎞
= 20 log10 ⎜⎜ 9 ⎟
⎟ − 50.92
⎝ 3 × 10 /( 2 × 10 ) ⎠
8
E:\data\zhao\2011w\seg3155\solutions_assignment1_seg3155_2011w.doc Page 5 of 5