Data Communication and Computer Networks
Data Communication and Computer Networks
The term communication can be defined as the process of transferring messages between
entities. Based on what these two entities are, there are three basic types of
communication:
▪ Human-to-Human
▪ Computer-to-computer
▪ Human-to-Computer
A message should first be encoded in such a way that it can be transmitted through a
channel (medium), it is then transmitted, and finally, it is decoded into a form that can be
understood by the destination at the other end. This holds true for voice communication,
or data communication.
Data communication involves transporting data from one point to another. This is an
instance of computer-to-computer communication, i.e., both the source and the
destination are computer devices, and the transmission media may be telephone lines,
satellite links, microwave links, etc.
Information is transmitted in the form of analog or digital. Most communication lines are
designed to carry analog signals. Digital transmission a rarely used for telecommunications.
Therefore, a technical must be used to represent a digital signal or an analog carrier
➢ Modulation: Converting digital signals into analog signals.
➢ Demodulation: Converting analog signals back into digital signals.
➢ Modem: Short for modulator/demodulator: A communications device that converts
one form of a signal to another that is suitable for transmission over communication
circuits, typically from digital to analog and then from analog to digital.
1
▪ Full Duplex
Simplex
In this mode, transmission can take place only in one direction. The device at either end
is either a send-only or receive-only device.
Half-Duplex
In this mode, data can be transmitted in both directions, but in only one direction at a
time. This is good for transmissions in which case the receiver has to acknowledge that it
has received the message back to the sender. Thus, a half-duplex line can alternately send
and receive data. Two wires are usually required. Voice communication (E.g. telephone)
is normally an instance of half-duplex mode of transmission.
Half Duplex
Sender Receiver
(receiver) (Sender)
Full-Duplex
2
III. Interference: ability to avoid cross talks (cross talks are signal exchanges between
signals at close frequency ranges).
IV. Number of receivers: A guided media can be used to construct a point to point link
or a shared link with multiple attachments. In multiple attachment case, each
attachment introduces some attenuation and distortion and usually the bandwidth
available will be shared among the various attachments.
a. Twisted Pair:
• Insulated copper wires arranged in regular spiral pattern
• The oldest, least expensive, and most commonly used media
• Reduce susceptibility to interference than straight pair wires (two straight parallel
wires tend to act as an antenna and pick up extraneous signals when compared to
twisted pairs)
• Highly susceptible to electrical noise, interference, and ‘tapping’ of the signal as
compared to the other guided media
• Arrangement of twisted pairs into group used for high-speed LAN
b. Coaxial Cable
• Most versatile medium used in LANs, Cable TV, VCR-to-TV connections
• Noise immunity is better than twisted pair
3
• Less susceptible to interference and cross talk but there still is attenuation and
thermal noise problem
• Can go up to 185m or 500m without the need for an amplifier/repeater
• Flexible, thin, made of very pure glass / plastic fiber capable of conducting optical
(light) rays
• Extremely high bandwidth. They are used for high data transmission rate
• Very high noise immunity, resistant to electromagnetic interference
• Does not radiate energy/cause interference
• Very difficult to tap
• Better security but multipoint not easy
• Need optical-electrical interface (more expensive than electrical interface) Fiber
• There are two types of fiber optic cables:
a. Terrestrial Microwave
• Typically used where laying a cable is not practical
• Parabolic dish shaped antenna for directional and bar-like antenna for omni
directional transmission
• Transmits/receives electromagnetic waves in the 2-40 GHz range
• Travels in a straight line (line-of-sight propagation)
• High data rates: 100’s Mbps
• Repeaters spaced 10 - 100 km apart
4
• Applications : telephone and data transmission- wireless LANs
b. Satellite Microwave
• Uses satellite in geostationary (geosynchronous) 36,000 km)
• Source transmits signal to satellite which amplifies or repeats it, and retransmits
down to destinations
• Optimum transmission in 1 - 10 GHz range
• Bandwidth of 100’s MHz
• 270ms Significant propagation delay about
• VSAT ( Very small Aperture Terminal) :- High speed data transmission using
satellite
c. Infrared Transmission
• For short-range communication
o Remote controls for TVs, VCRs, and stereos
o Indoor wireless LANs
• Do not pass through solid walls
o Better security and no interference (with a similar system in adjacent
rooms)
• No government license is needed
• Cannot be used outdoors (due to the sunshine)
When a computer system is processing data all by itself, without any interaction or
interconnection with any other computer system, it is called a stand-alone computer
system. A Network System is a system of two or more computers that are connected to
each other for the purpose of data communication and sharing of resources.
A network also consists of communication channels that are responsible for connecting
devices with each other and transmitting information.
5
1.2.1 Components of Computer Networks
The components required to operate a network can be divided into two major categories -
Hardware and Software
Hardware
The hardware components of a network consist of the following five items
Server
Workstation
Cabling
Network Interface Cards (NIC)
Other Networking Devices
The Server
High capacity computers that function as the central repository of
resources/services the network provides.
Usually the server is also responsible for controlling which users on which
computers in the network are granted access to a service.
Workstations
A place where the services of the server are used (This is where the user is working)
Any computer where the user will be working at. It does not have to be a high
capacity computer
Cabling
Cables that interconnect the different devices on the network.
There are various types of cables, including coaxial cable, twisted-pair cable and
fiber-optic cables.
Wireless networks do not require physical cables
6
3. Bridge: is hardware and a software combination used to connect the
similar type of networks.
4. Router: is a special computer that directs communicating messages when
several networks are connected together. High speed routers can
serve as part of internet backbones, a transmission path, handling the
major data traffic.
5. Gateway: is an interface that enables dissimilar networks to
communicate, such as a LAN with a WAN or two LANs based on
different topologies or network operating systems.
Software
7
• Since all equipment is located within a single establishment, LAN’s are
normally installed and maintained by an organization. Hence, they are also
referred to as private data networks.
• Example: The computer network installed in Poly campus
Types of LAN
Local area networks are two principal types: client/server and peer-to-peer.
1. Client/server LANs: consists of requesting microcomputers, called clients, and
supplying devices that provide a service called server. The server is a relatively
powerful computer that manages shared devices, computers or dump terminal and
shared files. Here in Client/server network the server is more powerful and has more
privilege than clients (connected computers) over the network.
2. Peer-to-peer: Is one in which all computers on the network communicate directly
with one another with out relying on a server. Here in this case each and every
component (microcomputers) connected on the network has equal power and
privilege on the network.
Advantages:
1. Cable layouts are easy to modify
8
2. Workstations can be added to the network easily
3. Centralized control/problem diagnosis resulting from defective
communication lines is easily identified.
Disadvantages:
1. Large amounts of cable are required
2. More cable means greater expense
3. A centralized hub means a single point for potential for network failure
Workstation
Workstation
Central Server
Hub Workstation
Workstation
Workstation Workstation
Workstation
Laser printer
Token-ring
Workstation Server
ASCII Printer
Workstation
9
• The receiving computer takes the token and copies the message and leaves the
token to rotate
• The sender again takes the token and removes the massage from the token to
make the token empty
The token ring technology creates opportunity for acknowledging receipt of messages by
the receivers.
Advantages:
1. The overall cable length is short
2. The shorter cable means lower cabling costs
3. No wiring closet space is required
Disadvantages:
1. A single node failure causes network failure
2. It is more difficult to diagnose faults
3. Network modifications/recognition is more difficult and disrupts network
operation.
Workstation Workstation
Advantages:
1. It uses the least amount of cable
2. The wiring layout is simple
10
3. It has a resilient architecture; its simplicity makes it very reliable
4. It is very easy to extend
Disadvantages:
1. Fault diagnosis and isolation is difficult
To get information
You could get information about people, products, organizations, research data, electronic
versions of the printed media, etc. from the Internet. You can get easy access to a wealth of
information and entertainment. As such it is often described as the prototype for a world
wide information "superhighway".
To provide information
Most of what you want to provide could be considered global advertising. The best and
most inexpensive way to let people know who you are, what you are doing/have done, and
how
Publishing: including full test articles, reports, abstracts, computer programs, and
demonstrations
Teaching: The possibilities here include both distance learning and assistance for
students
Sharing/ exchanging information with the outside world.
Ability to communicate
11
The Internet gives people the ability to communicate with other connected
computer users through electronic mail and real time typed conversations (bulletin
boards, databases, and discussion groups). Users will be able to use electronic mails
to transmit messages, announcements and document/file attachments to other users
within the Intranet or over the Internet.
Direct Connection: is a permanent connection between your computer system and the
Internet. This is sometimes referred to as a leased-line connection because the line is
leased from the telephone company.
You can also get a direct connection to your ISP, where you have a fixed cable or a
dedicated phone line to the ISP. Often the dedicated line is an ISDN (Integrated Services
Digital Network) line that is a higher speed version of the standard phone line.
12
the WWW, users “Surf” from one page to another by pointing and clicking on the
hyperlinks in text or graphics.
E-Mail
E-Mail is the ability to write a message to someone, using a mail program, and use
the Internet as a means of delivering that message. Email is not a free service. The
cost of your email is covered in your service charge to your provider.
E-mail is the most popular application of computer communication system. For the purpose
of our discussion, we shall adopt the simplest definition of E-mail as follows:
Email (Electronic mail) refers to a computer-based system allowing two or more people to
communicate through the transmission of character coded or graphic information by
electronic means. Electronic mail, or e-mail, allows computer users locally and worldwide
to exchange messages. Each user of e-mail has a mailbox address to which messages are
sent. Messages sent through e-mail can arrive within a matter of seconds.
Usenet
Usenet is Internet-based bulletin board that allows reading and posting of "news" in
various "newsgroups." There are thousands of newsgroups covering a myriad of topics.
FTP
FTP stands for File Transfer Protocol. This is both a program and the method used to
transfer files between computers. Anonymous FTP is an option that allows users to
transfer files from thousands of host computers on the Internet to their personal computer
account. FTP sites contain books, articles, software, games, images, sounds, multimedia,
course work, data sets, and more.
13
•• E-mail (Simple Mail Transport Protocol or SMTP) - distributes electronic
messages and files to one or more electronic mailboxes
•• Telnet (Telnet Protocol) - facilitates login to a computer host to execute
•• FTP (File Transfer Protocol) - Transfers text or binary files between an FTP server
and client
When a new site is put online it has a specific network address that looks something like
207.70.128.240. In order to make the site easier to remember, a unique name is correlated
with the number.
A domain name always contains two or more components separated by periods, called
“dots”. Some examples of domain names are: ibm.com, nasa.gov, ju.edu.et etc. Once a
domain name has been established, “sub-domains” can be created within the domain. For
example, the domain name for a large company could be “vni.com” and within this
domain, sub-domains can be created for each of the company’s regional offices.
The portion of a domain name after the dot describes the type of organization holding
that name. The major categories are:
• Com – commercial entities
• Edu – educational institutions
• Net – organizations directly involved in the Internet operations, such as network
providers and network information centers.
• Org – miscellaneous organizations that do not fit any other category, such as non-
profit groups
• Gov – united states federal government entities
• Mil – united states military
Country codes – a two-letter abbreviation for a particular country for example et for
Ethiopia, uk for united kingdom, or fr for france
14