Top Banner
Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2
26
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

Exercises and SolutionsLecture 1

Chapter 1 and Chapter 2

Page 2: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

Chapter 1

Page 3: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

1-Identify the five components of a data communication system :

sender, receiver, transmission medium, message, and protocol.

Page 4: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

2- What are the three criteria for an effective and efficient Network?

The three criteria are performance, reliability, and security

Page 5: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

3-What are the 2 type of line configuration?

Line configurations (or types of connections) are point-to-point and multipoint.

Page 6: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

4-What is the difference between the half-duplex and full-duplex?

In half-duplex transmission, only one entity can send at a time; in a full-duplex transmission, both entities can send at the same time.

Page 7: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

5-for n devices in a network, what is the number of cable link required for mesh, ring, bus and star topology?

The number of cables for each type of network is:a. Mesh: n (n – 1) / 2b. Star: nc. Ring: n – 1d. Bus: one backbone and n drop lines

Page 8: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

6- What is an internet, what is the internet?

An internet is an interconnection of networks.

The Internet is the name of a specific worldwide network.

Page 9: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

7-why are standard needed?

Standards are needed to create and maintain an open and competitive market for manufacturers, to coordinate protocol rules, and thus guarantee compatibility of data communication technologies.

Page 10: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

8- color image use 16 bit to represent a pixel, what is the maximum number of different color that could be represented?

With 16 bits, we can represent up to 216 different colors.

Page 11: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

10- in the ring topology in figure 1.8, what happens if one of the stations is unplugged?

Theoretically, in a ring topology, unplugging one station, interrupts the ring. However, most ring networks use a mechanism that bypasses the station; the ring can continue its operation.

Page 12: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

11- Draw hybrid topology with a star backbone and three ring network?

Page 13: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

12- Performance is inversely related to delay, when you use the internet which of the following application more sensitive to delay ?

-sending an e-mail.-copying a file.-surfing the internet.

a. E-mail is not an interactive application. Even if it is delivered immediately, it may stay in the mail-box of the receiver for a while. It is not sensitive to delay.

b. We normally do not expect a file to be copied immediately. It is not very sensitive to delay.

c. Surfing the Internet is the an application very sensitive to delay. We except to get access to the site we are searching.

Page 14: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

13- compare the telephone network and the internet network what are the similarity and what is the difference?

Difference: Telephone network: is used for voice communication, circuit-switchednetwork.Internet network: is used for data communication, packet-switched network.

Similarity: both are made of interconnections of small networks.

Page 15: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

Chapter 2

Page 16: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

1-List the layers of the internet model?

The Internet model, as discussed in this chapter, include physical, data link, network, transport, and application layers.

Page 17: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

2-Which layer of the internet model is the user support layer?

The application layer supports the user.

Page 18: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

3-What is peer to peer process?

Peer-to-peer processes are processes on two or more devices communicating at a same layer

Page 19: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

4-What are headers and trailers how are they added and removed?

Headers and trailers are control data added at the beginning and the end of each data unit at each layer of the sender and removed at the corresponding layers of the receiver.

They provide source and destination addresses, synchronization points, information for error detection, etc.

Page 20: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

5-What are the responsibility of the Data link layer in the internet model?

The data link layer is responsible fora. framing data bitsb. providing the physical addresses of the sender/receiverc. data rate controld. detection and correction of damaged and lost frames

Page 21: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

6-What are the responsibility of Transport layer in the internet model?

The transport layer oversees the process-to-process delivery of the entire message.It is responsible fora. dividing the message into manageable segmentsb. reassembling it at the destinationc. flow and error control

Page 22: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

7-Name some services provided by the application layer in the internet model?

The application layer services include file transfer, remote access, shared database management, and mail services.

Page 23: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

8-How are OSI and ISO related to each other?

The International Standards Organization, or the International Organization of Standards, (ISO) is a multinational body dedicated to worldwide agreement on international standards. An ISO standard that covers all aspects of network communications is the Open Systems Interconnection (OSI) model.

Page 24: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

a. Reliable process-to-process delivery: transport layerb. Route selection: network layerc. Defining frames: data link layerd. Providing user services: application layere. Transmission of bits across the medium: physical layer

Page 25: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

a. Format and code conversion services: presentation layerb. Establishing, managing, and terminating sessions: session layerc. Ensuring reliable transmission of data: data link and transport layersd. Log-in and log-out procedures: session layere. Providing independence from different data representation: presentation layer

Page 26: Exercises and Solutions Lecture 1 Chapter 1 and Chapter 2.

The errors between the nodes can be detected by the data link layer control, but the error at the node (between input port and output port) of the node cannot be detected by the data link layer.