Data Comm & Networking
Data Comm & Networking
COMMUNICATION
AND NETWORKING
1
OBJECTIVES
At the end of this chapter, you will be able to:
• Describe the basic components of a
telecommunication system
• Define and identify the components of a
successful communication
• Understand the various communications
technologies
• Describe the features of the various types of
communications networks and network
services.
2
INTRODUCTION
When computers were first introduced, they
were stand-alone devices but as they became
widely used, hardware and software were
designed so that computers could exchange
data, information, and instructions with other
computers - a process called data
communication.
Computer communication (also called
telecommunication or Data communication)
describe a process in which one computer
transfers data, information and instructions to
another computer. 3
Today, even the smallest computers and
devices communicate directly with one
another, with hundreds of computers on a
company network, or with millions of
other computers around the globe—often
via the Internet. Computer
communication is accomplished through
the use of a Telecommunications
system.
4
A telecommunications system is a collection of
compatible hardware and software arranged to
communicate data, information and instructions from
one location to another.
Figure below illustrates a general model of a typical
telecommunications system
5
THE TELECOMMUNICATIONS MODEL CONSISTS
OF THE FOLLOWING:
i. A sending device that initiates an instruction to
transmit data, information, or instructions. It can be a
computer system, a terminal, a cellular telephone, a
WebTV™, a GPS receiver, an Internet-enabled PDA, or
another device that originates the message.
ii. A communications device Eg a switch, hub or
router which connects the communications channel to
a receiving device/a sending device..
iii. A communications channel or transmission media,
are pathways on which the data, instructions, or
information travel. This can be wireless or wired
medium.
iv. A receiving device that accepts the transmission of
data, information, or instructions.
v. A communications software that controls and
manages the activities and functions of the
communications network7 eg web browsers.
Assignment I
1. Which of the following describes a computer network?
A.Connection of computers C. Arrangement of computers
B. Collection of computers D. Laboratory of computers
2. Computers that are not connected to the computer
networks are referred to as?
A. Server computers C. Client computers
B. Standalone computers D. Workstations
3. Which of the following network topologies has its
nodes connected to a single cable?
A. Star topology C. Bus topology
B. Mesh topology D. Ring topology
4. Wireless media can also be referred to as
A. Guided media C. Bounded media
B. Unguided media D. Physical media
5. Outline any five elements of a telecommunication model
6. Describe any three advantages and disadvantages of using
Fiber optic cables in telecommunication
9
COMPUTER NETWORKS
A Computer network is a collection of
computers and devices connected by
communication channels that facilitate communication
among users, and allow sharing of resources. In a
networked environment, any authorized user can use
a computer on a network to:-
i. Access data and information stored on other
computers in the network.
ii. Access hardware that is shared in the
network.
iii. Use software stored on a server's hard disk.
iv. Transfer funds
v. Communicate efficiently and easily via e-mail,
chat, and videoconferencing.
10
Advantages/benefits of computer Networks
1. File Sharing: It allows file sharing and remote file
access. It is easy for a person sitting on one
networked computer to see and access files on
another networked computer.
2. Software sharing: Software can be installed on one
server computer that can be used by the different
client computers instead of purchasing a copy for
each computer.
3. Easy Communication: People on a computer
network can communicate easily with each other. For
example with the internet, network users can use
Emails, Instant messaging, etc.
4. Sharing of Hardware / Peripheral
devices: Computers on the network can share
devices such as printers, scanners.
5. Central storage for data: In a client-server
network, all the data can be stored in one
place(on the server) and this makes it easy to
manage it.
6. Makes data back up easy since all the data is
stored on the file server.
7. Enforcing security policies on data is easy,
since each and every user has his own set of
privileges to prevent them accessing restricted
files.
Disadvantages of computer Networks
1. Expensive to set up: The initial set up cost can be high
depending on the number of computers to be connected.
Devices like switches, routers, and cables are always
expensive.
2. Failure of the server: In case the main file server of a
computer network breaks down, the whole system becomes
useless.
3. Rapid spread of computer virus: If any computer on a
network gets affected by a computer virus, there is a possible
threat of other computers getting affected too.
4. Insecurity of information: If a computer is on a network,
a computer hacker can get unauthorized access of
information by using different tools.
5. Managing a large network is complicated, requires training
and a network manager needs to be employed
TYPES OF COMPUTER
NETWORKS
Computer networks can be classified
according to the size of area covered by that
network. This includes:
i. Personal Area Network(PAN)
ii. Local Area Network(LAN)
iii. Metropolitan Area Network(MAN)
iv. Wide area network (WAN)
The main difference among these
classifications is their area of coverage.
14
PERSONAL AREA NETWORK
A personal area network (PAN) is a computer
network organized around an individual person.
Personal area networks typically involve a mobile
computer, a cell phone and/or a handheld computing
device such as a PDA or smart phone. You can use
these networks to transfer files including digital
photos, music and even email. PANs are mainly
wireless although some can be constructed with
cables. USB and FireWire technologies often link
together a wired PAN, while wireless PANs typically
use Bluetooth or sometimes infrared connections.
Bluetooth PANs are also sometimes called piconet.
NOTE: A piconet is a network of devices connected using
Bluetooth technology. The network ranges from two to eight
connected devices. 15
LOCAL AREA NETWORK
A local area network (LAN) is a network
that connects computers over a relatively small
distance or limited geographical area, such as a
school computer laboratory, within a single
building or closely positioned group of
buildings. A LAN, the most common network,
consists of a communications channel,
networked computers and devices, a network
interface card, and a network operating system.
The most common use of LANs is for linking
personal computers within a building or office
to share information and expensive peripheral
device. 16
Another popular application of LANs is in
factories, in which they link computers and
computer-controlled machines. A local area
network can be a ring, bus, or star network. It
can be built around powerful personal
computers, minicomputers, or mainframe
computers. Each computer in the LAN usually
requires a network interface card, which is a
board that is placed in a computer's expansion
slot to allow it to communicate with the
network. A LAN uses the network gateway to
connect to public networks or other corporate
networks so that the LAN can exchange data
with networks external to it.
17
LOCAL AREA NETWORK
18
Wireless Local Area Network
A wireless LAN (WLAN) is a LAN that uses no
physical wires, it works using wireless network
technology such as Wi-Fi. Computers and
devices that access a wireless LAN must have
built-in wireless capability or the appropriate
wireless network card, PC Card, Express Card
module, USB network adapter.Very often, a
WLAN communicates with a wired LAN for
access to its resources, such as software,
hardware, and the Internet.
19
Wireless Local Area Network
Wireless Local Area Network
METROPOLITAN AREA NETWORK
A metropolitan area network (MAN) is a network
designed for a city. It typically spans a town or city and is
owned by a single person or company, such as a local
council or a large company. It connects local area
networks in a metropolitan area. A MAN typically
includes one or more LANs but covers a smaller
geographic area than a WAN.
E.g, businesses such as banks can tap into fiber optic
network resources and extend their Local Area
Network (LAN) up to 160km, therefore enabling a
MAN. This type of network extension allows
organizations to continue using their Ethernet LAN
systems throughout multiple locations in a metropolitan
area. 22
WIDE AREA NETWORK
A wide area network (WAN) is a network
that covers a very large geographical area such
as an entire country or the entire world. A
WAN can contain multiple LANs (smaller
networks) connected together by a router
which ensures that data is delivered to the
correct destination. The Internet is the best-
known example of a Wide Area Network
24
26
APPLICATION OF
COMPUTER NETWORKS
The fundamental purpose of computer networks is to
provide access to shared resources, such as printers and
data storage.
Business Applications:
• Used for data/information and resource sharing.
Resources such as Printers, Scanners, CD drives
• Communication Medium among employees. For
example Email
• E-Commerce.This is doing business with people
over the internet
27
Home Applications:
• Mainly for Internet Access to:
i. Access to remote information
ii. Person-to-person communication
iii. Interactive entertainment
iv. Electronic Commerce
Mobile Users-laptops/notebooks and
PDAs
• Access internet regardless of location-wired
connection is limited in cars, airplanes
• Provides a portable office. One can carry out
office business even when not at the base.
Social Issues
• News groups and bulletin boards where people
can exchange messages
28
NETWORK TOPOLOGY
Network Topology refers to the physical layout of a
network and how different nodes in a network are
connected to each other and how they
communicate. A node refers to any device
connected to a network, including the server,
computers, telephones, and other devices.
Below are some of the common types of network
topologies
i. Bus Network Topology
ii. Star Network Topology
iii. Ring Network Topology
iv. Mesh Network Topology
29
BUS NETWORK TOPOLOGY
A bus network topology consists of a single central
cable, to which all the network nodes are attached.
The bus is the physical cable that connects the
computers and other devices. The bus in a bus
network transmits data, instructions, and information
in both directions.When a sending device transmits
data, address of the receiving device is included with
the transmission so that the data is routed to the
appropriate receiving device. All the signals are
broadcast in both directions to the entire network,
with special software to identify which nodes receive
each message.
NOTE: There is no central host computer to
control the network. Nodes can be attached to or
detached from the network without affecting the
network. 30
BUS NETWORK TOPOLOGY
31
Advantages Of A Bus Topology
1) Easy to install.
2) Easy to connect nodes to a linear bus.
3) It works well for a small network.
4) Cheaper compared to other topologies since it requires less
cable lengths.
DISADVANTAGES
1) Entire network shuts down if there is a break in the main
cable.
2) Not suitable for large networks
3) Large Amount of packet collisions on the network, which
results in high amounts of packet loss.
4) There is a limit on central cable length and number of nodes
that can be connected
5) Terminators are required at both ends of the backbone cable
to absorb the signal.
STAR NETWORK TOPOLOGY
This is a network topology where each node connected
directly to a central device such as a network switch or a
hub. Each node has a cable that goes from its network
card to a network switch, thus forming a star.
Two types of network devices that provide a common
central connection point for nodes on the network are a
hub and a switch. The hub/switch is responsible for
managing the network, ie all data that transfers from one
node to another node passes through the hub/switch.
Nodes can be added to and removed from the network
with little or no disruption to the network. On a star
network, if one node fails, only that node is affected. Any
connection failure between a node and the hub will not
affect the overall system.
33
STAR NETWORK TOPOLOGY
34
Advantages Of A Star Topology
1. It gives far much better performance as compared to Bus
topology, because a sent signal reaches the intended destination
without necessarily get transmitted to all the nodes, especially if a
switch is used.
2. No disruptions to the network when connecting or removing
devices.
3. It offers centralized management thus making it easy in
monitoring the network.
4. Failure of one node doesn’t affect the rest of network.
5. Its easy to detect the failure and troubleshoot it.
DISADVANTAGES
1. The use of hub or a switch as central device increases the overall
cost of the network.
2. Too much dependency on central device (hub, switch) if it fails,
the whole network goes down.
3. Requires more cable length than a bus topology
RING NETWORK TOPOLOGY
A ring network topology links all nodes together in a
circular chain. Each node is connected to two other
nodes on either side, and it communicates with these
two adjacent neighbours. Data messages travels in only
one direction from device to device around the entire
ring. The node examines any data that passes by to see if
it is the addressee; if not, the data is passed on to the
next node in the ring. If a node on a ring network fails, all
nodes before the failed node are unaffected, but those
after the failed nodes cannot function. Sending and
receiving of data takes place by the help of a TOKEN.
A ring network can span a larger distance than a bus
network, but it is more difficult to install. The ring
topology primarily is used for LANs, but can also be used
in wide area network 36
RING NETWORK TOPLOGY
37
Advantages of a Ring topology
1) There is no data collision. Each node gets to send the data
when it receives an empty token.
2) Additional components do not affect the performance of
network. Thus one can create a much larger network.
3) Each computer on the network has equal opportunity to
transmit data.
Disadvantages
1) Each packet of data must pass through all the computers
between source and destination. This makes it slower than
Star topology.
2) If one workstation or port goes down, the entire network
gets affected.
3) Network is highly dependent on the wire which connects
different components.
4) MAU’s and network cards are expensive as compared to
Ethernet cards and hubs.
MESH NETWORK TOPOLOGY
In mesh topology, every node has a direct point-to-
point connection to every other node. Because all
connections are direct, the network can handle very
high-volume traffic. It is also robust because if one
connection fails, the others remain intact. Security is
also high since data travels along a dedicated
connection.
This type of topology requires a lot of cables and is,
therefore, expensive. Many of the connections are
also redundant since there are several different
paths for data to travel from one node to another.
MESH NETWORK TOPOLOGY
Illustration
Guided or Bounded Transmission Media
It is a transmission media in which data signals are
confined to a specific path using a cable or wires. The
types of Bounded/Guided include:
a) Twisted Pair Cable
b) Coaxial Cable
c) Fiber Optic Cable
Twisted Pair Cable: Is a cable with a pairs of
copper wires, twisted together and wrapped with a
plastic coating. Twisted pair cables are of two types, i.e.
Shielded twisted pair and Unshielded twisted pair
1. Shielded twisted pair (STP) cable has a metal foil
covering which covers each pair of insulated
conductors.The metal covering prevents
electromagnetic noise penetration or interference.
2. Unshielded twisted pair (UTP) cable does not have
the metal foil cover for shielding cables against noise.
Advantages of twisted pair cables
1. It is inexpensive compared to coaxial and fiber
optic cables
2. They are easy to install
3. It has high mobility and flexible
50
Unguided or Unbounded Transmission Media
It is a transmission media which doesn't use any
physical connectors between the two devices
communicating.
It transmits data by sending the electromagnetic
signals through the atmosphere. The signals are not
confined in any specific medium.
This type of communication is commonly referred to
as wireless communication.The types of unguided
media include:-
i. Radio waves
ii. Microwaves
iii. Infrared waves
Infrared
Infrared is a wireless transmission medium
that sends signals using infrared light waves.
Infrared signals can be used for short range
communication in a closed area using line of
sight propagation.
The infrared waves are relatively directional.
Example of Infrared wave is TV remote, DVD
remote
Radio waves
This is a wireless transmission that is used for
multicast communications, such as radio and
television systems. They can penetrate through
walls. Use omnidirectional antennas, meaning
they can travel in all directions from the source
to the receiver.
Microwave
Microwaves is a wireless transmission that facilitates
point-to-point transmission of huge amounts of data
between remote communication sites without the need
to lay cables between them.
The Microwaves propagation is line-of-sight which
means that waves travel in straight lines. Therefore, the
transmitting and receiving antennas must be accurately
aligned with each other.
Before the advent of fiber optics, these microwaves
formed the heart of the long distance telephone
transmission system.
Microwaves cannot penetrate walls.
Microwave signals are used for both satellite and
ground-based communications.
Exercise 2
1. Which of the following computer networks has network coverage of a
small city or suburb
A.LAN B. WAN C.MAN D. PAN
2. The physical layout of a computer network can be referred to as
A. Network architecture C. Network Topology
B. Network Structure D. Network Design
3.Which of the network topologies that if a node has data to send
to another node it broadcasts it to all other nodes
A. Ring network topology C. Mesh network topology
B. Bus network topology D. Star network topology
4. Which type of computer network that the Bluetooth standard
can be best used to enable transmission?
A. Wireless Personal network C. Wide Area network
B. Local Area Network Wireless D. Personal Area Network
5. Which type of computer network needs a device called Access
Point(Hotspot) in order to access information on the internet
A. WLAN B.WAN C. MAN
D. Internet and the World Wide Web
6. Which of the following types of computer
networks is having the highest data transfer
rate?
A. Local Area Network C. Wide Area Network
B. Metropolitan Area Network D. Internet
7. Write down any five components of a Local Area
Network
8. (a)Write the following in full
(i)BIOS
(ii)CMOS
(iii)ALU
(iv)ICT
(b)Give the function of each of the following
(i)ROM-BIOS (ii)CMOS
more qtns
1. List three differences between a WAN and
a LAN
2. Mention three advantages and
disadvantages of wireless communication
in an organization.
NETWORK ARCHITECTURE
The design of computers, devices, and media in a
network, sometimes called the network
architecture, is categorized as either
client/server or peer-to-peer. The major
difference between these two types of LANs lies
in how the data and information is stored.
CLIENT/SERVER NETWORK
A client/server network is a network in which one
or more computers are designated as a server(s)
and other computers on the network, called
clients, can request services from the server. For
example providing database access or queuing
print jobs.
A SERVER
A server, is a host or central computer that
controls access to the hardware and software on the
network and provides a centralized storage area for
programs, data, and information.
The other computers (clients) on the network rely
on the servers for these resources, such as files,
devices, and storage.
The major difference between the server and the
client computers is that the server ordinarily is faster
and has more storage capacity. Thus, the server
generally performs most of the processing tasks.
Sometimes the server and the client computers
share processing. 60
Some servers are dedicated to performing a
specific task. For example,
A file server stores and manages files
A print server manages printers and print jobs
A database server stores and provides access
to a database.
CLIENT/SERVER ARCHITECTURE
62
Advantages of a client/server network
Accessibility - Server can be accessed remotely
and across multiple platforms.
Centralized - Resources and data security are
controlled through the server.
Scalability - Any or all elements can be replaced
individually as needs increase.
Flexibility - New technology can be easily
integrated into system.
Interoperability - All components
(client/network/server) work together.
Hardware and software sharing - This reduce
on costs since no individual copies/devices are
bought.
Disadvantages of a client/server network
67
Advantages of a peer-to-peer network
Less initial expense - No need for a dedicated
server.
Setup – Easy and simple to set-up. An operating
system (such as Windows XP) already in place may
only need to be reconfigured for peer-to-peer
operations.
81
TOKEN RING
Thisstandard specifies that computers and devices on
the network share or pass a special signal, called a
token, in a unidirectional manner and in a preset order.
82
802.11 (WI-FI)
This network standards that specifies how two
wireless devices communicate over the air with
each other.
Using the 802.11 standard, computers or devices
that have the appropriate wireless capability
communicate via radio waves with other
computers or devices.
83
BLUETOOTH
Bluetooth is a network standard that defines how
two Bluetooth devices use short-range radio
waves to transmit data.
A Bluetooth computer and device contain a small
chip that allows it to communicate with other
Bluetooth devices. For computers and devices not
Bluetooth-enabled, you can purchase a Bluetooth
wireless port adapter that will convert an existing
USB port or serial port into a Bluetooth port.
To communicate with each other, Bluetooth
devices often must be within about 10 meters..
84
Different components in a network can communicate
by adhering to a common set of rules that enable them
communicate to each other.
• Network Protocol: This is a set of rules and
procedures governing transmission of data between
components in a network.
A protocol is a based on, agreed-upon and established
standard, and in this way all manufacturers of hardware
and software that are using the protocol do so in a
similar fashion to allow for interoperability.
Interoperability is the capability of two or more
computer systems to share data and resources, even
though they are made by different manufacturers.
85
The principal functions of protocol in a
telecommunications network include:-
1) Identifying each device in the
communication path.
2) Securing the attention of the other device.
3) Verifying correct receipt of the transmitted
message.
4) Determining that a message requires
retransmission if it is incomplete or has
errors.
5) Performing recovery when errors occur.
TCP/IP
TCP/IP (Transmission Control Protocol / Internet
Protocol) is the internet communication protocol. It
is a standard that sets the rules computers must
follow in communicating with each other on a
network. Some refer TCP/IP as the Internet Protocol
Suite.
When you use any applications or programs to
access the Internet, these application will use TCP/IP
to achieve the task. For example, when you want
to surf a network, you will use the internet browser.
Your browser then uses TCP/IP to request services
from Internet servers. These servers will use TCP/IP
to send the web pages you requested back to your
browser. 87
88
The TCP/IP suite include some of the following
protocols:
Transmission Control Protocol(TCP) enables
two computers to establish a connection and
exchange streams of data. TCP guarantees delivery of
data and also guarantees that packets will be delivered
in the same order in which they were sent.
There is plenty of
entertainment on the
internet, such as the latest
music, movies, updates about
celebrities, numerous games
that can be downloaded,
either for a price or for free.
Therefore entertainment is
one of the foremost reasons
why people prefer surfing the
Web.
(7.) Social Networking and Staying oC nnected
117
(2.) Malware Threats
It’s
118
(3). Wrong/misleading information
There is a lot of
wrong/misleading
information on the ?????????????
internet since anyone
can post anything, and
much of it is not
correct.
(4) Moral Decay due to pornographic
material
121
(6.) Social Isolation
Some people are
getting addicted to
the internet and thus
causing problems with
their interactions of
friends and loved
ones.
122
Trial Qtns
1. Internet is a harmful tool to man,
what is your opinion?
2. Explain the merits and demerits of
using the internet.
3. Explain the factors that affect
internet speeds
123
How Data Travels Over The Internet
154
Features /x-tics of Good Website
155
(3) Text that is easily read: The most easily read
combination is black text on a white background, but many
other color combinations are also acceptable. Use fonts that
are easy to read and are found on most of today's computer
systems. depending on your audience. Keep font size for
paragraph text between 10 and 12 pts.
156
(5) Should be Up to date:- Update your content
regularly. No one likes to read the same thing over and over
again. Dead or static content will not bring visitors back to
your site!
(7) Simplicity: The best way to keep visitors glued to your
site is through valuable content, good organization and
attractive design. Keep your site simple and well organized.
157
(9) Error-free copy: Remember the exposure your
website will get. Double-check your facts and figures.
Spelling mistakes and bad grammar are as unforgivable on a
website as they are in other company materials.
(10) Descriptive link text: Long link text makes it much
easier for visitors to find their way around a site. Back links
are important to give users a sense of direction and to keep
them from feeling lost.
(8) Minimal scroll: This is particularly important on the
first page. Create links from the main page to read more
about a particular topic.
158
Cross-platform/browser compatibility: Different
browsers often have different rules for displaying content.
At a minimum, you should test your site in the latest
versions of Internet Explorer (currently, versions 8 and 9),
as well as Firefox and Safari.
Quick Load Times
Slow speed is one of the top reasons visitors leave a
website. A load time of less than 6 seconds is good.Visitors
get frustrated with slow load times.
159
(14) Effective Navigation
Good navigation is an important aspect of website
usability. The navigation needs to be free of
confusion, and try to limit the number of menu
items. A drop-down menu or sub-navigation may
work better on a large site with many sections.
(15) Screen Resolution: Screen resolution for
the typical computer monitor continues to
increase. A good website must be same and work
nicely on different monitor sizes. Today, the
average web surfer uses a resolution of 1024 x
768 pixels. 160
Benefits of having a website
(1) Increased Customer Base
A primary advantage of having a website means
your business will have a web presence. That means
you can now compete with those farms that also
have a website. It also means that you now have
access to a new customer base – those who prefer
to use the Internet to research and buy products
and services.
(2) Cheaper and Flexible way of
Advertising: 161
167