Assignment-2 CN
Assignment-2 CN
Assignment-2
Q-1 What are the three criteria necessary for an effective and efficient network?
Q-2 What are the three criteria necessary for an effective and efficient network?
Q-3 For n devices in a network, what is the number of cable links required for a
mesh, ring, bus, and star topology?
Q-4 Why are protocols needed?
Q-5 For each of the following four networks, discuss the consequences if a connection
fails.
a. Five devices arranged in a mesh topology
b. Five devices arranged in a star topology (not counting the hub)
c. Five devices arranged in a bus topology
d. Five devices arranged in a ring topology
Q-6 What are the types of addresses (identifiers) used in each of the following layers?
a. application layer b. network layer c. data-link layer
Q-7 A host communicates with another host using the TCP/IP protocol suite. What
is the unit of data sent or received at each of the following layers?
a. application layer b. network layer c. data-link layer
Q-8 Name the two major categories of transmission media.
Q-9 How do guided media differ from unguided media?
Q-10 Name the advantages of optical fiber over twisted-pair and coaxial cable.
Q-11 Is the size of the ARP packet fixed? Explain.
Q-12 What is the size of an ARP packet when the protocol is IPv4 and the hardware
is Ethernet?
Q-13 In a block code, a dataword is 20 bits and the corresponding codeword is 25 bits.
What are the values of k, r, and n according to the definitions in the text? How
many redundant bits are added to each dataword?
Q-14 In CRC, which of the following generators (divisors) guarantees the detection
of a single bit error?
a. 101 b. 100 c. 1
Q-15 Which of the following CRC generators guarantee the detection of a single
bit error?
a. x3 x 1 b. x4 x2 c. 1 d. x2 1
Q-16 Compare and contrast byte-stuffing and bit-stuffing.
Q-17 Compare and contrast flow control and error control.
Q-18 Define piggybacking and its benefit.
Q-19 Compare and contrast HDLC with PPP.
Q-20 Stations in a pure Aloha network send frames of size 1000 bits at the rate of
1 Mbps. What is the vulnerable time for this network?
Q-21 In a pure Aloha network with G 1/2, how is the throughput affected in each
of the following cases?
a. G is increased to 1. b. G is decreased to 1/4.
Q-22 Explain why collision is an issue in random access protocols but not in controlled
access protocols.
Q-23 Assume the propagation delay in a broadcast network is 12 s and the frame
transmission time is 8 s.
a. How long does it take for the first bit to reach the destination?
b. How long does it take for the last bit to reach the destination after the first
bit has arrived?
c. How long is the network involved with this frame (vulnerable to collision)?
Q-24 What is the purpose of NAV in CSMA/CA?
Q-25 There are only three active stations in a slotted Aloha network: A, B, and C.
Each station generates a frame in a time slot with the corresponding probabilities
pA 0.2, pB 0.3, and pC 0.4 respectively.
a. What is the throughput of each station?
b. What is the throughput of the network?
Q-26 In a bus CSMA/CD network with a data rate of 10 Mbps, a collision occurs
20 s after the first bit of the frame leaves the sending station. What should the
length of the frame be so that the sender can detect the collision?
Q-27 Compare the data rates for Standard Ethernet, Fast Ethernet, Gigabit Ethernet,
and 10 Gigabit Ethernet.
Q-28 What is the difference between unicast, multicast, and broadcast addresses?
Q-29 What are the advantages of dividing an Ethernet LAN with a bridge?
Q-30 If an Ethernet destination address is 07:01:02:03:04:05, what is the type of the
address (unicast, multicast, or broadcast)?