Consider a single error correction (SEC) code that protects 8 bit words with 4 parity bits. In this case a parity bit for the entire word (pw) is added in order to provide double error detection (DED). Please assume even parity. a) Let us assume that you need to encode the following byte (the least significant bit is on the left side): Least significant bit 1 0 1 0 1 1 0 1 Use the figure below to show the encoded word. Bit position 1 2 3 4 5 6 7 200 8 9 10 11 12 13 Encoded data bits p1 p2 d1 p4 d2 d3 d4 p8 d5 d6 d7 d8 pw Encoded data → b) Let us assume that the encoded word (shown below) is read. Please determine if there is (are) error(s) in the word. If it is possible to correct, please correct. 1 2 3 4 5 6 9 10 11 12 13 7 8 p1 p2 HP d1 p4 d2 d3 d4 p8 d5d6 d7d8 pw 1 1 0 1 10 0 0 1 1 1 0 0 P1- P2= P4- P8= Pw= Please provide the information requested below. a) Please determine (either 0 or 1): P1=P2= P4= P8= and Pw= b) Please determine parity (odd or even): H parity= Now, determine if: i) There is no error, ii) There is a single error, or iii) There are two errors. Pw parity= c) If error(s), correct the encoded word (if possible).

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Consider a single error correction (SEC) code that protects 8 bit words with 4 parity bits. In this case a
parity bit for the entire word (pw) is added in order to provide double error detection (DED). Please
assume even parity.
a) Let us assume that you need to encode the following byte (the least significant bit is on the left side):
Least significant bit 1 0 1 0 1 1 0 1
Use the figure below to show the encoded word.
Bit position 1 2 3 4
5
6
7
200
8
9 10 11
12 13
Encoded data bits p1
p2
d1 p4
d2 d3 d4
p8
d5 d6 d7 d8
pw
Encoded data →
b) Let us assume that the encoded word (shown below) is read. Please determine if there is (are) error(s)
in the word. If it is possible to correct, please correct.
1 2 3 4 5 6
9 10 11 12 13
7
8
p1 p2
HP
d1
p4
d2 d3
d4 p8
d5d6
d7d8
pw
1
1 0 1
10
0
0
1 1 1 0 0
P1-
P2=
P4-
P8=
Pw=
Please provide the information requested below.
a) Please determine (either 0 or 1): P1=P2=
P4=
P8=
and Pw=
b) Please determine parity (odd or even): H parity=
Now, determine if: i) There is no error, ii) There is a single error, or iii) There are two errors.
Pw parity=
c) If error(s), correct the encoded word (if possible).
Transcribed Image Text:Consider a single error correction (SEC) code that protects 8 bit words with 4 parity bits. In this case a parity bit for the entire word (pw) is added in order to provide double error detection (DED). Please assume even parity. a) Let us assume that you need to encode the following byte (the least significant bit is on the left side): Least significant bit 1 0 1 0 1 1 0 1 Use the figure below to show the encoded word. Bit position 1 2 3 4 5 6 7 200 8 9 10 11 12 13 Encoded data bits p1 p2 d1 p4 d2 d3 d4 p8 d5 d6 d7 d8 pw Encoded data → b) Let us assume that the encoded word (shown below) is read. Please determine if there is (are) error(s) in the word. If it is possible to correct, please correct. 1 2 3 4 5 6 9 10 11 12 13 7 8 p1 p2 HP d1 p4 d2 d3 d4 p8 d5d6 d7d8 pw 1 1 0 1 10 0 0 1 1 1 0 0 P1- P2= P4- P8= Pw= Please provide the information requested below. a) Please determine (either 0 or 1): P1=P2= P4= P8= and Pw= b) Please determine parity (odd or even): H parity= Now, determine if: i) There is no error, ii) There is a single error, or iii) There are two errors. Pw parity= c) If error(s), correct the encoded word (if possible).
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY