A. Connection-oriented
B. Process-to-process
C. Transport layer protocol
D. Unreliable
Explanation: TCP is a transport layer protocol that provides reliable and ordered delivery of a stream of bytes between hosts communicating via an IP network.
A. Stream of bytes
B. Sequence of characters
C. Lines of data
D. Packets
Explanation: TCP provides stream oriented delivery between hosts communicating via an IP network and there are no message boundaries. TCP can concatenate data from a number of send () commands into one stream of data and still transmit it reliably.
A. Packets
B. Buffers
C. Segments
D. Stacks
Explanation: A TCP receiver has a receive buffer that is used to store the unprocessed incoming packets in case the sender is sending packets faster than the processing rate of the received packets.
A. Packet
B. Buffer
C. Segment
D. Stack
Explanation: A segment may be collection of data from many send () statements. TCP transmits each segment as a stream of bytes.
A. Full-duplex
B. Half-duplex
C. Semi-duplex
D. Byte by byte
Explanation: Data can flow both the directions at the same time during a TCP communication hence, it is full-duplex. This is the reason why TCP is used in systems that require full-duplex operation such as e-mail systems.
A. Packet
B. Buffer
C. Segment
D. Acknowledgment
Explanation: Acknowledgment mechanism is used to check the safe and sound arrival of data. The sender actively checks for acknowledgement from the receiver and once a specific time period has passed, it retransmits the data.
A. Byte number
B. Buffer number
C. Segment number
D. Acknowledgment
Explanation: As TCP has to ensure ordered delivery of packets, sequence number and acknowledgement number are used to identify the byte number of the packet in the stream of bytes being transmitted.
A. 10000
B. 10001
C. 12001
D. 11001
Explanation: The sequence number given to first byte of a segment, with respect to its order among the previous segments, is the sequence number of that segment.
A. Fixed number
B. Random sequence of 0?s and 1?s
C. One
D. Sequence of zero’s and one’s
Explanation: One might expect the sequence number of the first byte in the stream to be 0, or 1. But that does not happen in TCP, Instead, the sender has to choose an Initial Sequence Number (ISN), which is basically a random 32 bit sequence of 0’s and 1’s, during the connection handshake.
A. Sequence number of the byte received previously
B. Total number of bytes to receive
C. Sequence number of the next byte to be received
D. Sequence of zeros and ones
Explanation: The acknowledgement field in a segment defines the sequence number of the byte which is to be received next i.e. sequence number of byte that the sender should transmit next.