Docsity

Assignment 1 Solved - Computer Networking II | CS 4251, Assignments of Computer Systems Networking and Telecommunications

Toggle sidebar
bg1
Chapter1:
16,17 No solutions provided. Trivial problems. Contact TAif
require solutions
Chapter 3:
Problem 17:
If two adjacent signal levels are separated by more than 2/16
then the noise cannot translate one adjacent signal into the next. The maxi-
mum range that the signal can span is +1-(-1)=2, so the maximum number of
levels is 2/(1/8)=16
Problem 18:
1. w = 2.4Khz SNR=20dB
An SNR of 20dB corresponds to a value of 100. The channel capacity
formula then gives
C
= 2400
log
2
(1 + 100) = 15979
bps
2.
C
= 2400
log
2
(1 + 10000) = 31890
bps
3.
C
= 3000
log
2
(1 + 100) = 19974
bps
4.
C
= 3000
log
2
(1 + 10000) = 39863
bps
Problem 40:
๎˜
If we rearrange the 2n information bits and the 2 parity bits into code-
words, each consisting of n information bits and a parity bit, we see that
in e๎˜‹ect wehave divided the overall codeword into two subcodewords of
lenth n+1. an error pattern is detectable if the error pattern in each sub-
codeword is detectable if the number of errors in the subcodeword is an
odd.
๎˜
An error detection failure occurs in either the ๎˜Œrst subcodeword or the
second subcodeword or both fail. Let
P
detect
(
n
+ 1) be the probabilityof
successful error detection in the single parity code of length
n
+ 1, then
P[detection failure in code of length 2n+2] =
= 1- P[successful detection in both codes of length n+1]
=1
๎˜€
P
detect
(
n
+1)
๎˜ƒ
P
detect
(
n
+1)
๎˜
No, it should not.
Problem 41:
Using polynomial arithmetic we obtain, codeword = 1001110 and
the remainder as 101 which is erroneous cause remainder on the received code-
word should be zero.
Problem 43:
The Internet checksum is calculated as:
b
0
= 1111111111111111 = 2
16
๎˜€
1 = 65535
b
1
= 1111111100000000 = 65280
b
2
= 1111000011110000 = 61680
1
pf2

Partial preview of the text

Download Assignment 1 Solved - Computer Networking II | CS 4251 and more Assignments Computer Systems Networking and Telecommunications in PDF only on Docsity!

Chapter1: 16,17 No solutions provided. Trivial problems. Contact TA if require solutions

Chapter 3: Problem 17: If two adjacent signal levels are separated by more than 2/ then the noise cannot translate one adjacent signal into the next. The maxi- mum range that the signal can span is +1-(-1)=2, so the maximum numb er of levels is 2/(1/8)= Problem 18:

  1. w = 2.4Khz SNR=20dB An SNR of 20dB corresp onds to a value of 100. The channel capacity formula then gives C = 2400 l og 2 (1 + 100) = 15979 bps
  2. C = 2400 l og 2 (1 + 10000) = 31890 bps
  3. C = 3000 l og 2 (1 + 100) = 19974 bps
  4. C = 3000 l og 2 (1 + 10000) = 39863 bps

Problem 40:

 If we rearrange the 2n information bits and the 2 parity bits into co de- words, each consisting of n information bits and a parity bit, we see that in e ect we have divided the overall co deword into two sub co dewords of lenth n+1. an error pattern is detectable if the error pattern in each sub- co deword is detectable if the numb er of errors in the sub co deword is an o dd.

 An error detection failure o ccurs in either the rst sub co deword or the second sub co deword or b oth fail. Let Pdetect (n + 1) b e the probability of successful error detection in the single parity co de of length n + 1, then P[detection failure in co de of length 2n+2] = = 1- P[successful detection in b oth co des of length n+1] =1 Pdetect (n + 1)  Pdetect (n + 1)

 No, it should not.

Problem 41:Using p olynomial arithmetic we obtain, co deword = 1001110 and the remainder as 101 which is erroneous cause remainder on the received co de- word should b e zero.

Problem 43:The Internet checksum is calculated as: b 0 = 1111111111111111 = 216 1 = 65535 b 1 = 1111111100000000 = 65280 b 2 = 1111000011110000 = 61680

b 3 = 1100000011000000 = 49344 x = b 0 + b 1 + b 2 + b 3 modul o 65535 = 241840 modul o 65535 = 45235 ib 4 = xmodul o 65535 = 20300 So the internet checksum is = 0100 1111 0100 1100