Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

NPTEL Quiz-2

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
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

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

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

4.

Which of the following system calls results in the sending of SYN packets? 

a)

socket

b)

listen

c)

bind

d)

connect

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 the themes

6.

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? 

a)

Two-way handshaking

b)

Checksum

c)

Cryptographic functions

d)

None of these

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

8.

"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.

a)

true

b)

false

9.

TCP supports broadcasting 

a)

The above statement is correct

b)

The above statement is wrong

10.

Which is the default port number for establishing an HTTP (Apache HTTP server) connection? 

a)

43 

b)

44

c)

443

d)

None of these

11.

(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

a)

Only i

b)

Only ii 

c)

Both i and ii

d)

None of the above

12.

When does the select() system call return zero?  When does

a)

Means an error was encountered

b)

This means the call timed out without any event ready for the sockets monitored

c)

Zero Is the number of sockets that have events pending (read, write, exception)

d)

OS kills the process.

13.

When you create a socket as s = socket(domain, type, protocol), why do you set the value of the protocol parameter as zero? 

a)

The system selects the default protocol number for the domain and socket type requested.

b)

No protocol needed

c)

Since a computer understands binary so that it can be either 0 or 1,

d)

None of the above

14.

SOCK STREAM represents 

a)

UDP-based Datagram Socket

b)

TCP-based Stream Socket

c)

QUIC-based Stream Socket

d)

None of the above

15.

Socket Address is: 

a)

a) Ipv4 Address Translated to Ipvó Address

b)

b) Combination of IP Address and Port Address

c)

c) Combination of MAC Address and domain Address

d)

d) Application Layer Address