'''Originally Posted By: schroeder'''
'''Originally Posted By: RobertToney'''
Problem 6:<br><br>Suppose we are computing a CRC-15 of 1KB of data using the generating polynomial x^15+ x^14+1. Based on what we learned in class what kinds of errors would we be able to detect?<br><br>ANSWER<br>CRC-15 of 1KB using x^15+ x^14+1 will be able to detect 2 types of errors:<br>-Double bit errors, since x^15+x^14+1 does not divide x^k + 1 for k RobertToney &mdash; Wed Mar 16, 2011 6:29 pm <hr>
'''Originally Posted By: Jay_Reynolds_Freeman'''
Problem 3:<br><br>Without using try/catch, our solution was as follows:<br><br>Socket sock = new Socket( &quot;somewhere.com&quot;, 1234 );<br>InputStream is = sock.getInputStream();<br>InputStreamReader ir = new InputStreamReader( is );<br>BufferedReader rd = new BufferedReader( ir );<br>String str = rd.readLine();
'''Originally Posted By: eaon168'''
So for problem 9, each message has 3 columns: sender ID, root ID, distance to the root<br><br>Round 1:<br>node 1: 1, 1, 0<br>node 2: 2, 2, 0<br>node 3: 3, 3, 0<br>node 4: 4, 4, 0<br>node 5: 5, 5, 0<br>node 6: 6, 6, 0<br><br>Round 2:<br>node 1: 1, 1, 0<br>node 2: 2, 1, 1<br>node 3: 3, 2, 1<br>node 4: 4, 3, 1<br>node 5: 5, 4, 1<br>node 6: 6, 1, 1<br><br>Round 3:<br>node 1: 1, 1, 0<br>node 2: 2, 1, 1<br>node 3: 3, 1, 2<br>node 4: 4, 2, 2<br>node 5: 5, 1, 2<br>node 6: 6, 1, 1<br><br>Round 4:<br>node 1: 1, 1, 0<br>node 2: 2, 1, 1<br>node 3: 3, 1, 2<br>node 4: 4, 1, 3<br>node 5: 5, 1, 2<br>node 6: 6, 1, 1<br><br><br>The resulting tree will look as follow(should look like a ring with the edge between 4 and 5 removed):<br><br>1--2--3--4<br>|<br>6<br>|<br>5
'''Originally Posted By: ahii'''
Problem 1:<br><br>Packet-switched networks use a strategy called store-and-forward. Each node in a store-and-forward network first receives a complete packet over some link, stores the packet in its internal memory, and then forwards the complete packet to the next node. <br>A circuit-switched network first establishes a dedicated circuit across a sequence of links and then allows the source node to send a stream of bits across this circuit to a destination node.<br>Synchronous time-division multiplexing (STDM) is to divide time into equal-sized quanta and, in a round-robin fashion, give each flow a chance to send its data over the physical link.<br>Frequency-division multiplexing (FDM) is to transmit the data of different users over the channel at different frequencies.
'''Originally Posted By: sandybb'''
Can anyone post the answer for the following Q -<br><br>Describe how a sender knows a packet has arrived in a token ring.
'''Originally Posted By: razgriz'''
(7) Describe how the Sliding Window ARQ algorithm works.<br><br>An ARQ is an automatic repeat request, an algorithm that uses acknowledgements and timeouts to determine which frames are requested again from the sender.<br><br>The sliding window algorithm works by limiting the number of unacknowledged frames that can be sent at a time due to buffer constraints based on the sequence number assigned to each frame. This maximum limit is the window size available both to the sender and receiver.<br><br>The sender's window size / send limit is chosen such that it will keep the transmission pipe as full as possible. The sender can continue sending frames so long as it maintains that the sequence number for the last frame sent minus the sequence number for the last acknowledgement received from the receiver is less than the sender's window size. Thus the sender will not send a packet that has a sequence number outside of its window limit. Any acknowledgement the sender receives is also taken as a promise from the receiver that any frame with a lower sequence number than the acknowledgement is also received and in order.<br><br>Similarly, the receiver maintains a window size that represents the maximum number of out-of-order frames that the receiver is willing to take. Any frame received that is within the receiver window is accepted. Any frame outside the window is discarded. The receiver maintains that the largest acceptable frame, the highest sequence number acceptable, minus the last frame received is less than its window size.<br><br><br><br>Ref: 16 February 2011 lecture &quot;More Error Detection, Reliability, Ethernet&quot;<br>Sorry it took so long to get posted.
'''Originally Posted By: eaon168'''
Anyone has the answer for problem 4,10 and want to share? Thanks
'''Originally Posted By: eaon168'''
'''Originally Posted By: eturkov'''
eaon168 wrote:<br>Anyone has the answer for problem 4,10 and want to share? Thanks<br><br><br>Here is problem 10 (at least part of it):<br><br>Q: Give two different ways frame synchronization can be done in ATM. What is a self-routing fabric?<br><br>A: Self routing fabrics rely on some information in the packet header to direct each packet to its correct output. Usually a special &quot;self-routing header&rdquo; is appended to the packet by the input port after it has determined which output port the packet needs to go to. This extra header is removed before the packet leaves the switch.