@lightless
2017-04-07T17:26:20.000000Z
字数 6011
阅读 12471
computer
homework
4.1 Suppose that data are stored on 1.4-Mbyte floppy diskettes that weigh 30 g each. Suppose that an airliner carries of these floppies at a speed of 1000 km/h over a distance of 5000 km. What is the data transmission rate in bits per second of this system?
a:
Each character has 20% overhead. So 10000 characters have 20000 extra bits. It would take an extra
b:
10 frames take 480 extra bits.It would take an extra
c:
d:
6.8 Two communicating devices are using a single-bit even parity check for error detection. The transmitter sends the byte 10101010 and, because of channel noise, the receiver gets the byte 10011010. Will the receiver detect the error? Why or why not?
The receiver will not detect the error. Because there are two bits has been changed.
6.14 A CRC is constructed to generate a 4-bit FCS for an 11-bit message. The generator polynomial is
a. Draw the shift register circuit that would perform this task (see Figure 6.6).
b. Encode the data bit sequence 10011011100 (leftmost bit is the least significant) using the generator polynomial and give the codeword.
c. Now assume that bit 7 (counting from the LSB) in the codeword is in error and show that the detection algorithm detects the error.
a:
b:
Data = 10011011100
a.
100100110110000 / 11001 = 11101001010 ... 1010
b.
00011011011 / 11001 = 1001 ... 1010
c.
00001011011 / 11001 = 110 ... 1101
7.2:
The number of bits on a transmission line that are in the process of actively being transmitted (i.e.,the number of bits that have been transmitted but have not yet been received) is referred to as the bit length of the line. Plot the line distance versus the transmission speed for a bit length of 1000 bits.Assume a propagation velocity of 2 * 108 m/s
Answer:
7.5:
Propagation time =
Transmission time per frame =
Propagation time =
Transmission time per frame = =
R = data rate between B and C (unknown)
So we get:
10.3:
Consider a three-stage switch such as Figure 10.6. Assume that there are a total of N input lines and N output lines for the overall three-stage switch. If n is the number of input lines to a stage 1 crossbar and the number of output lines to a stage 3 crossbar, then there are N/n stage 1 crossbars and N/n stage 3 crossbars. Assume each stage 1 crossbar has one output line going to each stage 2 crossbar, and each stage 2 crossbar has one output line going to each stage 3 crossbar. For such a configuration it can be shown that, for the switch to be nonblocking, the number of stage 2 crossbar matrices must equal
a. What is the total number of crosspoints among all the crossbar switches?
b. For a given value of N, the total number of crosspoints depends on the value of n.That is, the value depends on how many crossbars are used in the first stage tohandle the total number of input lines. Assuming a large number of input lines to each crossbar (large value of n), what is the minimum number of crosspoints for a
nonblocking configuration as a function of n?
c. For a range of N from to plot the number of crosspoints for a single-stage switch and an optimum three-stage crossbar switch.
I don't know how to answer it...:(
Sorry about that.
10.5:
Define the following parameters for a switching network:
D = propagation delay per hop in seconds
S = call setup time (circuit switching or virtual circuit) in seconds
H = overhead (header) bits per packet
P = fixed packet size, in bits
B = data rate, in bits per second (bps), on all links
L = message length in bits
N = number of hops between two given end systems
a. For compute the end-to-end delay for circuit switching, virtual circuit packet switching, and datagram packet switching. Assume that there are no acknowledgments.Ignore processing delay at the nodes.
b. Derive general expressions for the three techniques of part (a), taken two at a time (three expressions in all), showing the conditions under which the delays are equal.
Circuit Switching
Circuit Switching and Virtual Circuit Packet
Datagram and Virtual Circuit Packet Switching