Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

bottleneck link; any queue will now form at Rl. The \"path bandwidth\" is 1 pack

ID: 3679309 • Letter: B

Question

bottleneck link; any queue will now form at Rl. The "path bandwidth" is 1 packet/second, and the RTT is 4 seconds. Questions: provided a winsize=3, complete the following table whenever there is a packet available. 4.Find the CRC-12 code for the data sequence (message) 101010101010101010101010. Verify a zero residual with no errors on the channel. Verify failure detection when bit 3 (from the right) is in error. Show your calculations. 5.Describe each of the layers of The Open Systems Interconnection (OSI) reference model and provide examples of protocols which belong to each of the layers?

Explanation / Answer

4)

Algorithm


unsigned short crcFast(unsigned char const message[], int nBytes)
{
    unsigned short remainder = 0x0000;
    unsigned char data;
    int byte;

    for (byte = 0; byte < nBytes; ++byte)
    {
        data = message[byte] ^ (remainder >> 4);
    remainder = crcTable[data] ^ (remainder << 8);
    }


    return (remainder ^ 0);

}

CRC-12 is used for transmission of 6-bit character streams, and the others are
for 8-bit characters, or 8-bit bytes of arbitrary data.

CRC-12 : x12 + x11 + x3 + x2 + x + 1

If we check 101010101010101010101010 that is invalid CRC.