DATA LINK LAYER WIRED NETWORKS
DATA LINK CONTROL DLC
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
8, 1
|
|
8, 2
|
|
16, 1
|
|
16, 2
|
Detailed explanation-1: -For error detection by checksums, data is divided into fixed sized frames or segments. Sender’s End − The sender adds the segments using 1’s complement arithmetic to get the sum. It then complements the sum to get the checksum and sends it along with the data frames.
Detailed explanation-2: -The 1s complement is obtained by converting all the 0s to 1s and converting all the 1s to 0s. Thus the 1s complement of the sum 0100101011000010 is 1011010100111101, which becomes the checksum. At the receiver, all four 16-bit words are added, including the checksum.
Detailed explanation-3: -Step 1 : Break the message into four equal size blocks. Step 2 : Perform addition on all k blocks. Step 3 : If any carry is generated, simply add it in sum. Step 4 : Find the 1’s complement of the result of the sum, this is known as Checksum. Step 5 : Append Checksum in the message to send it to the receiver. 28-Aug-2022