CSE 320MidBSummer22
CSE 320MidBSummer22
SET B
Name: ID: Section:
1. CO1 a) Complete the frames (X & Y) given below with appropriate port, IP and 4
MAC addresses. The sender Host E has two applications running; one for
email with port number 57150 and the other for accessing the web server
with port number 52044. The frame X is intended for the BRACU Web
server and frame Y is coming from the Email Server. (MAC addresses are
alphabets and IP addresses are numbers)
Frame X
Frame Y
2. CO2 a) If a periodic signal is decomposed into six sine waves with frequencies of 5
126, 348, 544, 896, 957 and 1900 Hz, what is its bandwidth? Draw the
spectrum (frequency-domain representation), assuming all components have
a maximum amplitude of 20 V.
b) Suppose the lower frequency of a channel is 1863 MHz, and the higher 5
frequency of the channel is 1931 MHz. If the upper limit of the bit rate is
about 38.7 Mbps, what is the signal to noise ratio in dB?
3. CO2 a) Construct a mapping table for a 3B/4B Block Coder with the following rules. 5
You can ignore the control sequences, just construct the table for encoded
sequences. While choosing the encoded sequences, make sure to follow the
rules specified below:
● The encoded sequences can’t have three consecutive zeros (0) in the
table
● If first bit is 1, it has to be followed by a 0 (i.e. You can consider
encoded sequences that start with “10”)
● If the first bit is 1, it cannot be followed by a 1 (i.e. Ignore encoded
sequences that start with “11”)
● “0111” is reserved for control sequence and can’t be used in the
mapping.
b) The following table depicts a sampled analog signal for digital signal 5
representation. By applying the concept of Pulse Code Modulation, assume
there will be 3-bit code words for each sampled amplitude. Show the
normalized quantized value and quantization code for the given analog signal
value at different time stamps. Assume that the sampling amplitudes are
between -20V to +20V.
---END---