WorksheetsNPTEL Quiz-2
Total questions: 15
Worksheet time: 8mins
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.
Only I
Only II
Both I and II
None of them are correct
If maximum network layer payload size is 2KB, what is the maximum TCP payload size?
2048 bytes
2028 bytes
2008 bytes
1988 bytes
Packets of the same session may be routed through different paths in
Both TCP and UDP
Neither TCP nor UDP
TCP, but not UDP
UDP, but not TCP
Which of the following system calls results in the sending of SYN packets?
socket
listen
bind
connect
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
Only I.
Only II
Both I and II
None of the themes
Which of the following is helpful to avoid a TCP-SYN flood attack? Use of cryptographic function to generate sequence numbers for TCP connection is helpful to avoid?
Two-way handshaking
Checksum
Cryptographic functions
None of these
What is/are the parameters responsible for restricting TCP segment size?
IP address
IP payload
Maximum Transmission Unit (MTU) of the link
Acknowledgement number field size
"For effective congestion avoidance, the sending rate of the network should be the minimum of the second network rate and receiver rate"
The above statement is: rate.
true
false
TCP supports broadcasting
The above statement is correct
The above statement is wrong
Which is the default port number for establishing an HTTP (Apache HTTP server) connection?
43
44
443
None of these
(i) UDP is a wrapper of the IP layer.
(ii) TCP is suitable for short message transfer where reliability is not a concern.
Which of the above statement(s) is/are correct? UDP
Only i
Only ii
Both i and ii
None of the above
When does the select() system call return zero? When does
Means an error was encountered
This means the call timed out without any event ready for the sockets monitored
Zero Is the number of sockets that have events pending (read, write, exception)
OS kills the process.
When you create a socket as s = socket(domain, type, protocol), why do you set the value of the protocol parameter as zero?
The system selects the default protocol number for the domain and socket type requested.
No protocol needed
Since a computer understands binary so that it can be either 0 or 1,
None of the above
SOCK STREAM represents
UDP-based Datagram Socket
TCP-based Stream Socket
QUIC-based Stream Socket
None of the above
Socket Address is:
a) Ipv4 Address Translated to Ipvó Address
b) Combination of IP Address and Port Address
c) Combination of MAC Address and domain Address
d) Application Layer Address
