- Information
- AI Chat
Was this document helpful?
Exercise 1
Course: Computer Network
29 Documents
Students shared 29 documents in this course
University: Lebanese International University
Was this document helpful?
1. Take the second letter of your first name and convert it to
7-bit ASCII binary code. What bit do you need to add to
have even parity?
2. Take the first two letters of your country of birth and the
first two letters of your first name and convert them in
ASCII binary. You should now have a sequence of 28 bits.
What bits do you need to add and where for LRC with even
parity?
3. In a stop-and-wait error control system, Station A sends
packet 0, it arrives without error, and an ACK is returned,
but the ACK is lost. What happens next?
4. What is the hamming distance between 1100110 and
0011100?
5. What is the hamming distance of the following code:
A 01010
1
B 11010
0
C 10101
0
D 01100
1
E 11111
1
F 00000
0
G 01001