Docsity

Test 1 - Given by WebCT | Computer Networks | CPSC 5157U, Exams of Computer Systems Networking and Telecommunications

Toggle sidebar
bg1
CPSC 5157 Computer Networks
Test One Given by WebCT Due Tuesday, July 4, 2006
The first two questions are based on a hypothetical network that we might call DEA (Doggie
Entertainment Audio). As dogs can hear frequencies higher than humans, this network must
reproduce frequencies up to 50,000 Hertz. The network is a digital network and uses
12–bit sampling, converting each sample into an integer between 0 and 212 – 1 (4095).
1. If the network must reproduce frequencies up to 50,000 Hz.
a) How many samples per second must be taken?
b) How many microseconds does each sample represent?
2. If the network uses 12–bit sampling at this rate
a) What is the data rate in bits per second?
b) How many distinct audio signals can be multiplexed on a single E3 digital circuit?
The answer is the integer part of a quotient, as fractional circuits are not supported.
3. Suppose that a frame formatted according to the Ethernet standard has a total length
of 100 bytes (100 octets). How many bytes (octets) are “Data in Frame”?
4. In this question, the notation X^p stands for X to the power p, so that X^3 = XXX.
Given the generator polynomial G(X) = X^5 + X^3 + X + 1
a) What is the binary string corresponding to the polynomial?
b) How many bits does the CRC remainder have?
c) Compute the CRC remainder for the single character message “3”.
Recall that the ASCII code for “3” is 0x33 or binary 0011 0011. Do not use parity.
5. Consider an adaptive (learning) bridge connecting two cable segments. We have six
computers attached to the two segments, as follows:
Segment 1: Computers A, B, and C
Segment 2: Computers D, E, and F.
For the sequence of events given below
a) Show the segment lists maintained by the bridge, that is
show the state after each event.
b) Show the action of the bridge; that is does it forward the frame
to the other segment.
1. Bridge boots and clears both segment lists
2. A sends a frame to B
3. B sends a frame to A
4. A sends a frame to C, B sends a frame to C. The two frames collide.
5. A sends a frame to C
6. C sends a frame to A.

Partial preview of the text

Download Test 1 - Given by WebCT | Computer Networks | CPSC 5157U and more Exams Computer Systems Networking and Telecommunications in PDF only on Docsity!

CPSC 5157 Computer Networks

Test One Given by WebCT Due Tuesday, July 4, 2006

The first two questions are based on a hypothetical network that we might call DEA (Doggie Entertainment Audio). As dogs can hear frequencies higher than humans, this network must reproduce frequencies up to 50,000 Hertz. The network is a digital network and uses 12–bit sampling, converting each sample into an integer between 0 and 2^12 – 1 (4095).

  1. If the network must reproduce frequencies up to 50,000 Hz. a) How many samples per second must be taken? b) How many microseconds does each sample represent?
  2. If the network uses 12–bit sampling at this rate a) What is the data rate in bits per second? b) How many distinct audio signals can be multiplexed on a single E3 digital circuit? The answer is the integer part of a quotient, as fractional circuits are not supported.
  3. Suppose that a frame formatted according to the Ethernet standard has a total length of 100 bytes (100 octets). How many bytes (octets) are “Data in Frame”?
  4. In this question, the notation X^p stands for X to the power p, so that X^3 = XXX. Given the generator polynomial G(X) = X^5 + X^3 + X + 1 a) What is the binary string corresponding to the polynomial? b) How many bits does the CRC remainder have? c) Compute the CRC remainder for the single character message “3”. Recall that the ASCII code for “3” is 0x33 or binary 0011 0011. Do not use parity.
  5. Consider an adaptive (learning) bridge connecting two cable segments. We have six computers attached to the two segments, as follows: Segment 1: Computers A, B, and C Segment 2: Computers D, E, and F. For the sequence of events given below a) Show the segment lists maintained by the bridge, that is show the state after each event. b) Show the action of the bridge; that is does it forward the frame to the other segment.
    1. Bridge boots and clears both segment lists
    2. A sends a frame to B
    3. B sends a frame to A
    4. A sends a frame to C, B sends a frame to C. The two frames collide.
    5. A sends a frame to C
    6. C sends a frame to A.