3213 Quiz 2 Flashcards

1
Q

MAC Address

A

Header to frame specifies address of receiver
48 bits = 6 bytes // repped as 12 hexadecimal digits

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

What is bit stuffing
What are steps

A

Used to avoid confusion / help manage
Insert 0 after a string of 5 - 1’s in frame
If next bit 0, delete bit stuffing
if 10 - flag
if 11 - error

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

Three types of MAC Address

A

Unicast - To one user in LAN (2nd digit needs to be even)
Multicast - To group of users in LAN (2nd dig odd)
Broadcast - To all users in LAN // FF:FF…:FF

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

What is ARP

A

Address Resolution Protocol
Service of getting MAC address for a specified IP address

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

ARP Table

A

IP/MAC address mappings for LAN nodes
<IP address, MAC address, Time-to-Live>
TTL = time after map is forgotten (20-60mins)

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

Describe ARP example

A

Node A wants to send frame to B
A broadcasts ARP request containing B’s IP
All machines receive req, B receives ARP req
B replies to A with MAC Address via unicast
A saves IP-to-MAC pair in ARP table

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

Frame Error in DLL
2 types of error
Probability?

A

Lost Frame: not received
Damaged Frame: bits are corrupted
Prob of Bit Error (BER) :
wireless - pb = 10^-3
copper - pb = 10^-6
fiber - pb=10^-9

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

Types of error (2)

A

Single bit errors: one bit in frame corrupted

Burst errors: two or more bits in frame corrupted

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

Error control method 1:
Detect + Automatic repeat reQuest

A

ARQ: waste of bandwidth + return channel required

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

Key idea of error control?

A

Redundancy bits: add extra bits for detect + correct

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

Block coding

A

Data stream split into blocks of datawords which then converted to code word of larger size. Error detected if code word got corrupted and is no longer apart of possible codewords in dictionary

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

Hamming distance

A

number of distance between corresponding bits
found by XORing two codewords and counting # of 1’s in result

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

Minimum hamming distance for detection

A

dmin = s + 1
Such that s errors are guaranteed to be detected in all cases

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

Minimum hamming distance for correction

A

dmin = 2t + 1
Such that t errors are guaranteed to be corrected in all cases

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

Example [ Hamming distance]
A code scheme has a Hamming distance dmin=4. What is the error detection and
error correction capability of this scheme?

A

detection - s = 3
correction - t = 1.5
Floor the results

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

Single bit parity

A

Given k bits, append a 1 such that total number of 1 bits are even
- Receiver can detect errors if there are odd numbers of 1 bits
- Position of error unknown

16
Q

Error vector

A

w(e) represents number of 1’s in error vector s.t
1 = error
0 = no error

17
Q

Probability of k bit errors

A

p(w(e)=k) = (1-pb)^n-k * pb^k

18
Q

Probablity that single parity check fails

A

P(error detection failure) =
(n choose k) * pb^k(1-pb)^n-k + “increment k” + …increment again

k = # of bit errors

19
Q
A