SLO # 5: Network Communication and Protocols�5.1 Introduction to Computer Networks �Adapted by: Younus Bashir
Define a computer network;�Cognitive level: Knowledge�
Student Learning outcome # 5.1.1
Networks
A computer network is an interconnection between two or more computers and/or other network devices so that they can communicate with each other to share network resources (both hardware and software).
OR
A network is a collection of computers or other devices called nodes that communicate with each other on a shared network medium.
Applications of Communication & Computer Network
Computer systems and peripherals are connected to form a network. They provide numerous advantages:
Recalling..
1- What could be the benefits of using networks in offices?
Differentiate among different types of networks depending upon coverage area and use: �a. nano network �b. Body Area Network (BAN) �c. Personal Area Network (PAN) �d. Near-me-Area Network (NAN) �e. Local Area Network (LAN) �f. Wide Area Network (WAN) �g. Metropolitan Area Network (MAN) �h. Internet Area Network (IAN) �i. Interplanetary Internet (IPN);�Cognitive level: Understanding�
Student Learning outcome # 5.1.2
Nano-network is a communication network at the Nano-scale between Nano-devices. Nano-devices face certain challenges in functionalities, because of limitations in their processing capabilities and power management. Hence, these devices are expected to perform simple tasks, which require different and novel approaches.
By the arrival of Internet of Things (IoT) the use of the Internet has transformed, where various types of objects, sensors and devices can interact making our future networks connect nearly everything from traditional network devices to people.
�
b. Body Area Network (BAN)
A Body Area Network (BAN) is a short-range wireless network comprised of devices positioned in, on, and around the body. It provides data communication over short distances, limited to ranges of just a few meters. Figure 1 below illustrates the basic concept.
This new, inherently personal type of network uses wearable and implanted electronic circuits. It implements highly useful functions and capabilities in convenient, *unobtrusive configurations that operate at very low power and deliver superlative security.
* unobtrusive to describe something that doesn't attract much attention
�
c. Personal Area Network (PAN)
The smallest and most basic type of network, a PAN is made up of a wireless modem, a computer or two, phones, printers, tablets, etc., and revolves around one person in one building. These types of networks are typically found in small offices or residences, and are managed by one person or organization from a single device.
This type of network provides great flexibility. For example,
it allows you to:
�
d. Near-me-Area Network (NAN)
A near-me area network (NAN) is a logical communication network that focuses on communication among wireless devices in close proximity.
Unlike local area networks (LANs), in which the devices are in the same network segment and share the same broadcast domain, the devices in a NAN can belong to different proprietary network infrastructures (for example, different mobile carriers).
So, even though two devices are geographically close, the communication path between them might, in fact, traverse a long distance, going from a LAN, through the Internet, and to another LAN. NAN applications focus on two-way communications among people within a certain proximity to each other, but don't generally concern themselves with those people’s exact locations.
d. Near-me-Area Network (NAN)
A near-me area network (NAN) is a logical communication network that focuses on communication among wireless devices in close proximity.
Unlike local area networks (LANs), in which the devices are in the same network segment and share the same broadcast domain, the devices in a NAN can belong to different proprietary network infrastructures (for example, different mobile carriers).
So, even though two devices are geographically close, the communication path between them might, in fact, traverse a long distance, going from a LAN, through the Internet, and to another LAN. NAN applications focus on two-way communications among people within a certain proximity to each other, but don't generally concern themselves with those people’s exact locations.
Carol just lost her son in the street, so she sends out his picture, which is stored in her mobile device, to passers-by to see if they can find him.
Recalling..
1- Where we can use the following networks specifically:
�e. Local Area Network (LAN)
LANs connect groups of computers and low-voltage devices together across short distances (within a building or between a group of two or three buildings in close proximity to each other) to share information and resources. Enterprises typically manage and maintain LANs.
Using routers, LANs can connect to wide area networks
��
�
LANs are typically used for single sites where people need to share resources among themselves but not with the rest of the outside world. Think of an office building where everybody should be able to access files on a central server or be able to print a document to one or more central printers.
�
e. Local Area Network (LAN)
e. Local Area Network (LAN)
g. Metropolitan Area Network (MAN)
A metropolitan area network, or MAN, consists of a computer network across an entire city, college campus or small region. A MAN is larger than a LAN, which is typically limited to a single building or site. Depending on the configuration, this type of network can cover an area from several miles to tens of miles.
A MAN is often used to connect several LANs together to form a bigger network. When this type of network is specifically designed for a college campus, it is sometimes referred to as a campus area network, or CAN.
�
f. Wide Area Network (WAN) �
Slightly more complex than a LAN, a WAN connects computers together across longer physical distances. This allows computers and low-voltage devices to be remotely connected to each other over one large network to communicate even when they’re miles apart.
The Internet is the most basic example of a WAN, connecting all computers together around the world. Because of a WAN’s vast reach, it is typically owned and maintained by multiple administrators or the public.
f. Wide Area Network (WAN)
Recalling..
2- Where we can use the following networks specifically:
h. Internet Area Network (IAN)
An Internet area network (IAN) is a concept for a communications network that connects voice and data endpoints within a cloud environment over IP, replacing an existing local area network (LAN), wide area network (WAN) or the public switched telephone network (PSTN).
Unlike a LAN and WAN, the IAN eliminates a geographic profile for the network entirely because the applications and communications services have become virtualized. Endpoints need only be connected over a broadband connection to the Internet.
Examples: Emails
�i. Interplanetary Internet (IPN);
Interplanetary Internet that will connect us to probes and human space travelers, and allow more information to be sent back to Earth.
The interplanetary Internet is a conceived computer network in space, consisting of a set of network nodes that can communicate with each other.
If we ever want to find out more about other planets, we will need a better communication system for future space missions.
How will we communicate with these distant travelers? Scientists, engineers and programmers are already working to develop an interplanetary Internet�
The way the Internet allows us to visit foreign lands without leaving our desks.
Recalling..
3- Where we can use the following networks specifically:
Describe basic network components, i.e. sender, message, medium, protocol, receiver;�Cognitive level: Understanding�
Student Learning outcome # 5.1.3
Basic Network Communication components
Data communication is the process of transferring information from one point to another in a networking environment. Network communication consists of five basic components, as shown
Basic Network Communication components
1-Sender
Sender, also called transmitter is a computer/device that sends the message (data or information) from source to destination in a communication network. It may be a computer, workstation, cell phone or camera. The sender device converts the electrical signal into a form that is suitable for transmission over the communication network.
Basic Network Communication components
2- Message
Message is the data or information that is to be transmitted. Message can be in the form of text, audio, video, or any combination of these.
3- Medium
Medium is the path through which message travels from source to destination. Medium can be wired, for example telephone cable, coaxial cable and fiber optics. It can also be wireless for example bluetooth, Wi-Fi, microwave, radio wave and satellite.
Basic Network Communication components
4- Receiver
Receiver is the device which receives transmitted message. It can be a computer, workstation telephone handset or television set. The data received from transmission medium may not be in proper form to be accepted to the receiver and it must be converted to appropriate form before it is received.
5- Protocol
A protocol is a set of rules that governs data communications. It represents an agreement between the communicating devices. Without a protocol, two devices are connected but may not communicating with each other.
Discuss the role of the four data communication devices, i.e. hub, switch, router and gateway;�Cognitive level: Understanding�
Student Learning outcome # 5.1.4
Data communication Devices
A device that is used in telecommunication systems for transmission data from one location to another location is known as communication device.
Commonly used communication devices can be classified into
hub, switches, routers and gateways.
Data communication Devices
1- Switch
A switch or network switch (also known as hub) is a small hardware like a box, that filters and forwards packets between LAN segments.
A switch inspects data packets as they are received, determines the source and destination device of packet and forwards them appropriately.
It has small level of intelligence, in that it can open a message, check the IP address and direct the message packets to destination.
Switch
A packet is a basic unit of communication over a computer network.
When data is transmitted, it is broken down into packets which reassembled to the original form once they reach the destination.
Switches allow computers to communicate directly with one another in a smooth and efficient manner.
It operates on the data link layer (Layer 2)
Data communication Devices
2- Hub
A hub, also called a network hub, is a common connection point for devices in a network.
Hubs are devices commonly used to connect segments of a LAN.
The hub contains multiple ports, there is no intelligence or circuitry in it. When a packet arrives at one port, it is copied to the other ports so that all segments of the LAN can see all packets.
Switch VS HUB
| Hub | Switch |
Definition | A hub is, in its simplest form, just like a mains multi plug unit. There is no intelligence or circuitry in it. | A switch has a small level of intelligence, in that it can open a message, check the IP address, and direct the message packets to the port on which the device with that IP resides to the destination. |
Layer | Physical Layer | Data link layer |
Ports | 4/12 ports | 24/48 ports |
Data transmission form | Electrical signal or bits | Frame & Packet |
Transmission | Half duplex | Full duplex |
Data communication Devices
3- Router
A router is a communication device which is used to connect two or more networks. Today, most of the networks are connected to internet. When the computer is sending data to another computer on the internet, router receives the data packets, looks for the remote computer address and forwards the data packets by selecting the best path-way based on network traffic. Many routers take part in transmitting the data packets from one location to another.
Data communication Devices
4- Gateway
It is device that is used to connect a network to another network that uses different protocols. If we have to link different kinds of networks, such as a network of IBM mainframe computers and a network of PCs, we might have to use a gateway. Gateways change the format of the data packets but not the contents of the message, the format of the data packets but not the contents of the message, to make it confirm to the application program of the remote computer.
| Router | Gateway |
Definition | A router is a communication device which is used to connect two or more networks. Today, most of the networks are connected to internet. | It is device that is used to connect a network to another network that uses different protocols as a translator |
Layer | Layer 3 and 4 | Layer 5 |
Feature support | Wireless networking, IPv6 address, Mac address | Protocol conversion like VoIP to PSTN network |
Related terms | WiFi Router, Internet router | Proxy server, voice gateway |
Differentiate between guided and unguided media and their types, i.e. �a. guided media (telephone cable, twisted pair cable, coaxial cable and fibre optic cable) ��b. unguided media (microwave transmission and satellite communication);�Cognitive level: Understanding�
Student Learning outcome # 5.1.5
Communication Media
In network communication system, communication media are the links that provide paths for communicating devices. Communication media is used to transmit data from one network device(also called a node) to another.
There are two main categories of communication media
Telephone
Cable
Satellite
Communication Media
(a) Guided Communication Media
(i) Telephone cable
(ii) Twisted pair cable
(iii) Coaxial cable
(iv) Fibre optic cable
Communication Media
(a) Guided Communication Media
Communication Media
(a) Guided Communication Media
(ii) Twisted pair cable
Communication Media
(a) Guided Communication Media
(ii) Twisted pair cable
Advantages:
Disadvantages:
Applications
Communication Media
(a) Guided Communication Media
(iii) Coaxial cable
Communication Media
(a) Guided Communication Media
(iii) Coaxial cable
Advantages:
Disadvantages:
Applications
Communication Media
(a) Guided Communication Media
(iv) Fibre optic cable
Communication Media
(a) Guided Communication Media
(iii) Fibre optics
Advantages:
Disadvantages:
Applications
Communication Media
(a) Unguided Communication Media
(i) Microwave transmission.
(ii) Communication Satellites.
Communication Media
(a) Unguided Communication Media
Communication Media
(a) Guided Communication Media
(iii) Microwave stations
Advantages:
Disadvantages:
Applications
Communication Media
(a) Unguided Communication Media
(ii) Communication Satellites
Communication Media
(a) Guided Communication Media
(iii) Satellites
Advantages:
Disadvantages:
Compare three modes of data transmission, i.e. simplex, half-duplex and full-duplex;�Cognitive level: Understanding�
Student Learning outcome # 5.1.6
Data transmission Modes
Transmission mode means transferring of data between two devices. It is also known as communication mode.
There are three types of transmission mode:-
Data transmission Modes
In Simplex mode, 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.
The simplex mode can use the entire capacity of the channel to send data in one direction e.g data being sent to an electronic notice board found in train stations.
Examples:
Data transmission Modes
2) Half-duplex mode
In half-duplex modes, the communication takes place in both the directions but not at the same time.
When one device is sending, the other can only receive, and vice versa.
The half-duplex mode is used in cases where there is no need for communication in both direction at the same time.
The entire capacity of the channel can be utilized for each direction.
Examples:
Data transmission Modes
3) Full-duplex mode
Examples:
Basis for Comparison | Simplex | Half Duplex | Full Duplex |
Direction of Communication | Unidirectional | Two-directional, one at a time | Two-directional, simultaneously |
Send / Receive | Sender can only send data | Sender can send and receive data, but one a time | Sender can send and receive data simultaneously |
Performance | Worst performing mode of transmission | Better than Simplex | Best performing mode of transmission |
Example | Keyboard and monitor | Walkie-talkie | Telephone |
Differentiate between two types of transmission, i.e. serial and parallel;�Cognitive level: Understanding�
Student Learning outcome # 5.1.7
Difference Between Serial and Parallel Transmission
There are two methods are used for transferring data between computers which are given below: Serial Transmission, and Parallel Transmission.
Serial Transmission:�In Serial Transmission, data-bit flows from one computer to another computer in bi-direction. In this transmission one bit flows at one clock pulse. In Serial Transmission, 8 bits are transferred at a time having a start and stop bit.
Serial Transmission has two subclasses synchronous and asynchronous.
Advantages
Disadvantage
Parallel Transmission:�In Parallel Transmission, many bits are flow together simultaneously from one computer to another computer. Parallel Transmission is faster than serial transmission to transmit the bits. Parallel transmission is used for short distance.
Advantages
Disadvantage
| Serial Transmission | Parallel Transmission |
1. | In serial transmission, data(bit) flows in bi-direction. | In Parallel Transmission, data flows in multiple lines. |
2. | Serial Transmission is cost efficient. | Parallel Transmission is not cost efficient. |
3. | In serial transmission, one bit transferred at one clock pulse. | In Parallel Transmission, eight bits transferred at one clock pulse. |
4. | Serial Transmission is slow in comparison of Parallel Transmission. | Parallel Transmission is fast in comparison of Serial Transmission. |
5. | Generally, Serial Transmission is used for long distance. | Generally, Parallel Transmission is used for short distance. |
Differentiate between synchronous and asynchronous transmission of data;�Cognitive level: Understanding�
Student Learning outcome # 5.1.8
Asynchronous Transmission and synchronous transmission
Asynchronous and synchronous transmission are the two different methods which are used for transmitting characters between components within a computer or from computer to other devices such as printer, modem etc.
Synchronous Transmission
Synchronous Transmission
Asynchronous Transmission
Asynchronous Transmission
Analyze the both images.
What did you find?
| Synchronous Transmission | Asynchronous Transmission |
1 | In Synchronous transmission, Data is sent in form of blocks or frames. | In asynchronous transmission, Data is sent in form of byte or character. |
2. | Synchronous Transmission is used for transferring the bulk of data as it is efficient and has less overhead | Asynchronous is simple, economical and used for transmitting a small amount of data. |
3. | Synchronous transmission is costly. | Asynchronous transmission is slow. |
4. | In Synchronous transmission, time interval of transmission is constant. | In asynchronous transmission, time interval of transmission is not constant, it is random. |
5. | In Synchronous transmission, There is no gap present between data. | In asynchronous transmission, There is present gap between data. |
| | |
Compare the types of network topologies, (i.e. star, ring, bus, mesh and tree) with the help of diagrams;�Cognitive level: Understanding�
Student Learning outcome # 5.1.9
Network Topologies
The arrangement of network nodes and connections between them is called the network’s topology. A node represents any device on the network.
Topology is simply a map of the layout of nodes and connections in the network.
These following topologies are very popular, namely
Network Topologies
In star topology, each network node is connected to a central device called a hub. Large networks can require many hubs and hubs can be connected to each other to create a single large network.
Features of star topology
Network Topologies
Limitations
Network Topologies
b) Ring topology
Ring topology is shaped just like a ring. It is made up of an unbroken circle of network nodes.
In a ring network, packets of data travel from one device to the next until they reach their destination.
Features of ring topology
Network Topologies
b) Ring topology
Limitations
Network Topologies
c) Bus topology
Bus network connects each node to the network along a single piece of cable, called bus.
Features of bus topology
cable to prevent signals from reflecting
back onto the bus and cause errors.
ground.
Network Topologies
c) Bus topology
Limitations
Network Topologies
d) Mesh topology
It is a point-to-point connection to other nodes or devices. All the network nodes are connected to each other.
Features of Mesh topology
Network Topologies
d) Mesh topology
Limitations
Network Topologies
e) Tree topology
It has a root node and all other nodes are connected to it forming a hierarchy. It is also called hierarchical topology. It should at least have three levels to the hierarchy.
Features of Mesh topology
Network Topologies
e) Tree topology
Limitations
Network Topologies
f) Hybrid topology
It is two different types of topologies which is a mixture of two or more topologies. For example if in an office in one department ring topology is used and in another star topology is used, connecting these topologies will result in Hybrid Topology (ring topology and star topology).
THANK YOU
Resources
Computer Science grade 11�National Book Foundation
Communication Modes
�https://www.geeksforgeeks.org/transmission-modes-computer-networks/
Resources
Computer Science grade 11�National Book Foundation
Types of network�https://www.belden.com/blog/smart-building/network-types
https://study.com/academy/lesson/types-of-networks-lan-wan-wlan-man-san-pan-epn-vpn.html
Internet area network
https://www.youtube.com/watch?v=5F8q4-exucw
Communication media
https://www.studytonight.com/computer-networks/bounded-transmission-media