Data and computer communication pdf

Saturday, November 10, 2018 admin Comments(0)

the Data and Computer Communications Premium Content Website! To log in .. PDF files: Reproductions of all figures and tables from the book. • Test bank: A. Objectives This book attempts to provide a unified overview of the broad field of data and computer communications. The organization of the book reflects an. covers the material in the Computer Communication Networks the book in PDF (Adobe Acrobat) format, and sign-up information for the.

Language: English, Spanish, Japanese
Country: United States
Genre: Environment
Pages: 404
Published (Last): 05.11.2015
ISBN: 343-2-76198-243-8
ePub File Size: 19.72 MB
PDF File Size: 11.33 MB
Distribution: Free* [*Regsitration Required]
Downloads: 43498
Uploaded by: MAZIE

In this Eighth Edition we have retained the objectives and approaches for teach- ing materials science M Computer System Architecture-Morris Mano third. A detailed set of course notes in PDF format suitable for student handout or . Appendix B Projects for Teaching Data and Computer Communications B NOTICE This manual contains solutions to all of the review questions and homework problems in Data and Computer Communications, Eighth Edition.

EEL Computer Networks. Node 5 retransmits only to node 6. EG Communications Engineering. The string is sent. If a receiver gets out of synchronization it can scan for this pattern and resynchronize. There are 7 data bits, 1 start bit, 1. Another alternative is to embed the clocking information in the data signal.

Frames issued by the primary are called commands. Secondary station: Operates under the control of the primary station. Frames issued by a secondary are called responses. The primary maintains a separate logical link with each secondary station on the line. Combined station: Combines the features of primary and secondary. A combined station may issue both commands and responses.

Used with an unbalanced configuration. The primary may initiate data transfer to a secondary, but a secondary may only transmit data in response to a command from the primary.

Data and Computer Communications

Asynchronous balanced mode ABM: Used with a balanced configuration. Either combined station may initiate transmission without receiving permission from the other combined station. Asynchronous response mode ARM: The secondary may initiate transmission without explicit permission of the primary.

The primary still retains responsibility for the line, including initialization, error recovery, and logical disconnection. This is achieved by bit stuffing. Additionally, flow and error control data, using the ARQ mechanism, are piggybacked on an information frame.

Supervisory frames S-frames provide the ARQ mechanism when piggybacking is not used. Unnumbered frames U-frames provide supplemental link control functions. Because only one frame can be sent at a time, and transmission must stop until an acknowledgment is received, there is little effect in increasing the size of the message if the frame size remains the same.

All that this would affect is connect and disconnect time.

Communication pdf and computer data

This would lower line efficiency, because the propagation time is unchanged but more acknowledgments would be needed. For a given message size, increasing the frame size decreases the number of frames. This is the reverse of b. Then, using Equation 7. Using Equation 7. The first frame takes 10 msec to transmit; the last bit of the first frame arrives at B 20 msec after it was transmitted, and therefore 30 msec after the frame transmission began.

It will take an additional 20 msec for B's acknowledgment to return to A. Thus, A can transmit 3 frames in 50 msec. B can transmit one frame to C at a time. Thus, the total number of frames transmitted without an ACK is: The REJ improves efficiency by informing the sender of a bad frame as early as possible. Station A sends frames 0, 1, 2 to station B. Station B receives all three frames and cumulatively acknowledges with RR 3. Because of a noise burst, the RR 3 is lost.

A times out and retransmits frame 0. B has already advanced its receive window to accept frames 3, 0, 1, 2. Thus it assumes that frame 3 has been lost and that this is a new frame 0, which it accepts. The sender never knows that the frame was not received, unless the receiver times out and retransmits the SREJ. Also from the standard: This would contradict the intent of the SREJ frame or frames. From the beginning of the transmission of the first frame, the time to receive the acknowledgment of that frame is: However, for simplicity, bit stuffing is used on this field.

When a flag is used as both an ending and starting flag that is, one 8-bit pattern serves to mark the end of one frame and the beginning of the next , then a single-bit error in that flag alters the bit pattern so that the receiver does not recognize the flag.

Accordingly, the received assumes that this is a single frame. If a bit error somewhere in a frame between its two flags results in the pattern , then this octet is recognized as a flag that delimits the end of one frame and the start of the next frame.

Any discrepancies result in discarding the frame. Bit-stuffing at least eliminates the possibility of a long string of 1's. This is the number of the next frame that the secondary station expects to receive. The same frame format as for LAPB is used, with one additional field: The LAPB control field includes, as usual, a sequence number unique to that link. The MLC field performs two functions. First, LAPB frames sent out over different links may arrive in a different order from that in which they were first constructed by the sending MLP.

Data and Computer Communications - PDF Free Download

Second, if repeated attempts to transmit a frame over one link fails, the DTE or DCE will send the frame over one or more other links. The MLP sequence number is needed for duplicate detection in this case. In essence, a transmitter must subtract the echo of its own transmission from the incoming signal to recover the signal sent by the other side.

This explains the basic difference between the 1. A scheme such as depicted in Figure 8. Each Hz signal can be sampled at a rate of 1 kHz. If 4-bit samples are used, then each signal requires 4 kbps, for a total data rate of 16 kbps. This scheme will work only if the line can support a data rate of 16 kbps in a bandwidth of Hz.

In time-division multiplexing, the entire channel is assigned to the source for a fraction of the time. If there is spare bandwidth, then the incremental cost of the transmission can be negligible.

The new station pair is simply added to an unused subchannel. If there is no unused subchannel it may be possible to redivide the existing subchannels creating more subchannels with less bandwidth. If, on the other hand, a new pair causes a complete new line to be added, then the incremental cost is large indeed. What the multiplexer receives from attached stations are several bit streams from different sources.

Pdf computer data and communication

What the multiplexer sends over the multiplexed transmission line is a bit stream from the multiplexer. As long as the multiplexer sends what can be interpreted as a bit stream to the demultiplexer at the other end, the system will work.

The multiplexer, for example, may use a self-clocking signal. The incoming stream may be, on the other hand, encoded in some other format. The multiplexer receives and understands the incoming bits and sends out its equivalent set of multiplexed bits. In synchronous TDM, using character interleaving, the character is placed in a time slot that is one character wide. The character is delimited by the bounds of the time slot, which are defined by the synchronous transmission scheme.

Thus, no further delimiters are needed. When the character arrives at its destination, the start and stop bits can be added back if the receiver requires these. TDM's focus is on the medium rather than the information that travels on the medium. Its services should be transparent to the user. It offers no flow or error control. These must be provided on an individual-channel basis by a link control protocol. The actual bit pattern is If a receiver gets out of synchronization it can scan for this pattern and resynchronize.

This pattern would be unlikely to occur in digital data. Analog sources cannot generate this pattern. It corresponds to a sine wave at 4, Hz and would be filtered out from a voice channel that is band limited. One SYN character, followed by 20 bit terminal characters, followed by stuff bits. The available capacity is 1. This is a practical limit based on the performance characteristics of a statistical multiplexer. If the receiver is on the framing pattern no searching , the minimum reframe time is 12 frame times the algorithm takes 12 frames to decide it is "in frame".

Hence it must search the maximum number of bits 55 to find it. Each search takes 12T f.

Assuming the system is random, the reframing is equally to start on any bit position. Hence on the average it starts in the middle or halfway between the best and worst cases. Therefore, the channel cost will be only one-fourth, since one channel rather than four is now needed. The same reasoning applies to termination charges. The present solution requires eight low speed modems four pairs of modems. The new solution requires two higher-speed modems and two multiplexers. The reliability of the multiplexed solution may be somewhat less.

The new system does not have the redundancy of the old system. A failure anywhere except at the terminals will cause a complete loss of the system. Each multiplexer also acts as a buffer. It can accept bits in asynchronous form, buffer them and transmit them in synchronous form, and vice versa.

Assume a continuous stream of STDM frames. If a delimiter is used, bit or character-stuffing may be needed. Only a recipient who knows the spreading code can recover the encoded information.

A receiver, hopping between frequencies in synchronization with the transmitter, picks up the message. Each user uses a different spreading code. The receiver picks out one signal by matching the spreading code.

Thus, to achieve the desired SNR, the signal must be spread so that 56 KHz is carried in very large bandwidths. Thus a far higher SNR is required without spread spectrum.

Period of the PN sequence is 15 b. MFSK c. Same as for Problem 9. This is from the example in Section 6. We need three more sets of 8 frequencies. The second set can start at kHz, with 8 frequencies separated by 50 kHz each. The third set can start at kHz, and the fourth set at kHz. The first generator yields the sequence: The second generator yields the sequence: Because of the patterns evident in the second half of the latter sequence, most people would consider it to be less random than the first sequence.

See [KNUT98], page 13 for a discussion. As discussed in the answer to Problem 9. Now, if we use a linear congruential generator of the following form: Often, a and c are chosen to create a sequence of alternating even and odd integers.

The simulation depends on counting the number of pairs of integers whose greatest common divisor is 1.

With truly random integers, one-fourth of the pairs should consist of two even integers, which of course have a gcd greater than 1. This never occurs with sequences that alternate between even and odd integers. For a further discussion, see Danilowicz, R.

Subscriber line: Two stations of different data rates can exchange packets because each connects to its node at its proper data rate. On a packet-switching network, packets are still accepted, but delivery delay increases. Thus, if a node has a number of packets queued for transmission, it can transmit the higher- priority packets first.

These packets will therefore experience less delay than lower-priority packets. In the virtual circuit approach, a preplanned route is established before any packets are sent. Once the route is established, all the packets between a pair of communicating parties follow this same route through the network. As a smaller packet size is used, there is a more efficient "pipelining" effect, as shown in Figure However, if the packet size becomes too small, then the transmission is less efficient, as shown in Figure The major differences are that frame relay uses out-of-channel signaling while X.

In frame relay there is no "hop-by-hop" flow control or error control as there is in X. If a frame error is detected it is just dropped rather than being retransmitted.

Similarly, on an end-to-end basis, there is no error control or flow control except what is provided by higher level protocols outside of frame relay.

On the other hand, because of the lack of hop-by-hop flow control, the user of frame relay has fewer tools to manage network congestion. The effective use of frame relay also depends on the channels being relatively error free. For example, this is true for fiber optics, but probably not for most forms of broadcast, wireless transmission.

Thus a telephone occupies a circuit for 3 minutes per hour. Each first stage matrix has n input lines and 2n — 1 output lines, so it has n 2n — 1 crosspoints. By the same argument, there are N 2n — 1 crosspoints in the third stage. For large n, we can approximate 2n — 1 by 2n. Circuit Switching vs. A large noise burst could create an undetected error in the packet. If such an error occurs and alters a destination address field or virtual circuit identifier field, the packet would be misdelivered.

Either can prevent the other from overwhelming it. The layer 3 flow control mechanism regulates the flow over a single virtual circuit. Thus, resources in either the DTE or DCE that are dedicated to a particular virtual circuit can be protected from overflow. Errors are caught at the link level, but this only catches transmission errors.

If a packet-switching node fails or corrupts a packet, the packet will not be delivered correctly. A higher-layer end-to-end protocol, such as TCP, must provide end-to- end reliability, if desired.

Otherwise, there would have to be global management of numbers. In essence, the upper part of the fraction is the length of the link in bits, and the lower part of the fraction is the length of a frame in bits. So the fraction tells you how many frames can be laid out on the link at one time.

Multiplying by 2 gives you the round-trip length of the link. You want your sliding window to accommodate that number of frames so that you can continue to send frames until an acknowledgment is received. Adding 1 to that total takes care of rounding up to the next whole number of frames. Adding 2 instead of 1 is just an additional margin of safety. See Figure 7. Additionally, error checking is only done on the header in ATM rather than on the whole cell or frame.

Virtual channels of ATM that follow the same route through the network are bundled into paths. A similar mechanism is not used in frame relay. In ATM, virtual channels, which have the same endpoints, can be grouped into virtual paths. All the circuits in virtual paths are switched together; this offers increased efficiency, architectural simplicity, and the ability to offer enhanced network services.

Network transport functions can be separated into those related to an individual logical connection virtual channel and those related to a group of logical connections virtual path. Increased network performance and reliability: The network deals with fewer, aggregated entities.

Reduced processing and short connection setup time: Much of the work is done when the virtual path is set up. By reserving capacity on a virtual path connection in anticipation of later call arrivals, new virtual channel connections can be established by executing simple control functions at the endpoints of the virtual path connection; no call processing is required at transit nodes.

Thus, the addition of new virtual channels to an existing virtual path involves minimal processing. Enhanced network services: The virtual path is used internal to the network but is also visible to the end user. Thus, the user may define closed user groups or closed networks of virtual channel bundles.

A user of a VCC is provided with a Quality of Service specified by parameters such as cell loss ratio ratio of cells lost to cells transmitted and cell delay variation.

Switched and semipermanent virtual channel connections: A switched VCC is an on-demand connection, which requires a call control signaling for setup and tearing down. A semipermanent VCC is one that is of long duration and is set up by configuration or network management action.

Cell sequence integrity: The sequence of transmitted cells within a VCC is preserved. Traffic parameter negotiation and usage monitoring: Traffic parameters can be negotiated between a user and the network for each VCC. The input of cells to the VCC is monitored by the network to ensure that the negotiated parameters are not violated. Virtual channel identifier restriction within a VPC: One or more virtual channel identifiers, or numbers, may not be available to the user of the VPC but may be reserved for network use.

Examples include VCCs used for network management. No framing is imposed. The interface structure consists of a continuous stream of octet cells. Real-time variable bit rate: The principal difference between applications appropriate for rt-VBR and those appropriate for CBR is that rt-VBR applications transmit at a rate that varies with time..

Non-real-time variable bit rate: With this information, the network can allocate resources to provide relatively low delay and minimal cell loss.. Available bit rate: Unspecified bit rate: Guaranteed frame rate: Cell is assigned or on an uncontrolled ATM connection.

Cell is unassigned or on an uncontrolled ATM connection. We reason as follows. A total of X octets are to be transmitted. Transmission efficiency N variable 1. For long messages, the optimal achievable efficiency is approached. It is only for very short cells that efficiency is rather low.

However, it does not provide significant gains over fixed-length cells for most values of X. As we have already seen in Problem Packetization Transmission delay ms efficiency 2 1.

The transmission time is always incurred so the jitter is due only to the waiting for switches to clear. In the first case the maximum jitter is In the second case the average jitter is Such higher IP-packet loss rate than the cell loss rate is caused by the dropping of cells that are likely to belong to different IP packets.

In order to avoid this high IP-packet loss rate, the Guaranteed Frame Rate GFR service should be used, so that in case of congestion, ATM switches will discard all the cells that comprise a single IP packet, rather than possibly discard one or a few cells from multiple packets. Because an adaptive routing strategy tends to balance loads, it can delay the onset of severe congestion. There is a tradeoff here between the quality of the information and the amount of overhead.

The more information that is exchanged, and the more frequently it is exchanged, the better will be the routing decisions that each node makes. On the other hand, this information is itself a load on the constituent networks, causing a performance degradation.

For each pair of nodes, find a path with the least cost. Dijkstra's algorithm requires that each node must have complete topological information about the network; that is, each node must know the link costs of all links in the network. The fixed number of hops is 2. The furthest distance from a station is halfway around the loop. On average, a station will send data half this distance. Number the levels of the tree with the root as 1 and the deepest level as N. The path from the root to level N requires N — 1 hops and 0.

The path from the root to level N — 1 has 0. Condition 2 then can be shown by induction.

Data and Computer Communications (Eighth Edition)

It holds initially. Suppose that condition 2 holds at the beginning of some iteration. Let i be the node added to T at that iteration, and let L k be the label of each node k at the beginning of the iteration. Let k be the last node of this path before node j. The distance to node i is w j, i plus the distance to reach node j.

This latter distance must be L j , the distance to node j along the optimal route, because otherwise there would be a route with shorter distance found by going to j along the optimal route and then directly to i.

A node will not be added to T until its least-cost route is found. As long as the least-cost route has not been found, the last node on that route will be eligible for entry into T before the node in question.

We provide a table for node 1 of network a; the figure is easily generated.

The table for network b is similar in construction but much larger. Here are the results for node A: A-B A to E: A-E A to H: A-B-C A to F: A-E-G A to K: If there are two or more equal least-cost paths, the two algorithms may find different least-cost paths, depending on the order in which alternatives are explored. The Floyd-Warshall algorithm iterates on the set of nodes that are allowed as intermediate nodes on the paths.

It starts like both Dijkstra's algorithm and the Bellman-Ford algorithm with single arc distances i. It then calculates shortest paths under the constraint that only node 1 can be used as an intermediate node, and then with the constraint that only nodes 1 and 2 can be used, and so forth.

Data Link Simulator: This tool enables students to write connection oriented data link protocols and have them tested on a simulated communication channel.

On-line Simulation: Ann Burroughs, an Associate Professor at Humboldt State University has created two simulations that may help you visualize some of the concepts in the book. They require ShockWave plug-ins and a reasonably up-to-date browser. No password is required for any downloads. Downloading sometimes fails, either because your browser mistakenly assumes a password is needed or for other reasons.

If so, try using another browser or an FTP package. If that doesn't work, there might be a problem at your end or at your ISP, perhaps a firewall issue.

Then you would need to talk to a system manager on your end. Instructors might find these web sites for courses taught using this book useful. I would appreciate hearing about web sites for other courses. Internets and Intranets. TEI of Crete. Includes PDF lecture slides in Greek. University of Idaho. Includes handouts and many interesting links. University College London.

Includes PDF slides. Queen's U. Includes powerpoint slides.

Communication computer data pdf and

EG Communications Engineering. Includes lecture notes, an number of useful supplement pages. CS Computer Networks and Communications. Includes lecture notes. University of Florida.. EEL Computer Networks. Lots of interesting material. CS Data Communications.

Mount Union College, Alliance, Ohio. Some useful links and interesting concept demonstrations. CS Data Communication. Includes useful set of PDF and postscript lecture notes.

Kasetsart University, Thailand. Includes a very good set of student produced slides and notes in Powerpoint and PDF formats.. At Villanova. Rensselaer at Hartford. If you have any suggestions for site content, please contact me at. In particular, please pass along links to relevant web sites and links to course pages used by instructors teaching from this book.

Network World: Includes keyword-indexed library of RFCs and draft documents as well as many other documents related to the Internet and related protocols. Links to thousands of hardware and software vendors who currently have WWW sites, as well as a list of thousands of computer and networking companies in a Phone Directory.

Good way to keep up on conferences, publications, etc. Has an on-line copy of my article on IPv6, which updates material in the book.

Good way to keep up on conferences, publications, etc International Telecommunications Union: International Organization for Standardization: Links to Web pages of vendors, tutorials on technical topics, and other useful information. Networking Links: OSI History: A brief history of the origins of the OSI model.

Wireless Developer Network: News, tutorials, and discussions on wireless topics Siemon Company: Good collection of technical articles on cabling, plus information about cabling standards..

DSL Forum: Forum specifications. Network Services and Integration Forum: Useful links, tutorials, white pages, FAQs. ATM Hot Links: Excellent collection of white papers and links. ATM Forum: Leading the effort to expand the functionality of ATM networks.