BCS 041 Unit 1 Notes
BCS 041 Unit 1 Notes
At its core, communication is the process of transferring information from one entity (the sender) to
another entity (the receiver). This transfer must be understandable to the receiver. Communication can
take place through various mediums, like sound (speech), writing, or signals (electrical, optical, etc.).
1. G.G. Brown: “Communication is transfer of information from one person to another, whether or not it
elicits confidence. But the information transferred must be understandable to the receiver.”
2. Oxford Dictionary: “The imparting or exchanging of information by speaking, writing, or using some
other medium.”
Sending a message.
Using a medium or channel to send the message.
The message needs to be understood by the receiver.
1. Sender: The person or entity that wants to send a message. The sender initiates communication by
creating a message.
Example: A person making a phone call, a radio station broadcasting a signal, etc.
2. Message: This is the actual content that is being communicated. It can be in the form of speech, text,
video, or any other type of data.
Example: A spoken sentence, a written email, or a digital file.
3. Encoding: This is the process of converting the message into a format that can be transmitted. The
sender must encode the message into a suitable form (signal) that can travel over the communication
medium.
Example: In telephony, the human voice is encoded into electrical signals.
4. Communication Medium (Channel): The medium or channel is the physical path that the encoded
message follows from sender to receiver. It could be wired (e.g., telephone wires, fiber optics) or
wireless (e.g., radio waves, Wi-Fi).
Example: Telephone lines, radio frequency waves, internet cables.
5. Receiver: The entity or person who receives the message. The receiver must decode the signal to
retrieve the original message.
Example: A person listening to a radio broadcast, a computer receiving an email.
6. Decoding: The receiver converts the encoded message back into a form that can be understood.
Decoding is the reverse process of encoding.
Example: A phone's speaker turns electrical signals back into sound so the person on the other
end can hear the message.
7. Noise: Noise refers to any unwanted interference or disturbance that can affect the communication
process. It can occur during transmission and can distort the message, leading to errors.
Example: Electrical interference in phone lines, static noise on a radio channel, or poor signal
reception.
Shannon's Model:
Information Source: The entity that creates the message. It could be a person, computer, or system
that generates the data to be communicated.
Transmitter: This component encodes the message into a form that can be transmitted over the
communication medium (e.g., converting sound into electrical signals).
Communication Channel: The medium through which the encoded signal travels (e.g., air, wires,
optical fibers).
Receiver: The device or person that receives the transmitted signal and decodes it back into the
original message.
Destination: The final recipient of the message, which could be a person, machine, or system.
Noise: External interference that can distort or interfere with the message during transmission.
Noise occurs during transmission, which may affect the integrity of the message.
Here are some examples of communication systems that are familiar to us:
1. Human Communication: Humans use various forms of communication like speech, signs, gestures,
and body language. The medium is usually air (sound waves) or light (visual signals).
2. Telephone System: A telephone system converts human voice into electrical signals, transmits it
through wires or air (for wireless), and decodes it back into voice for the receiver.
3. Radio and Television: These systems broadcast signals in the air. A transmitting station sends out
audio or video signals, which are received and decoded by the receiver (radio or TV).
4. Internet Communication: The internet relies on routers, servers, and wires or wireless signals to
transmit data between computers and mobile devices. Data (e.g., web pages, emails) is encoded into
digital signals, transmitted, and then decoded by the receiver.
In communication systems, the type of signal used is a fundamental aspect. There are two main types of
signals used for communication: Analog and Digital. Let's break down these two systems and explore
their differences, advantages, and applications.
Analog communication uses continuous signals to transmit data. These signals vary in amplitude,
frequency, or phase over time, and represent real-world information. Analog communication is typically
associated with analog signals, which are continuous in nature.
1. Continuous Signal: Analog signals change smoothly over time and can take any value within a given
range.
2. Represents Real-World Data: Analog signals often represent real-world phenomena such as sound,
light, temperature, or pressure.
Example: The sound produced by a human voice is an analog signal, as its frequency and
amplitude vary continuously.
3. Carrier Signal: In analog communication, the message is typically transmitted by modulating a
continuous wave (carrier signal), which is adjusted to carry the information.
Example: AM (Amplitude Modulation) and FM (Frequency Modulation) in radio broadcasting
are methods used to transmit audio signals as analog waves.
Natural Representation: Analog signals can represent real-world data directly, such as audio or
video signals.
Simple to Implement: Analog systems are often simpler and cheaper for low-level signal processing.
Noise Sensitivity: Analog signals are prone to interference and noise during transmission. This can
degrade signal quality.
Limited Accuracy: Analog signals cannot achieve perfect accuracy, and the quality of the signal can
deteriorate with distance or interference.
Analog Radio Transmission: Radio stations broadcast audio signals using analog waves. The radio
receivers decode these waves into sound.
Digital communication involves transmitting data using discrete signals. These signals represent data
in binary form, using a series of 1s and 0s (bits). Digital communication systems use this binary data to
convey information.
1. Discrete Signals: In digital communication, data is represented by discrete values, usually in the
form of bits (binary digits). Each bit is either a 1 or a 0, representing an electrical pulse or voltage
level.
2. Data Representation: Digital signals can represent any form of data—text, images, audio, video—by
encoding the information into a sequence of binary numbers.
3. Error Detection and Correction: Digital communication allows for more sophisticated error
detection and correction techniques, ensuring higher data integrity during transmission.
Requires More Bandwidth: Digital systems may require more bandwidth than analog systems to
transmit the same amount of information.
Complexity: Digital communication systems are often more complex to implement than analog
systems.
Internet Communication: Data on the internet is transmitted in digital form, where information is
converted into binary (1s and 0s) and sent through networks as packets.
Noise Resistance Highly susceptible to noise and More resistant to noise due to
interference discrete nature
Signal Quality Can degrade over distance due Maintains high quality with
to interference and attenuation minimal loss, especially over
long distances
Complexity Simple, but less accurate and Complex, but more efficient
robust and reliable
1. Higher Quality: Digital signals are less likely to degrade due to noise, ensuring the transmission
maintains high quality over longer distances.
2. Efficient Use of Resources: Digital systems can efficiently manage bandwidth by compressing data
before transmission.
3. Better Error Handling: Errors can be detected and corrected in digital systems, reducing the
chances of corrupted data being received.
4. Scalability: Digital systems are more easily scalable to handle high-speed data transmission, which
is important for modern communication systems like the internet.
Data communication modes describe the direction and timing of data transfer between devices. They play
a significant role in determining the efficiency, speed, and complexity of communication.
Data can be transmitted in serial or parallel modes, and each method has its advantages and limitations.
Serial Transmission:
Definition: In serial transmission, data is sent one bit at a time over a single communication
channel (wire, fiber optic, etc.).
How it Works: A series of bits is transmitted sequentially, one after another.
Example: USB data transmission between devices.
Advantages:
Simple Setup: Fewer wires are needed (just one data line), making the setup simpler and cheaper.
Longer Distance: Serial communication works better over long distances as signal degradation and
interference are minimized.
Disadvantages:
Lower Speed: Since only one bit is sent at a time, the data transmission rate is slower compared to
parallel transmission.
Parallel Transmission:
Definition: In parallel transmission, multiple bits are sent simultaneously over multiple channels
or data lines.
How it Works: A group of bits (often a by]te or more) is transmitted in parallel over several
channels.
Example: Data transfer between computer components, such as in the internal bus of a
computer.
Advantages:
Higher Speed: Since multiple bits are sent at once, parallel communication can be faster.
Disadvantages:
Signal Degradation: The longer the distance, the more the signal degrades, leading to potential
errors.
Complex Setup: More wires are needed, which increases complexity and cost.
When it comes to data transmission, the synchronization of the sender and receiver plays a key role in
determining how the data is transmitted.
Synchronous Transmission:
Definition: In synchronous transmission, both the sender and receiver are synchronized using a
common clock or timing signal.
How it Works: Both devices are aware of when the data will be sent and received, and data is
transmitted in a continuous stream.
Example: Ethernet communication or data transfer over a network where data is sent in
continuous streams.
Advantages:
Faster Communication: Data is sent continuously, without the need for start and stop bits.
Efficiency: The system can handle large amounts of data because it doesn’t need to pause or wait
between transmissions.
Disadvantages:
Synchronization Complexity: Both devices need to be perfectly synchronized, which can be more
complex to manage.
Error Handling: If there is a misalignment or data loss, the whole transmission can be affected.
Asynchronous Transmission:
Definition: In asynchronous transmission, data is sent in chunks or characters, with each character
being transmitted independently.
How it Works: The sender sends the data along with start and stop bits to indicate the beginning
and end of each data unit. The receiver does not need a clock signal for synchronization.
Example: Data entry from a keyboard to a computer or sending short messages via RS-232 serial
communication.
Advantages:
Simple and Cost-Effective: It doesn’t require synchronization, making it easier and cheaper to
implement.
Suitable for Low-Speed Applications: Ideal for applications that don’t require continuous data flow
(e.g., typing on a keyboard).
Disadvantages:
Lower Efficiency: The use of start and stop bits introduces overhead, reducing the data rate and
efficiency.
Limited Speed: Asynchronous transmission is slower compared to synchronous transmission.
Another way to categorize data transmission is by the directionality of communication. The modes are:
Simplex Communication:
Definition: Simplex communication is one-way communication, where data flows in only one
direction.
How it Works: The sender sends data, and the receiver only receives it. There is no feedback from
the receiver to the sender.
Example: Radio or television broadcasting, where the signal is sent from the station to the
receivers without any communication back to the station.
Advantages:
Disadvantages:
No Feedback: Since the receiver cannot send a response, this mode is not suitable for interactive
communication.
Half-Duplex Communication:
Definition: In half-duplex communication, data can flow in both directions, but not at the same
time.
How it Works: The sender and receiver take turns transmitting and receiving data, but they cannot
do both at the same time.
Example: Walkie-talkies, where only one person can talk at a time, and the other person listens.
Advantages:
Two-Way Communication: Unlike simplex, the receiver can also send data back to the sender, but at
different times.
Disadvantages:
Limited Simultaneous Communication: Only one device can send at a time, so this mode is slower
than full-duplex.
Full-Duplex Communication:
Advantages:
Simultaneous Two-Way Communication: Data can be transmitted in both directions at the same
time, making it efficient and fast.
Disadvantages:
Complexity: Full-duplex systems are more complex to implement and may require more resources.
Networking protocols are essential for enabling communication between devices on a network. A
protocol is essentially a set of rules or standards that govern how data is transmitted and received over a
network. Standards ensure that different network devices and systems can communicate effectively, even
if they are from different manufacturers.
Let’s explore networking protocols, the OSI model, and some additional concepts that help maintain
smooth and reliable communication in a network.
A networking protocol is a standardized set of rules that dictates how devices in a network
communicate with each other. These protocols ensure that the devices (computers, routers, servers, etc.)
can exchange information without confusion.
1. Data Format: Defines how data is formatted, packaged, and transmitted over the network.
2. Error Handling: Protocols determine how errors are detected and corrected during transmission.
3. Routing: Protocols help devices understand how to route data through a network from one device to
another.
4. Flow Control: They regulate the flow of data between devices to avoid congestion or loss of
information.
5. Security: Protocols may define how to encrypt data to ensure privacy and security.
Modularity: Each layer is independent and can be updated or modified without affecting other
layers.
Simplifies Development: Different protocols can be implemented at different layers, making the
system flexible.
Fault Isolation: Problems can be more easily isolated to a specific layer.
The most common model for networking protocols is the OSI (Open Systems Interconnection) Model,
which divides networking functions into seven layers.
The OSI Model is a conceptual framework used to understand how different network protocols interact.
It divides the process of data communication into seven layers. Each layer handles a specific aspect of
communication, and each layer only interacts directly with the layer immediately above or below it.
1. Physical Layer:
Function: Deals with the physical transmission of raw data bits over a communication channel.
Examples: Cables, switches, and other hardware that transmit data over the network.
2. Data Link Layer:
Function: Provides error-free transfer of data over the physical layer by organizing data into
frames and ensuring that frames are correctly sent and received.
Examples: Ethernet, Wi-Fi.
3. Network Layer:
Function: Manages the routing of data packets across the network. It is responsible for packet
forwarding and addressing.
Examples: IP (Internet Protocol).
4. Transport Layer:
Function: Provides end-to-end communication and error correction, ensuring that data is
transferred accurately and efficiently.
Examples: TCP (Transmission Control Protocol), UDP (User Datagram Protocol).
5. Session Layer:
Function: Manages sessions between applications, ensuring that data exchanges are properly
synchronized and coordinated.
Examples: NetBIOS, RPC (Remote Procedure Call).
6. Presentation Layer:
Function: Translates data between the application layer and the network. It is responsible for
data encryption, compression, and translation.
Examples: SSL/TLS (for encryption), JPEG (for image compression).
7. Application Layer:
Function: Provides network services directly to end-users, such as file transfer, email, or web
browsing.
Examples: HTTP, FTP, SMTP.
1.5.4 Encapsulation
Encapsulation refers to the process where data from the higher layers is wrapped with the necessary
header and trailer information by the lower layers in the OSI model.
As data moves down the OSI layers from the application layer to the physical layer, each layer adds its
own header (and sometimes trailer) to the data. These headers contain essential information for that
layer, such as the destination address or sequence number.
Example of Encapsulation:
Each layer adds its own information, creating a "protocol data unit" (PDU) at each stage.
The end-to-end argument is a principle in networking that states that certain tasks, especially those that
are specific to the application or data being transmitted, should be performed at the endpoints (the
sender and receiver) rather than in intermediate layers of the network.
1. Efficiency: Performing certain tasks, such as error checking or data verification, at the application
layer rather than at lower network layers can be more efficient.
2. Flexibility: The end-to-end argument allows applications to implement their own error checking,
encryption, and reliability mechanisms.
3. Example: In TCP/IP, error correction is performed at the transport layer, but the end-to-end
reliability check ensures that the data received at the destination is the same as what was sent from
the source, even if intermediate routers or switches experience issues.
Computer networks have become integral to virtually every area of modern life, from personal
communication to business operations and global commerce. Networking allows computers to
communicate and share resources efficiently, enabling a wide range of applications that benefit
individuals, businesses, and societies.
1. Resource Sharing:
Definition: Networking allows multiple devices (computers, printers, scanners, storage devices,
etc.) to share resources.
Example: A local area network (LAN) in an office allows employees to share printers, scanners,
and other hardware, reducing the cost of purchasing individual devices for each user.
2. Personal Communication:
Definition: Computer networks enable various forms of personal communication, such as email,
video calls, and instant messaging.
Example: Email systems like Gmail or Outlook allow users to send and receive messages, while
video conferencing tools like Zoom or Skype enable face-to-face communication over the
internet.
3. Data Communication and Information Sharing:
Definition: Networks allow for the exchange of data and information across vast distances in
real-time.
Example: Cloud storage services such as Google Drive or Dropbox let users upload and share
files with others, no matter where they are located in the world.
4. Remote Access:
Definition: Networks enable users to access systems and resources remotely, making it possible
to work from different locations.
Example: Virtual Private Networks (VPNs) allow employees to securely access a company’s
internal network from home or while traveling, providing flexibility in working environments.
5. Internet of Things (IoT):
Definition: The Internet of Things (IoT) refers to a network of interconnected devices that
communicate and exchange data with each other.
Example: Smart home devices such as thermostats, lights, and security cameras are connected to
the internet and can be controlled remotely via apps.