Docsity

Chapter 2 Problem Solutions for CS 274: Bitwise XOR and Inner Product Calculations - Prof., Assignments of Data Communication Systems and Computer Networks

Toggle sidebar
bg1
CS 274 Some Chapter 2 Problem Solutions
2.50. The result is obtained by negating each of A, B, and C and then adding the three chip
sequences. The result is (+3 +1 +1 โˆ’1 โˆ’3 โˆ’1 โˆ’1 +1).
2.53. Just compute the four normalized inner products:
(โˆ’1 +1 โˆ’3 +1 โˆ’1 โˆ’3 +1 +1) ยท (โˆ’1 โˆ’1 โˆ’1 +1 +1 โˆ’1 +1 +1)/8 = 1
(โˆ’1 +1 โˆ’3 +1 โˆ’1 โˆ’3 +1 +1) ยท (โˆ’1 โˆ’1 +1 โˆ’1 +1 +1 +1 โˆ’1)/8 = โˆ’1
(โˆ’1 +1 โˆ’3 +1 โˆ’1 โˆ’3 +1 +1) ยท (โˆ’1 +1 โˆ’1 +1 +1 +1 โˆ’1 โˆ’1)/8 = 0
(โˆ’1 +1 โˆ’3 +1 โˆ’1 โˆ’3 +1 +1) ยท (โˆ’1 +1 โˆ’1 โˆ’1 โˆ’1 โˆ’1 +1 โˆ’1)/8 = 1
The result is that A and D each sent a bit 1, B sent a bit 0, and C was silent.

Partial preview of the text

Download Chapter 2 Problem Solutions for CS 274: Bitwise XOR and Inner Product Calculations - Prof. and more Assignments Data Communication Systems and Computer Networks in PDF only on Docsity!

CS 274 Some Chapter 2 Problem Solutions

2.50. The result is obtained by negating each of A , B , and C and then adding the three chip sequences. The result is (+3 +1 +1 โˆ’ 1 โˆ’ 3 โˆ’ 1 โˆ’1 +1).

2.53. Just compute the four normalized inner products: (โˆ’1 +1 โˆ’3 +1 โˆ’ 1 โˆ’3 +1 +1) ยท (โˆ’ 1 โˆ’ 1 โˆ’1 +1 +1 โˆ’1 +1 +1)/8 = 1 (โˆ’1 +1 โˆ’3 +1 โˆ’ 1 โˆ’3 +1 +1) ยท (โˆ’ 1 โˆ’1 +1 โˆ’1 +1 +1 +1 โˆ’1)/8 = โˆ’ 1 (โˆ’1 +1 โˆ’3 +1 โˆ’ 1 โˆ’3 +1 +1) ยท (โˆ’1 +1 โˆ’1 +1 +1 +1 โˆ’ 1 โˆ’1)/8 = 0 (โˆ’1 +1 โˆ’3 +1 โˆ’ 1 โˆ’3 +1 +1) ยท (โˆ’1 +1 โˆ’ 1 โˆ’ 1 โˆ’ 1 โˆ’1 +1 โˆ’1)/8 = 1 The result is that A and D each sent a bit 1, B sent a bit 0, and C was silent.