Briefly describe the TCP and UDP protocols.

What will be an ideal response?


The TCP/IP Transport layer performs several functions, the most notable being end-to-end packet delivery, reliability, and flow control. Two protocols, TCP and UDP, reside in the Transport layer of the TCP/IP model. TCP provides reliable, connection-oriented communications between two hosts. UDP provides connectionless datagram services between two hosts. Of the two protocols, TCP requires more network overhead because data is acknowledged as it is received. UDP is faster, but is also less reliable, because the recipient does not acknowledge data as it is received. Applications and utilities are written (programmed) to use either UDP or TCP. With UDP, communication reliability is left to the Application layer.

Computer Science & Information Technology

You might also like to view...

Which of the following statements is false?

a. SwingWorker method publish repeatedly sends intermediate results to method process, which displays the results in a GUI component. Method setProgress updates the progress property. b. Method process executes in the event dispatch thread and receives data from method publish. The passing of values between publish in the worker thread and process in the event dispatch thread is synchronous; process is not necessarily invoked for every call to publish. c. PropertyChangeListener is an interface from package java.beans that defines a single method, propertyChange. d. Every time method setProgress is invoked, a PropertyChangeEvent is generated to indicate that the progress property has changed.

Computer Science & Information Technology

Your solution to Exercise 4.15should have overcome the problem of dropped messages in IP multicast. In what sense does your solution differ from the definition of reliable multicast?

What will be an ideal response?

Computer Science & Information Technology

Write the flow of events and specify all fields for the use case UpdateTariff that you drew in Exercise 2–4. Do not forget to specify any relationships.

Figure 2-2 depicts a possible solution for this exercise. Use case name UpdateTariff Participating actor Initiated by CentralComputerSystem Flow of events 1. The CentralComputerSystem activates the “UpdateTariff” function of the ticket distributors available on the network. 2. The ticket distributor disables the traveler interface and posts a sign indicating that the ticket distributor is under maintenance. 3. The ticket distributor waits for the new database from the CentralComputerSystem. 4. After waiting a minute for the ticket distributors to reach a waiting state, the CentralComputerSystem broadcasts the new database. 5. The ticket distributor system receives the new database of tariff. Upon complete, the ticket distributor sends an acknowledgement to the CentralComputerSystem. 6. After acknowledgment, the ticket distributor enables the traveler interface and can issue tickets at the new tariff. 7. The CentralComputerSystem checks if all ticket distributors have acknowledged the new database. If not, the CentralComputerSystem invokes the CheckNonRespondingDistributors use case. Entry condition • The ticket distributor is connected to a network reachable by the CentralComputerSystem. Exit condition • The ticket distributor can issue tickets under the new tariff, OR • The ticket distributor is disabled and displays a sign denoting that it is under maintenance. Quality requirements • The ticket distributor stays offline at most 2 minutes and is considered out-of-order otherwise.

Computer Science & Information Technology

After you create a list of tasks, you can ____________________ your tasks across multiple devices such as your smartphone and laptop, staying up to date and improving your productivity.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology