Chapter 5 Flashcards

1
Q

What is byte stuffing

A

Some bytes are reserved for control characters. control characters play management role in frame. They are used for start of frame and end of frame. They are used in character oriented hardware. What happens in it that when we receive transmission, transmitter replace those control characters with some fixed characters.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are 2 major types of data stuffing

A
  1. Byte stuffing

2. Bit stuffing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are transmission errors

A

Interference or power surges may destroy data during transmission. There are 2 possibilities

  1. Bits may be lost.
  2. Bit values may be changed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is error detection

A

Send additional information so that incorrect data can be detected and rejected

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is error correction

A

Send additional information so that incorrect data can be corrected and accepted

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is parity checking

A

We add some additional information of 1 bit (called parity bit). Receiver find that attached parity bits are same or not. If it is same then it is fine otherwise it will do error detection.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are 2 types of parity bits

A

Even parity

Odd parity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is even parity

A

The transmitter count the number of bits. If the all bits including parity bit are even then it is even parity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is odd parity

A

The transmitter count the number of bits. If the all bits including parity bit are odd then it is odd parity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is parity bit

A

A parity bit is an extra bit transmitted with the data item.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are other methods of error detection

A
  • The size of the additional information
  • Computational complexity of an algorithm
  • The number of bit errors that can be detected
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are 3 methods for error detection

A
  1. Parity Checking
  2. Checksum
  3. CRC (cyclic redundancy check)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

`What is checksum

A

Transmitter treats data as a sequence of integers. It sum all integers and transmit the sum to the integer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Does 8-bit, 16-bit, 32-bit can be checksum

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which error detection technique detects most number of errors and less complex

A

CRC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How CRC works

A

We treat message as polynomial in CRC.

17
Q

What are 2 parts of crc hardware

A
  1. XOR

2. Shift register

18
Q

How shift register works

A

It performs 2 operations

  1. Set all bits to 0
  2. Moves all bits to the left one position