Computer_Networks_Class 12
Computer_Networks_Class 12
2. Peer-to-Peer (P2P) Network: A network where all devices (peers) have equal roles
and can act as both clients and servers, sharing resources directly with each other.
Decentralized: no dedicated server.
Each node can share files, printers, or other resources with other nodes.
E.g. Home networks where devices share files without a central server, File-sharing
platforms like BitTorrent.
Advantages:
Cost-effective and simple to set up.
No reliance on a central server.
Disadvantages:
Less secure and harder to manage as the network grows.
Performance may degrade with many simultaneous connections.
Network Topologies
i. Star Topology:
Advantages:
Easy to add or remove nodes.
If one node fails the entire network will
not get affected.
Disadvantages:
Long cable length.
If the central hub fails then the entire
network will shutdown.
ii. Bus/Linear Topology:
Advantages:
Short cable length and simple wiring.
Easy to add or remove notes.
If one node fails the entire network will
not get affected.
Disadvantages:
Difficult fault analysis.
If the central (backbone) wire fails the entire network will shutdown.
Need repeater for longer configuration.
iii. Tree Topology: Combination of Bus and Star
topology.
Advantages:
It is flexible and scalable.
Very secure.
Disadvantages:
Complex design (difficult to add or remove
nodes).
Long cable length.
If the backbone wire fails then the entire network will shutdown.
iv. Mesh Topology: No. Of cables required = n(n-1)/2
Advantages:
Fast transmission.
If one node fails then entire network will not
get affected.
Disadvantages:
Long cable length.
Difficult to add or remove nodes.
v. Ring Topology: (Unidirectional)
Advantages:
Short cable length.
Less collision.
Disadvantages:
If one node fails the entire network will
shutdown.
Difficult to add or remove nodes.
One way transmission.
Less secure.
Evolution of Networking
i. ARPANET(Advance Research Projects Agency NETwork): Developed in 1969 by U. S.
Department of Defense. The goal of this project was to connect computers at different
universities and U. S. Defense.
ii. NSFnet(National Science Foundation Network): NSFNET was a network funded by the
U.S. National Science Foundation in the mid-1980s,It served as a backbone network for
research and education, expanding on ARPANET's foundation.
iii. The Internet: The internet is a global network of interconnected computer networks,
enabling data exchange, communication, and services worldwide. It Uses TCP/IP
protocols for communication.
Switching Techniques
Switching techniques are used for transmitting data across networks. The different types of
switching techniques are:
i. Circuit switching: In this technique, first the
complete physical connection between two
computers is established and then data is
transmitted from the source computer to the
destination computer.
ii. Packet switching: In this technique, Data is
divided into small packets, which are sent
independently over the network with
unique sequence number. Packets may take
different paths to the destination and are
reassembled in order upon arrival.
Bandwidth: It refers to the difference between the highest and lowest frequencies of a
transmission channel. High bandwidth channels are called broadband. Low bandwidth
channels are called narrowband.
Data transfer rate: It represents the amount of data transferred per second by a
communications channel or a computing device. It is measured in units of bits per
second(bps) or baud ,and bytes per second (Bps).
IP Address (Internet Protocol Address): A logical address assigned to a device in a network,
used to identify its location and enable communication. It helps route data between devices
across networks (e.g., local and the internet).
MAC Address (Media Access Control Address): A physical, unique hardware address
assigned to a network interface card (NIC) by the manufacturer. It identifies devices within
the same local network (LAN).
Transmission Media
I. Guided Media (Wired)
1. Twisted Pair Cable: It consists of two identical wires wrapped together in a double
helix.
Application: Local Area Networks (LANs) and telephone lines.
Advantages:
Simple and easy to install and maintain.
Physically flexible.
Not expensive.
Disadvantages:
Use of repeater over long distance.
Not suitable for broadband application due
to low bandwidth.
It is of two type:
a. UTP(Unshielded Twisted Pair)
b. STP(Shielded Twisted Pair)
2. Coaxial Cable: This type of cable consist of a solid wire core surrounded by one or
more foil or wire shields each separated by some kind of plastic insulator. The inner
core carries the signal, and the shield provides the ground. The coaxial cable has
high electrical properties and it is suitable for high speed communication.
Application: Cable television(CATV), internet services, and connecting radio
transmitters.
Advantages:
Data transmission is better than twisted
pair.
Can be used as broadband transmission.
Offer higher bandwidth upto 400 MBps.
Disadvantages:
Expensive than twisted pair.
Not compatible with twisted pair.
Types of coaxial cable:
a. Thicknet (upto 500 meters)
b. Thinnet (upto 185 meters)
3. Optical Fibers: Uses light signals transmitted through a core made of glass or plastic
to carry data. Surrounding the core are cladding and protective layers.
Application: High-speed internet, telecommunications, and data centers.
Advantages:
Immune to any kind of interference.
Very high transmission capacity.
Highly suitable for harsh industrial
environments.
Disadvantages:
Very expensive.
Connecting two fiber optic cable is very difficult.
Light can reach the receiver out of phase.
Types of optical fiber:
a. Single node (segement length upto 2 Kms, bandwidth upto 100 MBps)
b. Multinode (segment length upto 100 Kms, bandwidth upto 2 GBps)
II. Unguided Media (Wireless)