50 Computer Networks MCQs with Answers

Last Updated :
Discuss
Comments

Question 1

Consider a source computer(S) transmitting a file of size 106 bits to a destination computer(D)over a network of two routers (R1 and R2) and three links(L1, L2, and L3). L1connects S to R1; L2 connects R1 to R2; and L3 connects R2 to D.Let each link be of length 100 km. Assume signals travel over each link at a speed of 108 meters per second.Assume that the link bandwidth on each link is 1Mbps. Let the file be broken down into 1000 packets each of size 1000 bits. Find the total sum of transmission and propagation delays in transmitting the file from S to D?

  • 1005 ms

  • 1010 ms

  • 3000 ms

  • 3003 ms

Question 2

Consider the cyclic redundancy check (CRC) based error detecting scheme having the generator polynomial X3+X+1. Suppose the message m4m3m2m1m0 = 11000 is to be transmitted. Check bits c2c1c0 are appended at the end of the message by the transmitter using the above CRC scheme. The transmitted bit string is denoted by m4m3m2m1m0c2c1c0. The value of the checkbit sequence c2c1c0 is

  • 101

  • 110

  • 100

  • 111

Question 3

Consider a link with packet loss probability of 0.2. What is the expected number of transmissions it would take to transfer 200 packets given that the stop and wait protocol is used?

  • 125

  • 250

  • 225

  • 150

Question 4

Assume that Source S and Destination D are connected through an intermediate router R. How many times a packet has to visit the network layer and data link layer during a transmission from S to D?

  • Network layer – 4 times, Data link layer – 4 times

  • Network layer – 4 times, Data link layer – 6 times

  • Network layer – 2 times, Data link layer – 4 times

  • Network layer – 3 times, Data link layer – 4 times

Question 5

An Ethernet frame that is less than the IEEE 802.3 minimum length of 64 octets is called

  • Short frame

  • Small frame

  • Mini frame

  • Runt frame

Question 6

How many bytes of data can be sent in 15 seconds over a serial link with baud rate of 9600 in asynchronous mode with odd parity and two stop bits in the frame?

  • 10,000 bytes

  • 12,000 bytes

  • 15,000 bytes

  • 27,000 bytes

Question 7

Consider a network using the pure ALOHA medium access control protocol, where each frame is of length 1,000 bits. The channel transmission rate is 1 Mbps (=106 bits per second). The aggregate number of transmissions across all the nodes (including new frame transmissions and retransmitted frames due to collisions) is modelled as a Poisson process with a rate of 1,000 frames per second. Throughput is defined as the average number of frames successfully transmitted per second. The throughput of the network (rounded to the nearest integer) is ______________ .

  • 130 to 140

  • 140 to 150

  • 120 to 130

  • 100 to 110

Question 8

Match the following: 1

  • (1)

  • (2)

  • (3)

  • (4)

Question 9

The minimum positive integer p such that 3p modulo 17 = 1 is

  • 5

  • 8

  • 12

  • 16

Question 10

Consider a network with five nodes, N1 to N5, as shown below.

GATECS2011Q51

The network uses a Distance Vector Routing protocol. Once the routes have stabilized, the distance vectors at different nodes are as following. N1: (0, 1, 7, 8, 4) N2: (1, 0, 6, 7, 3) N3: (7, 6, 0, 2, 6) N4: (8, 7, 2, 0, 4) N5: (4, 3, 6, 4, 0)

Each distance vector is the distance of the best known path at the instance to nodes, N1 to N5, 

where the distance to itself is 0. Also, all links are symmetric and the cost is identical in both directions. In each round, all nodes exchange their distance vectors with their respective neighbors. Then all nodes update their distance vectors. In between two rounds, any change in cost of a link will cause the two incident nodes to change only that entry in their distance vectors. 52. The cost of link N2-N3 reduces to 2(in both directions). After the next round of updates, what will be the new distance vector at node, N3.

  • (3, 2, 0, 2, 5)

  • (3, 2, 0, 2, 6)

  • (7, 2, 0, 2, 5)

  • (7, 2, 0, 2, 6)

There are 50 questions to complete.

Take a part in the ongoing discussion