GATE / CS ARCHIVE

GATE CSE 1995 / QUESTION 17(a.i)

Frame a seven-bit serial string

Computer Networks · Data Link, Framing, Error Control & ARQ · Full GATE CSE 1995 paper

GATE 1995, Q17(a.i) Descriptive
Report issue

Data Link, Framing, Error Control & ARQ

Question 17(a.i), GATE 1995: An asynchronous start-stop link uses seven data bits, one odd-parity bit and one stop bit at 1200 bits/s. Give the complete transmitted frame for data string 0110101. State bit-order convention.
Question 17(a.i), GATE 1995: An asynchronous start-stop link uses seven data bits, one odd-parity bit and one stop bit at 1200 bits/s. Give the complete transmitted frame for data string 0110101. State bit-order convention.
Tap to enlarge
Answer & solution

Answer: As-written data order: 0|0110101|1|1 = 0011010111; LSB-first numeric order: 0|1010110|1|1 = 0101011011. (no official key was published)

The data string 0110101 contains four ones. Odd parity requires the total number of ones in the data plus parity field to be odd, so the parity bit must be 1, giving five ones. In ordinary asynchronous binary framing, the line is idle high, the start bit is 0, and the stop bit is 1. The order is start, seven data bits, parity, stop.

If the supplied string lists the data in temporal transmission order, the frame is 0 | 0110101 | 1 | 1, or 0011010111. This is the direct as-written interpretation.

UARTs conventionally transmit the least significant data bit first. If 0110101 instead denotes a seven-bit numerical value written most-significant-bit first, reverse its data order to 1010110, producing 0 | 1010110 | 1 | 1, or 0101011011. Reversal does not change parity. The question does not explicitly specify how the written string maps to bit significance, so both interpretations are identified rather than silently choosing one. Neither idle time before the start nor voltage-level inversion is an additional data bit.

Original paper, page 7