A) Explain why the stuffing is needed for PPP protocol.
B)Explain why parity checking for error detection.
`Hey,
Note: Brother in case of any queries, just comment in box I would be very happy to assist all your queries
Stuffing is a method to maintain transparency in a
communications channel when certain specific bit or byte sequences
have special meaning to lower layer protocols.
For example, HDLC delimits physical frames with the 8-bit
flag sequence 01111110 (hex 7e). Without stuffing, if an
application sent this value as data the HDLC receiver would
misinterpret it as the end of a frame. So bit-synchronous HDLC
specifies that whenever 5 consecutive 1's appears in the user data
stream, a 0 is inserted (stuffed) at the transmitter before the
framing flags are added so that if the next two user data bits
happen to be '10' it cannot form a "false flag". (A run of more
than 7 1's on the channel aborts the current frame, so bit stuffing
prevents this as well).
After flag detection at the receiver, the sequence ...111110 is
converted to ...11111, i.e., the stuffed 0-bit is removed to
restore the original sequence of five user 1-bits.
An alternate byte-oriented form of HDLC is used in the
Point-to-Point (PPP) protocol, as the dialup modems for which it
was designed usually carry 8-bit bytes, not bits. This required a
different kind of stuffing rule, known as byte stuffing. When the
byte 7e hex appears in the user data stream, it is translated to
the two-byte sequence 7d 5e: the "control escape" code 7d and the
original data value 7e exclusive-ORed with 20 hex. At the receiver,
the value 7d is removed and the following byte exclusive-ORed with
20 hex to restore the original data byte 7e hex. If the user sends
7d as actual data, this becomes the two-byte sequence 7d 5d, and
the receiver similarly turns this back to the original data byte of
7d.
Parity checking uses parity bits to check that data has been transmitted accurately. The parity bit is added to every data unit (typically seven or eight bits) that are transmitted. The parity bit for each unit is set so that all bytes have either an odd number or an even number of set bits.
Parity checking is the most basic form of error detection in communications. Although it detects many errors, it is not foolproof, because it cannot detect situations in which an even number of bits in the same data unit are changed due to electrical noise. There are many other more sophisticated protocols for ensuring transmission accuracy, such as MNP and CCITT V.42.
Parity checking is used not only in communications but also to test memory storage devices. Many PCs, for example, perform a parity check on memory every time a byte of data is read.
Kindly revert for any queries
Thanks.
A) Explain why the stuffing is needed for PPP protocol. B)Explain why parity checking for error...
2. Design an even parity detection circuit. A parity bit is an error checking mechanism. Your circuit will count the number of 1's in a stream of bits. If the number of l's is even, the circuit turns on an output called y. Assume a single bit at each cycle - call the input x. Do not use an accumulator or counter. Design the even parity detection circuit using J-K flip-flops. Your answer must include: a. The state diagram. b....
Explain the theory of Purchasing Power Parity (PPP). Discuss the validity of PPP using any empirical evidence you are aware of. (in 1500 words)
Explain the theory of Purchasing Power Parity (PPP). Discuss the validity of PPP using any empirical evidence you are aware of. (in 1500 words)
Briefly explain exchange rate theories: Interest Rate Parity (IRP) and Purchasing Power Parity (PPP) and the International Fisher Effect (IFE). How do these work?
For error detection in a 3 bit data (XYZ): a) Design an odd parity generator. b) Design an odd parity checker
Please define purchasing power parity (PPP) and the reason why a good or service should cost about the same in one economy as in another. Does it seem like the law of one price in a perfectly competitive market? How do you think PPP is related to the theory of comparative advantage? Thanks.
What is the Border Gateway Protocol (BGP)? Why is it needed? Explain how it works.
Calculate the Implied Purchasing Power Parity (PPP) exchange rate for each of the below countries and explain which currencies are over-or undervalued. Actual Exchange Rate Country U.S. Japan China India Egypt Donut Price in U.S. Dollar 1.40 1.10 2.20 2.70 0.8 2.25 5.8 1.55 4.30
If Purchasing power parity (PPP) holds, a. the real exchange rate increases b. the real exchange rate decreases c. the real exchange rate does not change d. prices in the foreign country will increase
3. (20 points) Two communication 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 10111011. Will the receiver detect the error? Why or why not?