Object Oriented Programming
Object Oriented Programming
Umar Ali
Lecturer, Department of Computer
Science, University of Swat
DATA COMMUNICATION
• Data Communication is the exchange of
Information from one entity to the other using a
Transmission Medium”.
– When we communicate , we share information
– Information can be LOCAL or REMOTE
– Between Individuals LOCAL communication occurs
face to face
– REMOTE communication occurs over a long distance
– When we refer to COMPUTER SYSTEMS, Data is
represented in the form of Binary Units (Bits) in the
form of Zeros (0’s) and One’s (1’s)
DATA COMMUNICATION
• “Data Communication is the exchange of
data (in the form of 0’s and 1’s) between
two devices (computers) via some form of
the transmission medium.”
LOCAL and REMOTE Data
Communication
• LOCAL
– Data communication is considered to be local if
the communicating devices are present in the
same building or a similarly restricted
geographical area
• REMOTE
– Data Communication is considered remote, if the
devices are farther apart.
Data Communication System
For Data Communication to occur,
communicating devices must be a part of
a system made up of some specific kind of
hardware and software. This system is
known as
“DATA COMMUNICATION SYSTEM”
Effectiveness of Data Comm. System
1. Delivery
The system must deliver data to the correct destination. Data must be
received by the intended device or user and only by that device or user.
2. Accuracy
The system must deliver the data accurately. Data that have been
altered in transmission and left uncorrected are unusable.
3.Timeliness
The system must deliver data in a timely manner. Data delivered late are
useless. In the case of video and audio, timely delivery means delivering
data as they are produced, in the same order that they are produced,
and without significant delay. This kind of delivery is called real-time
transmission.
(Better NEVER than LATE) e.g. postal mail
4. Jitter
jitter refers to the variation in the packet arrival time. It is the uneven
delay in the delivery of audio or video packets
Data Communication System
Components
Components of a Data Communication
System
• A Data communication system is
made up of 5 components:
– Message
– Sender
– Receiver
– Medium
– Protocol
MESSAGE
• Security
• Distributed Data bases
• Faster Problem Solving
• Security through Redundancy
• Collaborative Processing
Network Criteria
Performance
• Can be measured in many ways including
Transit and Response Time
• Depends on a no. of Factors:
– Number of USERS
– Type of Transmission Medium
– Hardware
– Software
– Network Criteria
Performance cont
– Number of USERS
• Large Number of concurrent users slow network
• Design of a network
• Peak Load Periods
• Network Criteria
– Type of Transmission Medium
• Medium defines speed at which data can travel
• Fiber Optic Cable
• 100Mbps and 10 Mbps
Performance cont
– Hardware
• Effect speed and the capacity of transmission
• Fast computer with large storage capacity
– Software
• Software processes data at sender , receiver and
intermediate nodes
• All communication steps need software:
• Moving message from node to node
• Transforming,
• Processing at the sender and receiver
• Error Free Delivery
Reliability
• Depends on a no. of Factors:
– Frequency of Failure
– Recovery Time of a Network after Failure
– Fire , Earthquake or Theft
Security
• Unauthorized Access
– Sensitive data
– Protection at multiple levels:
• Lower level: Passwords and user ID codes
• Upper Level: Encryption
– policies and procedures for recovery from
breaches and data losses.
Data Flow/Transmission mode
• Communication between two devices can be
simplex, half-duplex, or full-duplex.
Simplex
• the communication is unidirectional, as on a
one-way street. Only one of the two devices
on a link can transmit; the other can only
receive. It uses the entire capacity of the
channel.
• Example:
– Keyboard
– monitor
Simplex
Half Duplex
• Each station can both transmit and receive, but
not at the same time.
• When one device is sending, the other can only
receive, and vice versa.
• The capacity of the channel is used by s taken
over by whichever of the two devices is
transmitting at the time
• Example
– Walkie-talkies
Half Duplex
Full duplex
• In full-duplex(als0 called duplex), both stations
can transmit and receive simultaneously.
• In full-duplex mode, signals going in one
direction share the capacity of the link: with
signals going in the other direction.
• Example
– telephone network
Full duplex
Type of Connection
• A network is two or more devices connected
through links. A link is a communications
pathway that transfers data from one device
to another
– Point-to-Point
– Multipoint
Point-to-Point
• A point-to-point connection provides a
dedicated link between two devices. The
entire capacity of the link is reserved for
transmission between those two devices.
• Example
– infrared remote control.
Point-to-Point
Multipoint
• A multipoint (also called multidrop) connection
is one in which more than two specific devices
share a single link.
• in a multipoint environment, the capacity of
the channel is shared, either spatially or
temporally. If several devices can use the link
simultaneously, it is a spatially shared
connection. If users must take turns, it is a
timeshared connection.
Multipoint
TOPOLOGY
• “The Topology is the geometric
representation of the relationship of the links
and the linking devices (Nodes) in a Network”
– Guaranteeing National/International
Interoperability
Categories of Standards
Standards
De jure De facto
(By Law) (By Fact)
Categories of Standards
De Jure Standards:
These are the standards that
exists by law.
–Standard Committees
–Forums
–Regulatory Agencies
Standard Creation Committees
• The International Standards Organization (ISO)