CNIP Assignment 04 JanApr2024
CNIP Assignment 04 JanApr2024
QUESTION 1:
Which of the following statement(s) is/are correct concerning to the TCP acknowledgement
number?
I. It is a 16-bit number.
II. It contains the sequence number of the previous bytes the receiver has received.
a) Only I
b) Only II
c) Both I and II
d) None of them are correct
QUESTION 2:
If maximum network layer payload size is 2KB, what is the maximum TCP payload size?
a) 2048 bytes
b) 2028 bytes
c) 2008 bytes
d) 1988 bytes
QUESTION 3:
Packets of the same session may be routed through different paths in
a) Both TCP and UDP
b) Neither TCP nor UDP
c) TCP, but not UDP
d) UDP, but not TCP
1
NPTEL Online Certification Courses
Explanation: Packet is the network layer protocol data unit (PDU). TCP and UDP are transport
layer protocols. Packets of the same session may be routed through different routes
QUESTION 4:
Which of the following system calls results in the sending of SYN packets?
a) socket
b) listen
c) bind
d) connect
Explanation: In case of a TCP socket, connect system call causes an attempt to establish a new
TCP connection. When connect() is called by a client, a three way handshake happens to establish
the connection in TCP: (i) the client requests a connection by sending a SYN message to the server,
(ii) the server acknowledges this request by sending SYN-ACK back to the client, and (iii) the
client responds with an ACK and the connection is established.
QUESTION 5:
Which of the following statement(s) is/are true for the Transport Layer?
I. Transport layer protocol should be stateful
II. Uses FTP protocols for ensuring flow control
a) Only I.
b) Only II.
c) Both I and II.
d) None of them.
QUESTION 6:
Which of the following is helpful to avoid TCP SYN flood attack? Use of cryptographic function to
generate sequence numbers for TCP connection is helpful to avoid?
a) Two-way handshaking
b) Checksum
c) Cryptographic functions
d) None of these
2
NPTEL Online Certification Courses
Explanation: Cryptographic function generates sequence numbers that help in avoiding the TCP
SYN flood attack.
QUESTION 7:
What is/are the parameters responsible for restricting TCP segment size?
a) IP address
b) IP payload
c) Maximum Transmission Unit (MTU) of the link
d) Acknowledgement number field size
QUESTION 8:
“For effective congestion avoidance, the sending rate of the network should be the minimum of
network rate and receiver rate”
The above statement is:
a) true
b) false
QUESTION 9:
TCP supports broadcasting
a) The above statement is correct
b) The above statement is wrong
QUESTION 10:
Which is the default port number for establishing httpd (Apache HTTP server) connection?
a) 43
b) 44
c) 443
d) None of these