Transmission Control Protocol MCQs

Transmission Control Protocol MCQs

Try to answer these Transmission Control Protocol MCQs and check your understanding of the Transmission Control Protocol subject.
Scroll down and let's begin!

1: Tcp messages are called ________.

A.   Frames

B.   Fragments

C.   Packets

D.   None of the above

2: When you search through a list from one end to the other, you are performing a ____.

A.   Temporary

B.   Out of bounds

C.   True or false

D.   Linear search

3: You can use either a(n) ____ or a ____ to store the value of a logical expression.

A.   #define NDEBUG

B.   Int, bool

C.   Selection

D.   If (x = 5)

4: What is TCP?

A.   A protocol used for connecting devices to the internet

B.   A protocol used for transmitting audio and video data

C.   A reliable transport protocol used for data transmission over the internet

D.   A protocol used for securing wireless networks

5: What is the role of TCP in data transmission?

A.   To encrypt the data for secure transmission

B.   To ensure data integrity during transmission

C.   To break data into smaller packets for transmission over the network

D.   To provide reliable and ordered delivery of data packets between devices

6: How does TCP establish a connection between two devices?

A.   By sending an initial data packet to the receiver

B.   By using a handshake process called the Three-Way Handshake

C.   By encrypting the data before transmission

D.   By checking the physical connection between the devices

7: What is the function of sequence numbers in TCP?

A.   To determine the size of the data packets

B.   To ensure data delivery in the correct order

C.   To identify the sender's IP address

D.   To provide error correction during data transmission

8: How does TCP handle data retransmission in case of packet loss?

A.   TCP does not retransmit lost packets

B.   TCP relies on the application layer to handle retransmission

C.   TCP uses acknowledgement and timeout mechanisms to trigger retransmission of lost packets

D.   TCP adjusts the window size to accommodate packet loss

9: Which TCP feature prevents the receiver from being overwhelmed with too many incoming packets?

A.   Window size

B.   Flow control

C.   Error correction

D.   Handshake process

10: What is the purpose of the TCP window size?

A.   To determine the amount of data a device can send before receiving an acknowledgment

B.   To determine the maximum data transmission speed of a device

C.   To determine the physical size of the TCP header

D.   To manage the rate of data flow between sender and receiver

11: How does TCP ensure data integrity during transmission?

A.   By encrypting the data using a private key

B.   By attaching a digital signature to each data packet

C.   By using checksums to detect errors and requesting retransmission if errors are found

D.   By compressing the data to reduce the size of packets

12: Which TCP port number is typically used for HTTP (Hypertext Transfer Protocol) traffic?

A.   Port 80

B.   Port 21

C.   Port 443

D.   Port 25

13: In which layer of the OSI model does TCP operate?

A.   Data Link Layer

B.   Transport Layer

C.   Network Layer

D.   Application Layer