Hamming code sample problem 3 solution

Received code:
0 1 1 1 0 1 1 0

This is not a correctly received code; it is not in the code table. However, it does have a Hamming distance of 1 from this code:
0 1 1 0 0 1 1 0

The receiver should assume that this was the transmitted code and that a single bit error occurred in bit C3. (Remember that errors can affect the check bits too!) The data bits are as follows:
D1 = 1
D2 = 0
D3 = 1
D4 = 1