Docsity

CS/ECE 757 Fall 2007 Homework 1 - Prof. Malathi Veeraraghavan, Assignments of Computer Systems Networking and Telecommunications

Toggle sidebar
bg1
CS/ECE 757 Fall 2007
Homework 1
Instructions:
• Be sure to write your name on your submission.
• Show all your steps and state your assumptions.
• Complete the homework individually.
• Pledge: On my honor as a student I have neither given nor received aid on this exam/assignment.
(Write out and sign).
• The only help that you can get is from your class notes and the reference textbooks.
• Be neat. Unreadable solutions will not be graded.
• Number of problems: 7
• Total points: 30 points (will be scaled down for the final grade)
Due Date: Oct. 2, 2007 (submit in class, at the start of class)
Problem 1. [2 points]
Assume that the SNR of a received signal is 20dB, and that the bandwidth of the communication chan-
nel is 2.4kHz. What is Shannon’s channel capacity? [Do not forget the unit.]
Problem 2. (4 points):
A scanner has a resolution of pixels per square inch and creates 8 bits of data per pixel. This
scanner is used to scan an image into a data file. How long does it take to transfer this data file
across a 10km link? Assume that the transmission rate of the link is 100Mbps, and that the dielectric con-
stant of the medium is 1.7. Your answer should consider delays due to emission and propagation. Assume
no errors occur during the transfer, and there are no flow-control effects.
Problem 3. (6 points):
Compute the packetization delays incurred in creating a 40-byte voice packet using a 8.5kbps Truespeech
codec versus a 160-byte packet using a PCM codec. [Hint: see the Digital representation of information
slides to find the rate of a PCM codec].
a. Which packetization delay is lower?
b. Which of these two packets will experience a lower emission delay if the link transmission
rate is 64kbps?
c. Provide a formula describing the relationship between the packet sizes of the two types of
packets if we want to make the total delay (packetization plus emission) the same in both
cases. (Denote the two packet sizes, and , and express one in terms of the other.)
600 600×
8″10″×
xy
pf3

Partial preview of the text

Download CS/ECE 757 Fall 2007 Homework 1 - Prof. Malathi Veeraraghavan and more Assignments Computer Systems Networking and Telecommunications in PDF only on Docsity!

CS/ECE 757 Fall 2007

Homework 1

Instructions:

  • Be sure to write your name on your submission.
  • Show all your steps and state your assumptions.
  • Complete the homework individually.
  • Pledge: On my honor as a student I have neither given nor received aid on this exam/assignment. (Write out and sign).
  • The only help that you can get is from your class notes and the reference textbooks.
  • Be neat. Unreadable solutions will not be graded.
  • Number of problems: 7
  • Total points: 30 points (will be scaled down for the final grade)

Due Date: Oct. 2, 2007 (submit in class, at the start of class)

Problem 1. [2 points] Assume that the SNR of a received signal is 20dB, and that the bandwidth of the communication chan-

nel is 2.4kHz. What is Shannon’s channel capacity? [Do not forget the unit.]

Problem 2. (4 points): A scanner has a resolution of pixels per square inch and creates 8 bits of data per pixel. This

scanner is used to scan an image into a data file. How long does it take to transfer this data file

across a 10km link? Assume that the transmission rate of the link is 100Mbps, and that the dielectric con-

stant of the medium is 1.7. Your answer should consider delays due to emission and propagation. Assume

no errors occur during the transfer, and there are no flow-control effects.

Problem 3. (6 points): Compute the packetization delays incurred in creating a 40-byte voice packet using a 8.5kbps Truespeech

codec versus a 160-byte packet using a PCM codec. [Hint: see the Digital representation of information

slides to find the rate of a PCM codec].

a. Which packetization delay is lower? b. Which of these two packets will experience a lower emission delay if the link transmission rate is 64kbps? c. Provide a formula describing the relationship between the packet sizes of the two types of packets if we want to make the total delay (packetization plus emission) the same in both cases. (Denote the two packet sizes, and , and express one in terms of the other.)

600 × 600 8 ″ × 10 ″

x y

Problem 4. (5 points): The three parts are unrelated. a. For the information string 110110, find the CRC codeword if. Express the code- word as a binary string. b. Assume that the CRC technique is used for error detection, and that the CRC generator poly- nomial is. If a received bit string is 110110111, will the receiver conclude that the bit string is error-free? c. If the CRC generating polynomial used for encoding is , and the received bit string is 110110111, what are the check bits in this received bit string? [Hint: the problem statement says nothing about whether the received bit string is error-free or not.]

Problem 5. (6 points): Consider a data link layer protocol that uses a sliding window Go-back-N ARQ scheme and sliding-win-

dow flow-control scheme. Assume that the sending window size, , is 6 frames, and that the receiver

buffer can hold a maximum of 7 frames. Assume that the number carried in the ACK indicates the

sequence number of the next expected frame. Frame numbering starts at 0.

Make the following assumptions:

  • Each user data frame is 1500 bytes long.
  • The link rate is 1.5Mbps.

g x ( ) = x + 1

g x ( ) = x^3 + x^2 + 1

g x ( ) = x^3 + x + 1

W (^) s

Entity A Entity B

Frame 0 Frame 1 Frame 2 Frame 3 Frame 4 Frame 5 Frame 6

ACK 2, flow window = 5

ACK 4, flow window = 3

Time-out forframe 6

ACK 7, flow window = 6

Frame 6

t = t =t (^1)

Start emission at Complete emissionof frame 0 at

t =t 1 +t 2

ACK 1, flow window = 6

ACK 3, flow window = 4

ACK 5, flow window = 2 ACK 6, flow window = 1

start emitting Frame 6 (retransmission)

( t 3 ) ACK 6, flow window = 7

Receiver’s buffer has been depleted by the higher-layer allowing it to notify the sender that it has more space available now.

Dashed arrows carry ACK and flow-window values

Complete emissionof frame 6