100% found this document useful (1 vote)
193 views

Chapter 23 Quizzes

This document contains 20 multiple choice questions about transport layer concepts in computer networks. Specifically, it covers topics like transport layer duties, socket addressing, protocols like TCP and UDP, port numbers, window sliding in protocols like Go-Back-N and Selective Repeat, and functions like multiplexing and demultiplexing. The questions test understanding of key ideas around reliable and unreliable transport, connection-oriented vs. connectionless communication, and window management in common transport layer protocols.

Uploaded by

Amal Samuel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
193 views

Chapter 23 Quizzes

This document contains 20 multiple choice questions about transport layer concepts in computer networks. Specifically, it covers topics like transport layer duties, socket addressing, protocols like TCP and UDP, port numbers, window sliding in protocols like Go-Back-N and Selective Repeat, and functions like multiplexing and demultiplexing. The questions test understanding of key ideas around reliable and unreliable transport, connection-oriented vs. connectionless communication, and window management in common transport layer protocols.

Uploaded by

Amal Samuel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

CHAPTER 23 1

1 One of the main duties of the transport layer is to provide ____________ communication.
A) node-to-node
B) host-to-host
C) process-to-process
D) None of the choices are correct

2 A client program normally uses ____________ port number. A server program normally
uses __________ port number.
A) a well-known; an ephemeral
B) an ephemeral; a well-known
C) a private; a well-known
D) None of the choices are correct

3 A socket address is a combination of __________.


A) a MAC address and a logical address
B) a MAC address and a port number
C) a user-specific address and a logical address
D) None of the choices are correct

4 ______________ means accepting items from more than one source. ______________
means delivering items to more than one source.
A) Demultiplexing; Multiplexing
B) Multiplexing; Demultiplexing
C) Encapsulation; Decapsulation
D) Pulling; Pushing

5 ________ means the producer delivers the items when they are produced. _______
means the consumer takes the items when it is ready to do so.
A) Pushing; Pulling
B) Pulling; Pushing
C) Forwarding; Accepting
D) None of the choices are correct

CREATED BY SAHAR SALEM


CHAPTER 23 2

6 In the stop-and-wait protocol, the maximum send window size is ______ and the
maximum receive window size is _______, where m is the number of bits in
the sequence.
A) 1; 1
B) 2m; 1
C) 1; 2m
D) 2m ; 2m

7 In the Go-Back-N protocol, the maximum send window size is ______ and the maximum
receive window size is _______, where m is related to the number of
bits in the sequence number.
A) 1; 1
B) 1; 2m
C) 2m − 1; 1
D) 2m − 1; 2m – 1

8 In the selective-repeat protocol, the maximum send window size is ______ and the
maximum receive window size is _______, where m is the number of bits
in the sequence.
A) 1; 1
B) 1; 2m − 1
C) 2m − 1; 1
D) 2m − 1; 2m – 1

9 UDP is a ________________transport protocol.


A) connectionless, reliable
B) connection-oriented, unreliable
C) connectionless, unreliable
D) None of the choices are correct

10 UDP is an acronym for _______.


A) User Delivery Protocol
B) User Datagram Procedure
C) User Datagram Protocol
D) None of the choices are correct

CREATED BY SAHAR SALEM


CHAPTER 23 3

11 At the transport layer, to define the processes, we need two identifiers called
____________.
A) logical addresses
B) physical addresses
C) port addresses
D) None of the choices are correct

12 The ports ranging from 0 to 1,023 are called the ___________ ports. The ports ranging
from 1,024 to 49,151 are called ___________ ports. The ports
ranging from 49,152 to 65,535 are called the ___________ ports.
A) well-known; registered; dynamic or private

B) registered; dynamic or private; well-known


C) private or dynamic; well-known; registered
D) private or dynamic; registered; well-known

13 UDP and TCP are two protocols at the ___________ layer.


A) data-link
B) network
C) transport
D) application

14 A port number is _______ bits long.


A) 8
B) 16
C) 32
D) 64

15 Communication at the transport layer is _________.


A) node-to-node
B) end-to-end
C) node-to-host
D) host-to-node

CREATED BY SAHAR SALEM


CHAPTER 23 4

16 In Go-Back-N, the values of Sf = 3 and Sn = 7, after receiving a packet with ackNo = 6,


the value of Sf is _______________.
A) 6
B) 7
C) 5
D) None of the choices are correct

17 In Go-Back-N, the values of Sf = 3 and Sn = 7, after receiving a packet with ackNo = 6,


the value of Sn is _______________.
A) 6
B) 7
C) 5
D) None of the choices are correct

18 In Go-Back-N, the values of Sf = 3 and Sn = 7, after receiving a packet with ackNo = 5,


the window ________.
A) slides two slots
B) slides one slot

C) slides three slots


D) does not slide

19 In Selective Repeat, the values of Sf = 3 and Sn = 7, after receiving a packet with ackNo
= 5, the window ________.
A) slides two slots
B) slides one slot
C) slides three slots
D) does not slide

20 In Selective Repeat, when a timeout occurs, the timer is ________.


A) stopped
B) started
C) reset (stopped and started)
D) None of the choices are correct

CREATED BY SAHAR SALEM

You might also like