11. Error Detection and Correction

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/94

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

95 Terms

1
New cards

data

It can be corrupted during transmission.

2
New cards

errors

For reliable communication, ____ must be detected and corrected.

3
New cards

single-bit error and burst error

types of error (HINT: SB)

4
New cards

single-bit error

Only one bit in the data unit has changed.

5
New cards

burst error

2 or more bits in the data unit have changed.

6
New cards

5 bits

What is the length of error?

<p>What is the length of error?</p>
7
New cards
  • repetition

  • redundancy

  • parity check

  • cyclic redundancy check (CRC)

  • checksum

types of detection (HINT: RRPCC)

8
New cards

repetition

The simplest form of redundancy.

9
New cards

3-Repetition Code

Repeating each bit 3 times.

10
New cards

majority vote

What is the decoding rule for 3-Repetition Code?

11
New cards

3-Repetition Code

This code can correct 1 bit error per 3-bit codeword.

12
New cards

efficiency or rate of the code

The price we pay in redundancy is measured by the ____.

13
New cards

R

The efficiency or rate of the code is denoted by _.

14
New cards

R = # of information bits / # of bits in codeword

Formula for the efficiency or rate of the code (R)

15
New cards

33%

For the 3-repetition code: R = __

16
New cards

TRUE

[TRUE or FALSE] On average, the noisy channel flips 1 code bit in 100.

17
New cards

3333

The 3-repetition code makes only 1 information bit error in ____ bits.

18
New cards

100,000

The 5-repetition code makes only 1 information bit error in ____ bits.

19
New cards

2,857,142

The 7-repetition code makes only 1 information bit error in ____ bits.

20
New cards

perfect reliability

If we let the number of repetitions grow and grow, we can approach ____.

21
New cards

TRUE

[TRUE or FALSE] As the number of repetitions grows to infinity, the transmission rate shrinks to zero.

22
New cards

low storage density

As we increase the number of repetitions, this results in slow data transmission or _____.

23
New cards

error detection

It uses the concept of redundancy, which means adding extra bits for detecting errors at the destination.

24
New cards

redundancy

Error detection uses the concept of ____, which means adding extra bits for detecting errors at the destination.

25
New cards

destination

Error detection uses the concept of redundancy, which means adding extra bits for detecting errors at the _____.

26
New cards
  • parity check

  • cyclic redundancy check

  • checksum

Detection methods (HINT: PCC)

27
New cards

even-parity check

A parity bit is added to every data unit so that the total number of 1s is even.

28
New cards

odd-parity check

A parity bit is added to every data unit so that the total number of 1s is odd.

29
New cards

parity check

A parity bit is added to every data unit so that the total number of 1s is even (or odd for odd-parity).

30
New cards

retransmission

In parity check, what happens after the data is discarded due to corruption during transmission?

31
New cards

TRUE

[TRUE or FALSE] Simple parity check can detect ALL single-bit errors.

32
New cards

odd

Parity check can only detect burst errors ONLY if the total number of errors in each data unit is ____.

33
New cards

two-dimensional parity check

In this type of parity check, a block of bits is divided into rows and a redundant row of bits is added to the whole block.

34
New cards

redundant row of bits

In two-dimensional parity check, a block of bits is divided into rows and a ______ is added to the whole block.

35
New cards

accepted

In CRC, if the remainder is zero, data is ____.

36
New cards

rejected

In CRC, if the remainder is nonzero, data is ____.

37
New cards

0000

In CRC, when the leftmost bit of the remainder is zero, we must use ____ instead of the original divisor.

38
New cards

a polynomial representing a divisor

knowt flashcard image
39
New cards

polynomial

This can be used to represent a divisor.

40
New cards

standard polynomials

(HINT: CCII-AAHL)

<p>(HINT: CCII-AAHL)</p>
41
New cards

TRUE

[TRUE or FALSE] The CRC is the remainder.

42
New cards

0

In CRC, if the remainder is ___, it means there were no transmission errors.

43
New cards

CRC-12

It has a degree of 12, will detect all burst errors affecting an odd number of bits, will detect all burst errors with a length less than or euqal to 12, and will detect, 99.97% of the time, burst errors with a length of 12 or more.

44
New cards

99.97%

CRC-12 has a degree of 12, will detect all burst errors affecting an odd number of bits, will detect all burst errors with a length less than or euqal to 12, and will detect, ___% of the time, burst errors with a length of 12 or more.

45
New cards

checksum

It is another relatively simple form of redundancy error checking where each character has a numerical value assigned to it.

46
New cards

checksum

The characters within a message are combined together to produce an error-checking character or _____, which can be as simple as the arithmetic sum of the numerical values of all the characters in the message.

47
New cards

TRUE

[TRUE or FALSE] Checksum takes place in both the sender and receiver.

48
New cards

accepted, rejected

In checksum, if the result is 0, data is ___; otherwise, ____.

49
New cards
  • Unit is divided into k sections, each of n bits.

  • All sections are added using one’s complement to get the sum.

  • Sum is complemented and becomes the checksum.

  • Checksum is sent with the data.

In checksum, the sender follows these steps: (HINT: UASC)

50
New cards
  • Unit is divided into k sections, each of n bits.

  • All sections are added using one’s complement to get the sum.

  • Sum is complemented.

  • If the result is zero, data is accepted; otherwise, rejected.

In checksum, the receiver follows these steps: (HINT: UASI)

51
New cards

k sections

In checksum, the unit is divided into ____, each of n bits.

52
New cards

one’s complement

In checksum, all sections are added using _____ to get the sum.

53
New cards

complemented

In checksum, the sum is _____.

54
New cards

1s

In checksum, when the receiver adds the k sections, it will get all __, which, after complementing, is all 0s and shows there is no error.

55
New cards
  • retransmission

  • burst error correction

  • automatic-repeat-request (ARQ)

  • forward error correction (FEC)

types of correction (HINT: RBAF)

56
New cards

data and redundancy bits

knowt flashcard image
57
New cards

retransmission

It is when a receive station requests the transmit station to re-send a message (or a portion of a messgae) when the message is received in error.

58
New cards

ARQ

Because the receive terminal automatically calls for a retransmission of the entire message, retransmission is often called ____.

59
New cards

discrete ARQ and continuous ARQ

2 types of ARQ

60
New cards

discrete ARQ

It uses acknowledgment to indicate the successful or unsuccessful reception of data.

61
New cards

positive and negative

2 basic types of acknowledgments

62
New cards

continuous ARQ

It can be used when messages are divided into smaller blocks or frames that are sequentially numbered and transmitted in succession, without waiting for acknowledgments.

63
New cards

smaller blocks or frames

Continuous ARQ can be used when messages are divided into _____ that are sequentially numbered and transmitted in succession, without waiting for acknowledgments.

64
New cards

continuous ARQ

It allows destination station to asynchronously request the retransmission of a specific frame (or frames) of data and still be able to reconstruct the entire message once all frames have been successfully transported thru the system.

65
New cards

asynchronously

Continuous ARQ allows destination station to _____ request the retransmission of a specific frame (or frames) of data and still be able to reconstruct the entire message once all frames have been successfully transported thru the system.

66
New cards

selective repeat

Continuous ARQ is sometimes called _____.

67
New cards

transmitter

ARQ procedures require the _____ to resend the portions of the exchange in which error have been detected.

68
New cards

receiver

It discards frames in which errors are detected.

69
New cards

receiver

For frames in which no error was detected, the ____ returns a positive acknolwedgment to the sender.

70
New cards

negative

For the frame in which errors have been detected, the receiver returns _____ acknowledgment to the sender.

71
New cards

sender

It retransmits the frames in which the receiver has identified errors.

72
New cards

sender

After a pre-established time, the ______ retransmits a frame that has not been acknowledged.

73
New cards
  • stop-and-wait

  • go-back-n

  • selective-repeat

3 common ARQ techniques (HINT: SGS)

74
New cards

stop-and-wait

The sender sends a frame and waits for acknowledgment from the receiver.

75
New cards

stop-and-wait

This ARQ technique is slow.

76
New cards

stop-and-wait

This ARQ technique is suited for half-duplex connection.

77
New cards

half-duplex connection

Stop-and-wait is suited for _______.

78
New cards

go-back-n

The sender sends frames in a sequence and receives acknowledgments from the receiver.

79
New cards

go-back-n

On detecting an error, the receiver discards the corrupted frame, and ignores any further frames.

80
New cards

go-back-n

The receiver notifies the sender of the number of frames it expects to receive.

81
New cards

TRUE

[TRUE or FALSE] In Stop-and-Wait protocol, no specific order is needed at receiver end. In Go-Back-N protocol, in-order delivery only are accepted at receiver end.

82
New cards

go-back-n

On receipt of information, the sender begins re-sending the data sequence starting from that frame.

83
New cards

go-back-n

This technique is faster than stop-and-wait technique.

84
New cards

selective-repeat

It is used on duplex connections.

85
New cards

selective-repeat

The sender only repeats those frames for which negative acknowledgments are received from the receiver, or no acknowledgment is received.

86
New cards

TRUE

[TRUE or FALSE] In selective-repeat, the appearance of a repeated frame out of sequence may provide the receiver with additional complications.

87
New cards

TRUE

[TRUE or FALSE] Go-Back-N protocol re-transmits all the frames whereas Selective Repeat protocol re-transmits only that frame which is damaged.

88
New cards

forward error correction (FEC)

It employs special codes that allow the receiver to detect and correct a limited number of errors without referring to the transmitter.

89
New cards

forward error correction (FEC)

Possible for the receiver to detect and correct errors without reference to the sender.

90
New cards

adding more bits

FEC’s ability to correct errors without reference to the sender is bought at the expense of ______.

91
New cards

forward error correction (FEC)

The only error-correction scheme that actually detects and corrects transmission errors when they are received without requiring a retransmission.

92
New cards

redundant bits

With FEC, ____ are added to the message before transmission.

93
New cards

redundant bits

In FEC, when an error is detected, the ______ are used to determine which bit is in error.

94
New cards

complementing

In FEC, correcting the bit is a simple matter of ______ it.

95
New cards

FEC example

knowt flashcard image