Вы находитесь на странице: 1из 2

ASSIGNMENT-1

COMPUTER NETWORK (CS-602)


DATE: 22.03.2015
LAST DATE OF SUBMISSION: 31.03.2015
NB: Give proper Explanation for each multiple choice questions.
1. What valid host range is the IP address 172.16.10.22 255.255.255.240 a part of?
A. 172.16.10.20 through 172.16.10.22
B. 172.16.10.1 through 172.16.10.255
C. 172.16.10.16 through 172.16.10.23
D. 172.16.10.17 through 172.16.10.31
E. 172.16.10.17 through 172.16.10.30
2. What is the broadcast address of the subnet address 172.16.8.159 255.255.255.192?
A. 172.16.255.255
B. 172.16.8.127
C. 172.16.8.191
D. 172.16.8.255
3. What is the broadcast address of the subnet address 192.168.10.33 255.255.255.248?
A. 192.168.10.40
B. 192.168.10.255
C. 192.168.255.255
D. 192.168.10.39
4. If you wanted to have 12 subnets with a Class C network ID, which subnet mask would you use?
A. 255.255.255.252
B. 255.255.255.248
C. 255.255.255.240
D. 255.255.255.255
5. If you need to have a Class B network address subnetted into exactly 510 subnets, what subnet
A. 255.255.255.252
B. 255.255.255.128
C. 255.255.255.0
D. 255.255.255.192
6. If you are using a Class C network ID with two subnets and need 31 hosts per network, which of
the following masks should you use?
A. 255.255.255.0
B. 255.255.255.192
C. 255.255.255.224
D. 255.255.255.248
7. How many subnets and hosts can you get from the network 192.168.254.0/26?
A. 4 networks with 64 hosts
B. 2 networks with 62 hosts
C. 254 networks with 254 hosts
D. 1 network with 254 hosts

8. You have the network 172.16.10.0/24. How many subnets and hosts are available?
A. 1 subnet with 10 hosts
B. 1 subnet with 254 hosts
C. 192 subnets with 10 hosts
D. 254 subnets with 254 hosts
9. 10dB attenuation means the signal strength
A. halved
B. doubled
C. reduced by factor of ten
D. increased by factor of ten
10. If a code contains the following code words: c1 = 0101010, c2 = 1111111, c3 = 1010101, c4 =
0000000 and c5 = 1100001. What is the hamming distance of this code?
11. Suppose 1MByte of application data (including application layer header) has to be sent out of a
host attached to Ethernet. Assume the application uses TCP protocol and that the IP as well as
TCP header is 20 bytes each. Further assume that Ethernet MTU size is 1500 and TCP uses
segments of size 1480.
a) How many datagrams are sent out of the host?
b) What is the size (in bytes) of the last datagram? Express answer in bytes.
12. To achieve 50 kbps data rate on a 5 khz channel, what SNR (in dB) is needed?
(Hint: Use Shannons theorem)
13. If the following bit pattern is received as part of HDLC data, what does the HDLC decoder
output after removing stuffed bits?
1101111101001
Express the answer as a sequence of bits with no spaces (e.g. 1100110011)
14. Host A wants to send a packet to Host B and Host B needs to reply back with a packet to Host
A. In response to this, how many messages are actually exchanged on the link? Assume empty
ARP cache at both nodes and that Host A knows the IP address of Host B.
15. If the peak voltage value of a signal is 20 times the peak voltage value of the noise, what is the
SNR? What is the SNRdB?
16. What is the transmission time of a packet sent by a station if the length of the packet is 1
million bytes and the bandwidth of the channel is 200 Kbps?
17. Is the size of the ARP packet fixed? Explain. What is the size of an Ethernet frame carrying an
ARP packet when the protocol is IPv4 and the hardware is Ethernet?
18. The attenuation of a signal is -10 dB. What is the final signal power if it was originally 5 W?
19. A device is sending out data at the rate of 1000 bps. How long does it take to send out 10 bits?
20. If the bandwidth of the channel is 5 Kbps, how long does it take to send a frame of 100,000 bits
out of this device?

Вам также может понравиться