1 Intro To Data Communication
1 Intro To Data Communication
Data Communication
AND Networking
Definition of Data in Computing
• At its most rudimentary level, computer data is a bunch of ones and zeros, known
as binary data. Because all computer data is in binary format, it can be created,
processed, saved, and stored digitally.
• Data is of two kind:
• Raw Data
• Processed Data
• Or this?
Why Networking is needed?
• Sharing hardware or software
• E.g. print document
Benefits of networking
Sharing Information
Sharing costly hardware resources
Sharing software resources
Sharing internet connection
Centralized Data Backup
Data security
Easy accessibility from anywhere (files, databases)
Message broadcast
Remote computing
Distributed processing
Centralized administration and support
RISKS OF NETWORK COMPUTING
• The security of a computer network is challenged everyday by:
• Equipment malfunctions
• System failures
• Computer hackers
• Virus attacks
Characteristics of a Network
• A network should have the following intrinsic features:
• Cost
• Speed
• Security
• Availability
• Scalability
• Reliability
Data Representation
Information today comes in different forms such as numbers, text, images, audio,
and video. All these information has data contents which needs a digital
representation.
Numbers:
Numbers are represented by bit patterns i.e. the numbers are directly converted to
a binary form to simplify mathematical operations.
Data Representation
Text:
ASCII: The American Nationals Standard Institute (ANSI) developed a code called the
American Standard Code for Information Interchange. The code uses 7bits for each
symbol. This means that 27 (128) different symbols can be defined by this code.
Extended ASCII: To make the size of each pattern 1byte (8-bits) ASCII pattern is
augmented with an extra 0 in the left (MSB).
Unicode: For representing symbols belonging to languages other than English we
require, a code with much greater capacity. To address this requirement, Unicode was
developed, which uses 16-bits& hence can represent 65536 symbols. Different sections
of the code are allocated to symbols from different languages in the world. Some parts
of the code are used for graphics and special symbols.
ISO: International Standard Organization has developed a code which uses 32 bit
pattern & hence can represent 4,294,967,296 symbols, which is enough to cover
symbols of all languages
Data Representation
Images:
Images are also represented by bit pattern. In its simplest form, an image is
composed of a matrix of pixels (picture elements), where each pixel is a small dot.
The size of the pixel depends on the resolution
After an image is divided into pixels, each pixel is assigned a bit pattern.
Audio & Video:
Audio & Video signals are continuous in nature and are not a discrete entity.
Therefore Sampling & Quantization process is applied on them and depending
upon the number of quantization levels, bit pattern is assigned to audio & video
data streams.
Line Configuration
Point-to-Point Line Configuration
De facto: This means by fact or by convention. Standards De jure: Those that have been legislated
that have not been approved by an organized body but have by an officially recognized body are De
been adopted as standards through widespread use are jure standards.
defacto standards.
NETWORK ARCHITECTURE
• Network architecture – refers to the way a network is designed and built. The
two major types are:
• Peer-to-peer architecture – Connected computers have no centralized authority ,
all of these computers are equal. Computers connect with each other in a
workgroup to share files, printers, and Internet access. This is used to connect a
small number of computers.
• Client/server architecture –– It is designed to manage the entire network from
centralized point , which is server . Client makes requests to server and the server
responds with information or provides access to a resource.
NETWORK ARCHITECTURE
Peer-to-Peer Networks
• Peer-to-peer network is also called workgroup
• No hierarchy among computers, all are equal.
• No administrator responsible for the network
• Peer-to-Peer network is appropriate when:
• 10 or less users
• Security is not an issue
• Only limited growth in the foreseeable future
Peer-to-Peer Networks
• Advantages :
• Low cost
• Simple to configure
• User has full accessibility of the computer
• Disadvantages :
• May have duplication in resources
• Difficult to uphold security policy
• Difficult to handle uneven loading
Clients and Servers
• Network Clients (Workstation): Computers that request network resources or
services
• Network Servers: Computers that manage and provide network resources and
services to clients
• Usually have more processing power, memory and hard disk space than clients
• Run Network Operating System that can manage not only data, but also users,
groups, security, and applications on the network
• Servers often have a more stringent requirement on its performance and reliability
• In a client/server network arrangement, network services are located in a
dedicated computer whose only function is to respond to the requests of clients.
• The server contains the file, print, application, security, and other services in a
central computer that is continuously available to respond to client requests.
Clients and Servers
• Advantages :
• Facilitate resource sharing – centrally administrate and control
• Facilitate system backup and improve fault tolerance
• Enhance security – only administrator can have access to Server
• Support more users – difficult to achieve with peer-to-peer networks
• Disadvantages :
• High cost for Servers
• Need expert to configure the network
• May Introduce a single point of failure to the system
Types of Networks
• Depending on one’s perspective, we can classify networks in different ways
• Based on transmission media: Guided (UTP, coaxial cables, fiber-optic cables) and
Unguided (Wireless)
• Based on network size: LAN ,MAN,WAN & Internet
• Based on management method: Peer-to-peer and Client/Server
• Based on topology (connectivity): Bus, Star, Ring, Mesh …
• :
• :
Classification of Network based on Size
Local Area Network
Local Area Network :
LAN is in a limited geographical
area such as home, school,
computer laboratory, office
building, or closely positioned
group of buildings.
Metropolitan Area Network
Metropolitan area network- MAN
A metropolitan area network is a
large computer network that
usually spans a city or a large
campus
Wide Area Network
Wide area network (WAN) is a computer
network that covers a large geographic
area such as a country, or spans even
intercontinental distances, using a
communications channel that combines
many types of media such as telephone
lines, cables.
Ln = [Nn(Nn - 1)]/2
It is used in WANs to
interconnect LANs and for
mission critical networks like
those used by banks and
financial institutions,
networked control systems of
a nuclear power plant .
Extended star topology is also called tree topology wherein central Hub/ Switch is connected to
several downstream hubs/ switches.
Bus Topology
Uses a single backbone cable that is terminated at both ends.
All the hosts connect directly to this backbone
Bandwidth is shared between the number of hosts on Network