Anda di halaman 1dari 8

Q . If a class B network on the Internet has a subnet mask of 255.255.248.0, what is the maximum number of hosts per subnet?

(A) 1022 CS2008 (B) 1023 (C) 2046 (D) 2047

Ans. C Explanation: 255.255.248.0 can be written as 11111111.11111111.11111000.00000000 Number of bits assigned for host id is the number of zeros in subnet mask. Here 11 bits are used for host id so maximum possible hosts are= 211-2=2046 21. The Lucky Ducky corporation has a fully connected mesh network consisting of eightdevices. Calculate the total number of cable links needed and the number of ports for eachdevice.

Solution:The formula for the number of links for a fully connected mesh is n(n 1) / 2, where n is thenumber of devices. Number of links = n(n 1) / 2= 8(8 1) / 2 = 28. Number of ports per device = n 1= 8 1 = 7

Find the minimum B.W for an ASK signal transmitting at 2000 bps. The transmission mode is duplex.

Solution

In ASK the baud rate and bit rate are the same The baud rate is therefore 2000 An ASK signal requires a min B.W equal to its baud rate
o

Therefore, the min B.W = 2000 Hz.

Given a bandwidth of 5000 Hz for an ASK signal, what are the baud rate and bit rate?

Solution

In ASK the baud rate is the same as the bandwidth o which means the baud rate is 5000
o

But because the baud rate and the bit rate are also the

same for ASK, the bit rate = 5000 bps.

Construct the Hamming code for the bit sequence 10011101


Solution First we find redundant bits (r) such that 2r >= r+m+1 so here r = 4 so there are 4 redundant bits; r1,r2,r4,r8 so bits after insertion redundant bits..... 1 0 0 1 r8 1 1 0 r4 1 r2 r1 ^ ..................... ^

12th bit 1st bit (r1) r1 is calculated from even parity of bits number ( 1,3,5,7,9,11) r2 is calculated from even parity of bits (2,3,6,7,10,11) r4 is calculated from even parity of bits (4,5,6,7,12) r8 is calculated from even parity of bits (8,9,10,11,12) calculation of r1 as bit no. 3 = 1 bit no. 5 = 0 bit no. 7 = 1 bit no. 9 = 1 bit no. 11=0to make no. of 1's even we have r1 = 1 count no of 1's for which r2 take cares of bit (2,3,6,7,10,11) no of 1's are found to be = 3 (on bit 3,6,7) its clearly odd (for even parity we have to make no of 1's = even , if already no of one is even then simply r = 0) so what we do we will make r2 = 1 to make no of 1's = even similarly , r2 =1 r4=1 r8=0 Hence Following are the redundancy bits. r1 = 1 r2 = 1 r4 = 1 r8 = 0 So the Hamming code is 100101101111

Example 9
Given a bandwidth of 5000 Hz for an 8-PSK signal, what are the baud rate and bit rate?

Solution

For PSK the baud rate is the same as the bandwidth, which means the baud rate is 5000. But in 8-PSK the bit rate is 3 times the baud rate, so the bit rate is 15,000 bps. Example 6 Find the minimum bandwidth for an FSK signal transmitting at 2000 bps. Transmission is in half-duplex mode, and the carriers are separated by 3000 Hz. Solution For FSK BW = baud rate + fc1 fc0 BW = bit rate + fc1 fc0 = 2000 + 3000 = 5000 Hz

Anda mungkin juga menyukai