Computer Networks Questions & Answers – TCP-1
1. Which of the following is true
with respect to TCP
a) Connection-oriented
b) Process-to-process
c) Transport layer protocol
d) All of the mentioned
a) Connection-oriented
b) Process-to-process
c) Transport layer protocol
d) All of the mentioned
Answer: d
Explanation: TCP is a transport layer protocol, process-to-process, and creates a virtual connection between two TCP’s.
Explanation: TCP is a transport layer protocol, process-to-process, and creates a virtual connection between two TCP’s.
2. In TCP, sending and receiving
data is done as
a) Stream of bytes
b) Sequence of characters
c) Lines of data
d) Packets
a) Stream of bytes
b) Sequence of characters
c) Lines of data
d) Packets
Answer: a
Explanation: In TCP, data is sent and received in terms of Stream of bytes.
Explanation: In TCP, data is sent and received in terms of Stream of bytes.
3. TCP process may not write and
read data at the same speed. So we need __________ for storage.
a) Packets
b) Buffers
c) Segments
d) Stacks
a) Packets
b) Buffers
c) Segments
d) Stacks
Answer: b
Explanation: TCP needs buffers for storage to overcome this problem.
Explanation: TCP needs buffers for storage to overcome this problem.
4. TCP groups a number of bytes
together into a packet called
a) Packet
b) Buffer
c) Segment
d) Stack
a) Packet
b) Buffer
c) Segment
d) Stack
Answer: c
Explanation: Segment is a grouping of number of bytes together into a packet.
Explanation: Segment is a grouping of number of bytes together into a packet.
5. Communication offered by TCP is
a) Full-duplex
b) Half-duplex
c) Semi-duplex
d) Byte by byte
a) Full-duplex
b) Half-duplex
c) Semi-duplex
d) Byte by byte
Answer: a
Explanation: Data flow in both the directions at the same time during TCP communication hence, Full-duplex.
Explanation: Data flow in both the directions at the same time during TCP communication hence, Full-duplex.
6. To achieve reliable transport in
TCP, ___________ is used to check the safe and sound arrival of data.
a) Packet
b) Buffer
c) Segment
d) Acknowledgment
a) Packet
b) Buffer
c) Segment
d) Acknowledgment
Answer: d
Explanation: Acknowledgment mechanism is used to check the safe and sound arrival of data.
Explanation: Acknowledgment mechanism is used to check the safe and sound arrival of data.
7. In segment header, sequence
number and acknowledgement number field refers to
a) Byte number
b) Buffer number
c) Segment number
d) Acknowledgment
a) Byte number
b) Buffer number
c) Segment number
d) Acknowledgment
Answer: a
Explanation: Sequence number and acknowledgement number field refers to byte number.
Explanation: Sequence number and acknowledgement number field refers to byte number.
8. Suppose a TCP connection is
transferring a file of 1000 bytes. The first byte is numbered 10001. What is
the sequence number of the segment if all data is sent in only one segment.
a) 10000
b) 10001
c) 12001
d) 11001
a) 10000
b) 10001
c) 12001
d) 11001
Answer: b
Explanation: The sequence number of each segment is the number of first byte carried in that segment.
Explanation: The sequence number of each segment is the number of first byte carried in that segment.
9. Bytes of data being transferred
in each connection are numbered by TCP. These numbers starts with a
a) Random number
b) Zero
c) One
d) Sequence of zero’s and one’s
a) Random number
b) Zero
c) One
d) Sequence of zero’s and one’s
Answer: d
Explanation: These numbers starts with a random number.
Explanation: These numbers starts with a random number.
10. The value of acknowledgement
field in a segment defines
a) Number of previous bytes to receive
b) Total number of bytes to receive
c) Number of next bytes to receive
d) Sequence of zero’s and one’s
a) Number of previous bytes to receive
b) Total number of bytes to receive
c) Number of next bytes to receive
d) Sequence of zero’s and one’s
Answer: c
Explanation: Acknowledgement field in a segment defines the number of next bytes to receive.
Explanation: Acknowledgement field in a segment defines the number of next bytes to receive.
تابع أسئلة الشبكات
ليست هناك تعليقات:
إرسال تعليق