tutorial-2_semA2023_student
pdf
keyboard_arrow_up
School
City University of Hong Kong *
*We aren’t endorsed by this school
Course
5222
Subject
Electrical Engineering
Date
Nov 24, 2024
Type
Pages
3
Uploaded by modalinghu
Tutorial 2, CS5222, Sem A, 2023-24
1.
In this problem, we consider sending real-time voice from Host A to Host B over a
packet-switched network (VoIP). Host A converts analog voice to a digital 128 kbps bit
stream on the fly. Host A then groups the bits into 64-byte packets. There is one link
between Host A and B; its transmission rate is 4 Mbps and its propagation delay is 8
msec. As soon as Host A gathers a packet, it sends it to Host B. As soon as Host B receives
an entire packet, it converts the packet’s bits to an analog signal. How much time elapses
from the time a bit is created (from the original analog signal at Host A) until the bit is
decoded (as part of the analog signal at Host B)? (note: 128 kbps = 128*10
3
bps, 4Mbps =
4*10
6
bps)
A) 2.08 msec
B) 6.08 msec
C) 9.128 msec
D) 12.128 msec
2.
a) Consider a packet of length
L
which begins at end system A and travels over three links
to a destination end system. These three links are connected by two packet switches. Let
d
i
,
s
i
, and
R
i
denote the length, propagation speed, and the transmission rate of link
i
, for
i
= 1, 2, 3. The packet switch delays each packet by
d
proc
. Assuming no queuing delays, in
terms of
d
i
,
s
i
, and
R
i
, (
i
= 1,2,3), and L, what is the total end-to-end delay for the packet?
A)
L/(R
1
+ R
2
+ R
3
)+ d
1
/s
1
+ d
2
/s
2
+ d
3
/s
3
+ 2d
proc
B)
L/R
1
+ L/R
2
+ L/R
3
+ d
1
/s
1
+ d
2
/s
2
+ d
3
/s
3
+ 2d
proc
C)
LR
1
+ LR
2
+ LR
3
+ d
1
s
1
+ d
2
s
2
+ d
3
s
3
+ 2d
proc
D)
LR
1
+ LR
2
+ LR
3
+ d
1
s
1
+ d
2
s
2
+ d
3
s
3
b) Suppose now packet is 1,500 bytes, the propagation speed on all three links is 2.5*10
8
m/s, the transmission rates of all three links are 2 Mbps, the packet switch processing
delay is 3 msec, the length of the first link is 5,000 km, the length of the second link is
4,000 km, and the length of the last link is 1,000 km. For these values, what is the end-to-
end delay? (Note that M = 10
6
, k = 10
3
)
A) 24 msec
B) 64 msec
C) 86 msec
D) 96 msec
Tutorial 2, CS5222, Sem A, 2023-24
3.
In the above problem, suppose
R
1
=
R
2
=
R
3
= R and
d
proc
= 0. Further suppose the packet
switch does not store-and-forward packets but instead immediately transmits each bit it
receives before waiting for the entire packet to arrive. What is the end-to-end delay?
A) 16 msec
B) 26 msec
C) 36 msec
D) 46 msec
4.
A packet switch receives a packet and determines the outbound link to which the packet
should be forwarded. When the packet arrives, one other packet is halfway done being
transmitted on this outbound link and four other packets are waiting to be transmitted.
Packets are transmitted in order of arrival. Suppose all packets are 1,500 bytes and the
link rate is 2 Mbps. What is the queuing delay for the packet? (Note that M = 10
6
.)
A) 27 msec
B) 37 msec
C) 47 msec
D) 57 msec
More generally, what is the queuing delay when all packets have length
L
, the transmission
rate is
R
,
x
bits of the currently-being-transmitted packet have been transmitted, and
n
packets are already in the queue?
Tutorial 2, CS5222, Sem A, 2023-24
5.
The
command (in Windows) or
command (in Mac/Unix/Linux)
is one of the key diagnostic tools for TCP/IP. It displays a list of all the routers that a
packet must go through to get from the computer where tracert is run to any other
computer on the Internet. To use the command, type the tracert (or traceroute)
command followed by the host name of the computer to which you want to trace the
route in the command prompt. E.g.,
OR
Answer the following questions:
a.
What is the meaning of each column in the traceroute output?
b.
Why do we see “*” sometimes?
c.
Why is the round-trip delay of router N sometimes longer than the round-trip delay
of router N+1 (e.g., the delays to Router 3 are larger than the delays to Router 4)?
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
Given that the base address is FoH.
1. Create a new asm project “Lab2_Q1.asm". Assume that port A of 8255A PPI is
connected to 8085. Write assembly code to send the value of FFH to FoH. Enter a delay
of 2 ms for each transmission.
arrow_forward
Q.3) You want to transmit the message &$
a. Encode this textual message into a sequence of bits, using 6-bit ASCII coding, followed
by a seventh bit for error detection, per character. The seventh bit is chosen so that the
total sum of bits using XNOR gate is zero How many total bits are there in the message?
b. Assuming the bit duration 10 ms, plot the Dicode RZ line code.
c. Assuming the bit duration = 10 ms, plot the Bi--M code.
d. Assuming the bit duration
10 ms, plot the Miller line code.
arrow_forward
3. Some GPS receivers use 1 bit ADCS (Analog-to-digital Converters) to sample and quantize the
signal i.e. the output of the ADC is simply 2 quantization levels: -1 or +1. This is typically done
to save on power.
(a) What is the quantization SNR? How does it compare to typical thermal noise SNR of a GPS
signal before correlating with the CDMA code?
(b) Justify, how come it is possible to sample the signal using a single bit and still get good
performance.
arrow_forward
The following data are transmitted in a serial communication system (P is the parity
bit). What parity is being used in each case?
a. ABCDEFGHP = 010000101
b. ABCDEFGHP = 011000101
c. ABCDP = 01101
d. ABCDEP = 101011
e. ABCDEP = 111011
arrow_forward
Answer in text format only!!
arrow_forward
(3) Five telemetry signals, each of bandwidth 1kHz, are to be transmitted
simultaneously by binary PCM. The maximum tolerable error in sample
amplitudes is 0.2% of the peak signal amplitude. The signals must be sampled at
least 20% over the Nyquist rate. Framing and synchronizing require an additional
0.5% extra bits. Determine the minimum possible data rate that must be
transmitted, and the minimum bandwidth required to transmit this signal.
arrow_forward
Plz solve it
arrow_forward
A PCM-TDM system multiplexes 24 voice-band channels. Each sample is encoded into seven bits, and a framing bit is added to each frame. The sampling rate is 10000 samples per second. BPRZ-AMI encoding is the line format. Determine the line speed in bits per second.
Upload
arrow_forward
a) i) Determine the number of bits per level required when using FSK with 4 different
frequencies and QAM with a constellation of 256 points.
ii) We want to digitise a signal that contains frequencies between 100 Hz and 1500
Hz, assuming 16 bits per sample. The digitised signal will be transmitted using a
QPSK process. Determine the bit rate and the level rate.
iii) We need to send 210,000 bits per second over a noiseless channel using 128-
QAM. Determine the required bandwidth.
arrow_forward
4. The binary sequence
101010111101010100001111 is applied
to the DPSK transmitter, by using two different differentially
encoded sequences (Hint by changing the arbitrary value 0
and 1):
a. Sketch the resulting waveform at the transmitter
output.
b. By applying each of these waveforms to the
DPSK receiver, show that, in the absence of
noise, the original binary sequence is restricted
at the receiver output.
arrow_forward
This elementary problem begins to explore propagation delay and transmission delay, two central Concepts in data networking. Consider two hosts, A and B, connected by a single link of rate R Suppose that the two hosts are separated by m meters, and suppose the propagation along the link is s meters/sec. Host A is to send a packet of size L bits to Host B.
Express the propagation delay, dprop, in terms of m and
Determine the transmission time of the packet dtrans, in terms of L and
Ignoring processing and queuing delays, obtain an expression for the end--‐to--‐ end delay.
Suppose Host A begins to transmit the packet at time t=0. At time t=dtrans, where is the last bit of the packet?
Suppose dprop is greater than dtrans. At time t=dtrans, where is the first bit of the packet?
Suppose dprop is less than dtrans. At time t=dtrans, where is the first bit of the packet?
Suppose s=2*109, L=1024 bits, and R=256 Find the distance m so that dprop equals dtrans.
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning
Related Questions
- Given that the base address is FoH. 1. Create a new asm project “Lab2_Q1.asm". Assume that port A of 8255A PPI is connected to 8085. Write assembly code to send the value of FFH to FoH. Enter a delay of 2 ms for each transmission.arrow_forwardQ.3) You want to transmit the message &$ a. Encode this textual message into a sequence of bits, using 6-bit ASCII coding, followed by a seventh bit for error detection, per character. The seventh bit is chosen so that the total sum of bits using XNOR gate is zero How many total bits are there in the message? b. Assuming the bit duration 10 ms, plot the Dicode RZ line code. c. Assuming the bit duration = 10 ms, plot the Bi--M code. d. Assuming the bit duration 10 ms, plot the Miller line code.arrow_forward3. Some GPS receivers use 1 bit ADCS (Analog-to-digital Converters) to sample and quantize the signal i.e. the output of the ADC is simply 2 quantization levels: -1 or +1. This is typically done to save on power. (a) What is the quantization SNR? How does it compare to typical thermal noise SNR of a GPS signal before correlating with the CDMA code? (b) Justify, how come it is possible to sample the signal using a single bit and still get good performance.arrow_forward
- The following data are transmitted in a serial communication system (P is the parity bit). What parity is being used in each case? a. ABCDEFGHP = 010000101 b. ABCDEFGHP = 011000101 c. ABCDP = 01101 d. ABCDEP = 101011 e. ABCDEP = 111011arrow_forwardAnswer in text format only!!arrow_forward(3) Five telemetry signals, each of bandwidth 1kHz, are to be transmitted simultaneously by binary PCM. The maximum tolerable error in sample amplitudes is 0.2% of the peak signal amplitude. The signals must be sampled at least 20% over the Nyquist rate. Framing and synchronizing require an additional 0.5% extra bits. Determine the minimum possible data rate that must be transmitted, and the minimum bandwidth required to transmit this signal.arrow_forward
- Plz solve itarrow_forwardA PCM-TDM system multiplexes 24 voice-band channels. Each sample is encoded into seven bits, and a framing bit is added to each frame. The sampling rate is 10000 samples per second. BPRZ-AMI encoding is the line format. Determine the line speed in bits per second. Uploadarrow_forwarda) i) Determine the number of bits per level required when using FSK with 4 different frequencies and QAM with a constellation of 256 points. ii) We want to digitise a signal that contains frequencies between 100 Hz and 1500 Hz, assuming 16 bits per sample. The digitised signal will be transmitted using a QPSK process. Determine the bit rate and the level rate. iii) We need to send 210,000 bits per second over a noiseless channel using 128- QAM. Determine the required bandwidth.arrow_forward
- 4. The binary sequence 101010111101010100001111 is applied to the DPSK transmitter, by using two different differentially encoded sequences (Hint by changing the arbitrary value 0 and 1): a. Sketch the resulting waveform at the transmitter output. b. By applying each of these waveforms to the DPSK receiver, show that, in the absence of noise, the original binary sequence is restricted at the receiver output.arrow_forwardThis elementary problem begins to explore propagation delay and transmission delay, two central Concepts in data networking. Consider two hosts, A and B, connected by a single link of rate R Suppose that the two hosts are separated by m meters, and suppose the propagation along the link is s meters/sec. Host A is to send a packet of size L bits to Host B. Express the propagation delay, dprop, in terms of m and Determine the transmission time of the packet dtrans, in terms of L and Ignoring processing and queuing delays, obtain an expression for the end--‐to--‐ end delay. Suppose Host A begins to transmit the packet at time t=0. At time t=dtrans, where is the last bit of the packet? Suppose dprop is greater than dtrans. At time t=dtrans, where is the first bit of the packet? Suppose dprop is less than dtrans. At time t=dtrans, where is the first bit of the packet? Suppose s=2*109, L=1024 bits, and R=256 Find the distance m so that dprop equals dtrans.arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Delmar's Standard Textbook Of ElectricityElectrical EngineeringISBN:9781337900348Author:Stephen L. HermanPublisher:Cengage Learning
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning