Crack
GATE
C
G
Topic
Computer Networks
78 questions
0
/ 78 done
Questions per paper
All
MCQ
MSQ
NAT
2015 to 2026. Point at a year to read it.
0
1
2
3
4
5
6
2015
2019
2021
2023
2025
2026
Show as a table
Year
All
MCQ
MSQ
NAT
2015
6
4
0
2
2018
0
0
0
0
2019
4
3
0
1
2020
4
2
0
2
2021
4.5
2
1.5
1
2022
6
1
1
4
2023
5
1
3
1
2024
6
1.5
2.5
2
2025
4.5
3.5
0.5
0.5
2026
5.5
3
1
1.5
1
CS 2026 Set 1 · 1 mark · MCQ · Moderate
With respect to a TCP connection between a client and a server, which one of the following statements is true?
2
CS 2026 Set 1 · 1 mark · MSQ · Moderate
Which of the following statements is/are true with respect to the interaction of a web browser with a web server using HTTP 1.1?
3
CS 2026 Set 1 · 2 marks · MCQ · Moderate
A TCP sender successfully establishes a connection with a TCP receiver and starts the transmission of segments. The TCP congestion control mechanism's slow-start threshold is set to 10000 segments. Assume that the round-trip time is fixed at 1 millisecond. Assume that the sender always has data to send, the segments are numbered from 1, and no segment is lost. Let
t
t
t
denote the time (in milliseconds) at which the transmission of segment number 2000 starts.
4
CS 2026 Set 1 · 2 marks · MCQ · Moderate
Consider the implementation of sliding window protocol over a lossless link, with a window size of
W
W
W
frames, where each frame is of size
1000
1000
1000
bits (including header). The bandwidth of the link is
100
k
b
p
s
100\,\mathrm{kbps}
100
kbps
(
1
k
=
10
3
1\,\mathrm{k} = 10^3
1
k
=
1
0
3
) and the one-way propagation delay is
100
m
i
l
l
i
s
e
c
o
n
d
s
100\,\mathrm{milliseconds}
100
milliseconds
. Assume that processing times at the sender and receiver are zero and the transmission time of acknowledgements is also zero. Which one of the following options gives the minimum size of
W
W
W
(in number of frames) required to achieve
100
%
100\%
100%
link utilization?
5
CS 2026 Set 1 · 2 marks · MSQ · Moderate
An ISP having an address block 202.16.0.0/15 assigns a block of 6000 IP addresses to a client, using the classless internet domain routing (CIDR) super-netting approach. Which of the following address blocks can be assigned by the ISP?
6
CS 2026 Set 2 · 1 mark · MCQ · Moderate
Consider a file of size
4
4
4
million bytes being transferred between two hosts connected via a path consisting of three consecutive links of bandwidth
2
M
b
p
s
2\,\mathrm{Mbps}
2
Mbps
,
500
k
b
p
s
500\,\mathrm{kbps}
500
kbps
, and
1
M
b
p
s
1\,\mathrm{Mbps}
1
Mbps
, respectively. All processing delays and propagation delays are negligible. Assume that there is no other background traffic over the path and no other additional overhead to transfer the file.
7
CS 2026 Set 2 · 1 mark · MCQ · Easy
Which one of the following protocols may need to broadcast some of its messages?
8
CS 2026 Set 2 · 1 mark · NAT · Easy
If an IP network uses a subnet mask of 255.255.240.0, the maximum number of IP addresses that can be assigned to network interfaces is ________. (answer in integer)
9
CS 2026 Set 2 · 2 marks · MCQ · Moderate
Consider the transmission of data bits
110001011
110001011
110001011
over a link that uses Cyclic Redundancy Check (CRC) code for error detection. If the generator bit pattern is given to be
1001
1001
1001
, which one of the following options shows the remainder bit pattern appended to the data bits before transmission?
10
CS 2026 Set 2 · 2 marks · NAT · Easy
Consider a new TCP connection between a sender and a receiver. The receiver advertised window is constant at
48
K
B
48\,\mathrm{KB}
48
KB
, the maximum segment size (MSS) is
2
K
B
2\,\mathrm{KB}
2
KB
, and the slow start threshold for TCP congestion control is
16
K
B
16\,\mathrm{KB}
16
KB
. Assume that there are no timeouts or duplicate acknowledgements. The number of rounds of transmission required for the congestion control algorithm of the TCP connection to reach the congestion avoidance phase is ________.
(answer in integer)
11
CS 2026 Set 2 · 2 marks · NAT · Hard
It is necessary to design a link-layer protocol between two hosts that are directly connected over a lossless link of length
3000
3000
3000
kilometers. Assume that the link bandwidth is
10
8
10^8
1
0
8
bits per second and that the propagation delay in the link is
5
5
5
nanoseconds per meter. Every transmitted data byte is assigned a unique sequence number.
12
CS 2025 Set 1 · 1 mark · MCQ · Easy
Identify the ONE CORRECT matching between the OSI layers and their corresponding functionalities as shown.
13
CS 2025 Set 1 · 1 mark · MSQ · Easy
Consider the 3-way handshaking protocol for TCP connection establishment. Let the three packets exchanged during the connection establishment be denoted as P1, P2, and P3, in order. Which of the following option(s) is/are TRUE with respect to TCP header flags that are set in the packets?
14
CS 2025 Set 1 · 2 marks · MCQ · Moderate
A packet with the destination IP address
145.36.109.70
145.36.109.70
145.36.109.70
arrives at a router whose routing table is shown. Which interface will the packet be forwarded to?
15
CS 2025 Set 1 · 2 marks · NAT · Hard
Suppose a message of size
15000
b
y
t
e
s
15000\,\mathrm{bytes}
15000
bytes
is transmitted from a source to a destination using IPv4 protocol via two routers as shown in the figure. Each router has a defined maximum transmission unit (MTU) as shown in the figure, including IP header. The number of fragments that will be delivered to the destination is ____. (Answer in integer)
16
CS 2025 Set 2 · 1 mark · MCQ · Easy
Consider the following statements:
17
CS 2025 Set 2 · 1 mark · MCQ · Easy
Consider the routing protocols given in
List I
and the names given in
List II
:
18
CS 2025 Set 2 · 1 mark · MCQ · Moderate
A machine receives an IPv4 datagram. The protocol field of the IPv4 header has the protocol number of a protocol X.
19
CS 2025 Set 2 · 1 mark · MCQ · Moderate
Consider a network that uses Ethernet and IPv4. Assume that IPv4 headers do not use any options field. Each Ethernet frame can carry a maximum of 1500 bytes in its data field. A UDP segment is transmitted. The payload (data) in the UDP segment is 7488 bytes.
20
CS 2025 Set 2 · 2 marks · MCQ · Easy
Suppose we are transmitting frames between two nodes using Stop-and-Wait protocol. The frame size is
3000
3000
3000
bits. The transmission rate of the channel is
2000
2000
2000
bps (bits/second) and the propagation delay between the two nodes is
100
100
100
milliseconds. Assume that the processing times at the source and destination are negligible. Also, assume that the size of the acknowledgement packet is negligible. Which ONE of the following most accurately gives the channel utilization for the above scenario in percentage?
21
CS 2024 Set 1 · 1 mark · MCQ · Moderate
A user starts browsing a webpage hosted at a remote server. The browser opens a single TCP connection to fetch the entire webpage from the server. The webpage consists of a top-level index page with multiple embedded image objects. Assume that all caches (e.g., DNS cache, browser cache) are all initially empty. The following packets leave the user’s computer in some order.
22
CS 2024 Set 1 · 1 mark · MSQ · Easy
TCP client P successfully establishes a connection to TCP server Q. Let
N
P
N_P
N
P
denote the sequence number in the SYN sent from P to Q. Let
N
Q
N_Q
N
Q
denote the acknowledgement number in the SYN ACK from Q to P. Which of the following statements is/are CORRECT?
23
CS 2024 Set 1 · 1 mark · MSQ · Easy
Which of the following fields is/are modified in the IP header of a packet going out of a network address translation (NAT) device from an internal network to an external network?
24
CS 2024 Set 1 · 2 marks · MCQ · Moderate
Consider a network path P—Q—R between nodes P and R via router Q. Node P sends a file of size
10
6
10^6
1
0
6
bytes to R via this path by splitting the file into chunks of
10
3
10^3
1
0
3
bytes each. Node P sends these chunks one after the other without any wait time between the successive chunk transmissions. Assume that the size of extra headers added to these chunks is negligible, and that the chunk size is less than the MTU.
25
CS 2024 Set 1 · 2 marks · NAT · Moderate
Consider the entries shown below in the forwarding table of an IP router. Each entry consists of an IP prefix and the corresponding next hop router for packets whose destination IP address matches the prefix. The notation “/
N
N
N
” in a prefix indicates a subnet mask with the most significant
N
N
N
bits set to 1.
26
CS 2024 Set 1 · 2 marks · NAT · Moderate
Consider sending an IP datagram of size
1420
1420
1420
bytes (including
20
20
20
bytes of IP header) from a sender to a receiver over a path of two links with a router between them. The first link (sender to router) has an MTU (Maximum Transmission Unit) size of
542
542
542
bytes, while the second link (router to receiver) has an MTU size of
360
360
360
bytes. The number of fragments that would be delivered at the receiver is ____
27
CS 2024 Set 2 · 1 mark · MSQ · Easy
Node X has a TCP connection open to node Y. The packets from X to Y go through an intermediate IP router R. Ethernet switch S is the first switch on the network path between X and R. Consider a packet sent from X to Y over this connection.
28
CS 2024 Set 2 · 1 mark · MSQ · Easy
Which of the following statements about IPv4 fragmentation is/are TRUE?
29
CS 2024 Set 2 · 1 mark · MSQ · Easy
Which of the following fields of an IP header is/are always modified by any router before it forwards the IP packet?
30
CS 2024 Set 2 · 2 marks · MCQ · Easy
Which one of the following CIDR prefixes exactly represents the range of IP addresses 10.12.2.0 to 10.12.3.255?
31
CS 2024 Set 2 · 2 marks · NAT · Easy
Consider a TCP connection operating at a point of time with the congestion window of size
12
12
12
MSS (Maximum Segment Size), when a timeout occurs due to packet loss. Assuming that all the segments transmitted in the next two RTTs (Round Trip Time) are acknowledged correctly, the congestion window size (in MSS) during the third RTT will be ____
32
CS 2024 Set 2 · 2 marks · NAT · Easy
Consider an Ethernet segment with a transmission speed of
10
8
b
i
t
s
/
s
e
c
10^8\,\mathrm{bits/sec}
1
0
8
bits/sec
and a maximum segment length of
500
m
e
t
e
r
s
500\,\mathrm{meters}
500
meters
. If the speed of propagation of the signal in the medium is
2
×
10
8
m
e
t
e
r
s
/
s
e
c
2\times 10^8\,\mathrm{meters/sec}
2
×
1
0
8
meters/sec
, then the minimum frame size (in bits) required for collision detection is ____
33
CS 2023 · 1 mark · MCQ · Moderate
Suppose two hosts are connected by a point-to-point link and they are configured to use Stop-and-Wait protocol for reliable data transfer. Identify in which one of the following scenarios, the utilization of the link is the lowest.
34
CS 2023 · 1 mark · MSQ · Easy
Which of the following statements is/are INCORRECT about the OSPF (Open Shortest Path First) routing protocol used in the Internet?
35
CS 2023 · 2 marks · MSQ · Moderate
Suppose you are asked to design a new reliable byte-stream transport protocol like TCP. This protocol, named myTCP, runs over a
100
M
b
p
s
100\,\mathrm{Mbps}
100
Mbps
network with Round Trip Time of
150
m
i
l
l
i
s
e
c
o
n
d
s
150\,\mathrm{milliseconds}
150
milliseconds
and the maximum segment lifetime of
2
m
i
n
u
t
e
s
2\,\mathrm{minutes}
2
minutes
.
36
CS 2023 · 2 marks · MSQ · Hard
Suppose in a web browser, you click on the
www.gate-2023.in
\texttt{www.gate-2023.in}
www.gate-2023.in
URL. The browser cache is empty. The IP address for this URL is not cached in your local host, so a DNS lookup is triggered (by the local DNS server deployed on your local host) over the 3-tier DNS hierarchy in an iterative mode. No resource records are cached anywhere across all DNS servers.
37
CS 2023 · 2 marks · NAT · Moderate
The forwarding table of a router is shown below.
38
CS 2022 · 1 mark · MCQ · Moderate
Consider an enterprise network with two Ethernet segments, a web server and a firewall, connected via three routers as shown below.
39
CS 2022 · 1 mark · NAT · Moderate
Consider the resolution of the domain name
www.gate.org.in
\texttt{www.gate.org.in}
www.gate.org.in
by a DNS resolver. Assume that no resource records are cached anywhere across the DNS servers and that iterative query mechanism is used in the resolution. The number of DNS query-response pairs involved in completely resolving the domain name is ____.
40
CS 2022 · 2 marks · MSQ · Hard
Consider routing table of an organization’s router shown below:
41
CS 2022 · 2 marks · NAT · Moderate
Consider a network with three routers
P
P
P
,
Q
Q
Q
,
R
R
R
shown in the figure below. All the links have cost of unity.
42
CS 2022 · 2 marks · NAT · Easy
Consider a
100
M
b
p
s
100\,\mathrm{Mbps}
100
Mbps
link between an earth station (sender) and a satellite (receiver) at an altitude of
2100
k
m
2100\,\mathrm{km}
2100
km
. The signal propagates at a speed of
3
×
10
8
m
/
s
3 \times 10^8\,\mathrm{m/s}
3
×
1
0
8
m/s
. The time taken (in milliseconds, rounded off to two decimal places) for the receiver to completely receive a packet of
1000
1000
1000
bytes transmitted by the sender is __________.
43
CS 2022 · 2 marks · NAT · Moderate
Consider the data transfer using TCP over a
1
G
b
p
s
1\,\mathrm{Gbps}
1
Gbps
link. Assuming that the maximum segment lifetime (MSL) is set to
60
60
60
seconds, the minimum number of bits required for the sequence number field of the TCP header, to prevent the sequence number space from wrapping around during the MSL is __________.
44
CS 2021 Set 1 · 1 mark · MCQ · Easy
Consider the following two statements.
45
CS 2021 Set 1 · 2 marks · MCQ · Moderate
Assume that a 12-bit Hamming codeword consisting of 8-bit data and 4 check bits is
d
8
d
7
d
6
d
5
c
8
d
4
d
3
d
2
c
4
d
1
c
2
c
1
d_8d_7d_6d_5c_8d_4d_3d_2c_4d_1c_2c_1
d
8
d
7
d
6
d
5
c
8
d
4
d
3
d
2
c
4
d
1
c
2
c
1
, where the data bits and the check bits are given in the following tables:
46
CS 2021 Set 1 · 2 marks · MSQ · Moderate
A TCP server application is programmed to listen on port number
P
P
P
on host
S
S
S
. A TCP client is connected to the TCP server over the network.
47
CS 2021 Set 1 · 2 marks · MSQ · Moderate
Consider two hosts
P
P
P
and
Q
Q
Q
connected through a router
R
R
R
. The maximum transfer unit (MTU) value of the link between
P
P
P
and
R
R
R
is 1500 bytes, and between
R
R
R
and
Q
Q
Q
is 820 bytes.
48
CS 2021 Set 1 · 2 marks · NAT · Moderate
Consider the sliding window flow-control protocol operating between a sender and a receiver over a full-duplex error-free link. Assume the following:
49
CS 2021 Set 2 · 1 mark · MCQ · Easy
Consider the three-way handshake mechanism followed during TCP connection establishment between hosts P and Q. Let X and Y be two random 32-bit starting sequence numbers chosen by P and Q respectively. Suppose P sends a TCP connection request message to Q with a TCP segment having SYN bit = 1, SEQ number = X, and ACK bit = 0. Suppose Q accepts the connection request. Which one of the following choices represents the information present in the TCP segment header that is sent by Q to P?
50
CS 2021 Set 2 · 2 marks · MCQ · Moderate
Consider the cyclic redundancy check (CRC) based error detecting scheme having the generator polynomial
X
3
+
X
+
1
X^3 + X + 1
X
3
+
X
+
1
. Suppose the message
m
4
m
3
m
2
m
1
m
0
=
11000
m_4 m_3 m_2 m_1 m_0 = 11000
m
4
m
3
m
2
m
1
m
0
=
11000
is to be transmitted. Check bits
c
2
c
1
c
0
c_2 c_1 c_0
c
2
c
1
c
0
are appended at the end of the message by the transmitter using the above CRC scheme. The transmitted bit string is denoted by
m
4
m
3
m
2
m
1
m
0
c
2
c
1
c
0
m_4 m_3 m_2 m_1 m_0 c_2 c_1 c_0
m
4
m
3
m
2
m
1
m
0
c
2
c
1
c
0
. The value of the checkbit sequence
c
2
c
1
c
0
c_2 c_1 c_0
c
2
c
1
c
0
is
51
CS 2021 Set 2 · 2 marks · MSQ · Moderate
Consider a computer network using the distance vector routing algorithm in its network layer. The partial topology of the network is as shown below.
52
CS 2021 Set 2 · 2 marks · NAT · Moderate
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
M
b
p
s
1\,\mathrm{Mbps}
1
Mbps
(
=
10
6
= 10^6
=
1
0
6
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 ____.
53
CS 2020 · 1 mark · MCQ · Moderate
Consider the following statements about the functionality of an IP based router.
54
CS 2020 · 1 mark · NAT · Easy
Assume that you have made a request for a web page through your web browser to a web server. Initially the browser cache is empty. Further, the browser is configured to send HTTP requests in non-persistent mode. The web page contains text and five very small images. The minimum number of TCP connections required to display the web page completely in your browser is ____.
55
CS 2020 · 2 marks · MCQ · Moderate
An organization requires a range of IP addresses to assign one to each of its
1500
1500
1500
computers. The organization has approached an Internet Service Provider (ISP) for this task. The ISP uses CIDR and serves the requests from the available IP address space
202.61.0.0
/
17
202.61.0.0/17
202.61.0.0/17
. The ISP wants to assign an address space to the organization which will minimize the number of routing entries in the ISP's router using route aggregation. Which of the following address spaces are potential candidates from which the ISP can allot any one to the organization?
56
CS 2020 · 2 marks · NAT · Moderate
Consider a TCP connection between a client and a server with the following specifications: the round trip time is
6
m
s
6\,\mathrm{ms}
6
ms
, the size of the receiver advertised window is
50
K
B
50\,\mathrm{KB}
50
KB
, slow-start threshold at the client is
32
K
B
32\,\mathrm{KB}
32
KB
, and the maximum segment size is
2
K
B
2\,\mathrm{KB}
2
KB
. The connection is established at time
t
=
0
t = 0
t
=
0
. Assume that there are no timeouts and errors during transmission. Then the size of the congestion window (in
K
B
\mathrm{KB}
KB
) at time
t
+
60
m
s
t + 60\,\mathrm{ms}
t
+
60
ms
after all acknowledgements are processed is ____.
57
CS 2019 · 1 mark · MCQ · Easy
Which of the following protocol pairs can be used to send and retrieve e-mails (in that order)?
58
CS 2019 · 2 marks · MCQ · Moderate
Consider three machines M, N, and P with IP addresses 100.10.5.2, 100.10.5.5, and 100.10.5.6 respectively. The subnet mask is set to 255.255.255.252 for all the three machines. Which one of the following is true?
59
CS 2019 · 2 marks · MCQ · Easy
Suppose that in an IP-over-Ethernet network, a machine X wishes to find the MAC address of another machine Y in its subnet. Which one of the following techniques can be used for this?
60
CS 2019 · 2 marks · NAT · Moderate
Consider that 15 machines need to be connected in a LAN using 8-port Ethernet switches. Assume that these switches do not have any separate uplink ports. The minimum number of switches needed is ____.
61
CS 2015 Set 1 · 1 mark · MCQ · Hard
Suppose two hosts use a TCP connection to transfer a large file. Which of the following statements is/are FALSE with respect to the TCP connection?
62
CS 2015 Set 1 · 1 mark · MCQ · Moderate
Which of the following statements is/are FALSE? I. XML overcomes the limitations in HTML to support a structured way of organizing content. II. XML specification is not case sensitive while HTML specification is case sensitive. III. XML supports user defined tags while HTML uses pre-defined tags. IV. XML tags need not be closed while HTML tags must be closed.
63
CS 2015 Set 1 · 1 mark · MCQ · Easy
Which one of the following fields of an IP header is NOT modified by a typical IP router?
64
CS 2015 Set 1 · 1 mark · MCQ · Moderate
In one of the pairs of protocols given below, both the protocols can use multiple TCP connections between the same client and the server. Which one is that?
65
CS 2015 Set 1 · 2 marks · NAT · Moderate
Suppose that the stop-and-wait protocol is used on a link with a bit rate of
64
k
i
l
o
b
i
t
s
p
e
r
s
e
c
o
n
d
64\,\mathrm{kilobits\ per\ second}
64
kilobits
per
second
and
20
m
i
l
l
i
s
e
c
o
n
d
s
20\,\mathrm{milliseconds}
20
milliseconds
propagation delay. Assume that the transmission time for the acknowledgement and the processing time at nodes are negligible. Then the minimum frame size in bytes to achieve a link utilization of at least
50
%
50\%
50%
is _______.
66
CS 2015 Set 1 · 2 marks · NAT · Moderate
Consider a LAN with four nodes
S
1
,
S
2
,
S
3
S_1, S_2, S_3
S
1
,
S
2
,
S
3
and
S
4
S_4
S
4
. Time is divided into fixed-size slots, and a node can begin its transmission only at the beginning of a slot. A collision is said to have occurred if more than one node transmit in the same slot. The probabilities of generation of a frame in a time slot by
S
1
,
S
2
,
S
3
S_1, S_2, S_3
S
1
,
S
2
,
S
3
and
S
4
S_4
S
4
are
0.1
,
0.2
,
0.3
0.1, 0.2, 0.3
0.1
,
0.2
,
0.3
and
0.4
0.4
0.4
, respectively. The probability of sending a frame in the first slot without any collision by any of these four stations is ____.
67
CS 2015 Set 2 · 1 mark · MCQ · Easy
Identify the correct order in which a server process must invoke the function calls \texttt{accept}, \texttt{bind}, \texttt{listen}, and \texttt{recv} according to UNIX socket API.
68
CS 2015 Set 2 · 1 mark · NAT · Moderate
A link has a transmission speed of
10
6
b
i
t
s
/
s
e
c
10^6\,\mathrm{bits/sec}
1
0
6
bits/sec
. It uses data packets of size
1000
b
y
t
e
s
1000\,\mathrm{bytes}
1000
bytes
each. Assume that the acknowledgment has negligible transmission delay, and that its propagation delay is the same as the data propagation delay. Also assume that the processing delays at nodes are negligible. The efficiency of the stop-and-wait protocol in this setup is exactly
25
%
25\%
25%
. The value of the one-way propagation delay (in milliseconds) is ____.
69
CS 2015 Set 2 · 1 mark · MCQ · Easy
Which of the following is FALSE about cookies?
70
CS 2015 Set 2 · 2 marks · MCQ · Moderate
Consider the following routing table at an IP router:
71
CS 2015 Set 2 · 2 marks · MCQ · Moderate
Host A sends a UDP datagram containing
8880
b
y
t
e
s
8880\,\mathrm{bytes}
8880
bytes
of user data to host B over an Ethernet LAN. Ethernet frames may carry data up to
1500
b
y
t
e
s
1500\,\mathrm{bytes}
1500
bytes
(i.e.
M
T
U
=
1500
b
y
t
e
s
\mathrm{MTU}=1500\,\mathrm{bytes}
MTU
=
1500
bytes
). Size of UDP header is
8
b
y
t
e
s
8\,\mathrm{bytes}
8
bytes
and size of IP header is
20
b
y
t
e
s
20\,\mathrm{bytes}
20
bytes
. There is no option field in IP header. How many total number of IP fragments will be transmitted and what will be the contents of offset field in the last fragment?
72
CS 2015 Set 2 · 2 marks · MCQ · Moderate
Assume that the bandwidth for a TCP connection is
1048560
b
i
t
s
/
s
e
c
1048560\,\mathrm{bits\,/\,sec}
1048560
bits
/
sec
. Let
α
\alpha
α
be the value of RTT in milliseconds (rounded off to the nearest integer) after which the TCP window scale option is needed. Let
β
\beta
β
be the maximum possible window size with window scale option. Then the values of
α
\alpha
α
and
β
\beta
β
are
73
CS 2015 Set 3 · 1 mark · MCQ · Easy
In a web server, ten WebPages are stored with the URLs of the form
h
t
t
p
:
/
/
w
w
w
.
y
o
u
r
n
a
m
e
.
c
o
m
/
v
a
r
.
h
t
m
l
\mathrm{http://www.yourname.com/}var\mathrm{.html}
http
:
//www.yourname.com/
v
a
r
.html
; where,
v
a
r
var
v
a
r
is a different number from
1
1
1
to
10
10
10
for each Webpage. Suppose, the client stores the Webpage with
v
a
r
=
1
\mathrm{var} = 1
var
=
1
(say W1) in local machine, edits and then tests. Rest of the WebPages remains on the web server. W1 contains several relative URLs of the form "
v
a
r
.
h
t
m
l
var\mathrm{.html}
v
a
r
.html
" referring to the other WebPages. Which one of the following statements needs to be added in W1, so that all the relative URLs in W1 refer to the appropriate WebPages on the web server?
74
CS 2015 Set 3 · 1 mark · MCQ · Easy
Consider the following statements.
75
CS 2015 Set 3 · 1 mark · MCQ · Moderate
Consider a CSMA/CD network that transmits data at a rate of
100
M
b
p
s
100\,\mathrm{Mbps}
100
Mbps
(
10
8
b
i
t
s
p
e
r
s
e
c
o
n
d
10^8\,\mathrm{bits\ per\ second}
1
0
8
bits
per
second
) over a
1
k
m
1\,\mathrm{km}
1
km
(kilometer) cable with no repeaters. If the minimum frame size required for this network is
1250
b
y
t
e
s
1250\,\mathrm{bytes}
1250
bytes
, what is the signal speed (
k
m
/
s
e
c
\mathrm{km/sec}
km/sec
) in the cable?
76
CS 2015 Set 3 · 2 marks · NAT · Moderate
In the network
200.10.11.144
/
27
200.10.11.144/27
200.10.11.144/27
, the fourth octet (in decimal) of the last IP address of the network which can be assigned to a host is ____.
77
CS 2015 Set 3 · 2 marks · NAT · Moderate
packet size is
10
7
b
i
t
s
10^7\,\mathrm{bits}
1
0
7
bits
. The network is to be used to its full capacity. Assume that processing delays at nodes are negligible. Then, the minimum size in bits of the sequence number field has to be __________.
78
CS 2015 Set 3 · 2 marks · NAT · Moderate
Two hosts are connected via a packet switch with
10
7
b
i
t
s
p
e
r
s
e
c
o
n
d
10^7\,\mathrm{bits\ per\ second}
1
0
7
bits
per
second
links. Each link has a propagation delay of
20
m
i
c
r
o
s
e
c
o
n
d
s
20\,\mathrm{microseconds}
20
microseconds
. The switch begins forwarding a packet
35
m
i
c
r
o
s
e
c
o
n
d
s
35\,\mathrm{microseconds}
35
microseconds
after it receives the same. If
10000
b
i
t
s
10000\,\mathrm{bits}
10000
bits
of data are to be transmitted between the two hosts using a packet size of
5000
b
i
t
s
5000\,\mathrm{bits}
5000
bits
, the time elapsed between the transmission of the first bit of data and the reception of the last bit of the data in microseconds is ____.