COMPUTER NETWORKS_class12
COMPUTER NETWORKS_class12
Advantages:
- Exchange of information/message.
- Nodes can share Hardware.
- Nodes can share Software.
- Nodes can share Storage.
Disadvantages:
- Threat to data.
- Difficult to set up
- Not always cost effective.
- Require regular and proper management.
Evolution of Network
INTERNET(INTERconnection NETwork)
- The Internet can be understood as a worldwide network of networks.
- It is owned by nobody.
- It evolved from ARPANET.
- It facilitates services such as E-mail, file transfer, WWW, remote login etc.
- The internet follows certain rules while data communication rules which are
called protocols.
Interspace
- It is a client/server program that allows multiple users to communicate online with
real time audio, video, text-chat.
- These online communications take place inside a 3D environment.
Sender
- A sender is a computer or any such device which is capable of sending data
over a network.
- It can be a computer, mobile phone, smartwatch, walkie- talkie, video recording
device, etc.
Receiver
- A receiver is a computer or any such device which is capable of receiving data
from the network.
- It can be a computer, mobile phone, smartwatch, walkie- talkie, video recording
device, etc.
Message
- Any data transmitted over a network that is intended for human interpretation.
- Data becomes a message when it is transmitted from one person to another.
Communication Media
- Communication media refer to the ways, means or channels of transmitting
messages from sender to the receiver.
- Example: Optic Fibre, Coaxial Cable, Bluetooth etc.
Protocols
- A network protocol is an established set of rules that determine how data is
transmitted between different devices in the same network.
- it allows connected devices to communicate with each other, regardless of any
differences in their internal processes, structure or design.
Bandwidth
- Bandwidth of a channel is the range of frequencies available for transmission of
data through that channel.
- Higher the bandwidth, higher the data transfer rate.
- Normally, bandwidth is the difference of maximum and minimum frequency
contained in the composite signals.
- Bandwidth is measured in Hertz (Hz).
1 KHz =1000 Hz
1 MHz =1000 KHz = 1000000 Hz
# MBps stands for Megabyte per second whereas Mbps stands for Megabit per second.
Circuit Switching
- First the complete end-to-end transmission path is established between the
source and the destination computers.
- Then the message is transmitted through the path.
- The main advantage of this technique is guaranteed delivery of the message.
- Mostly used for voice communication.
Packet Switching
- Using the TCP protocol a single large message is divided into a sequence of
packets of size limits from 128 to 4096 bytes.
- Each packet is independent and has the address of sender and destination.
- The IP (Internet protocol) does the routing for the packets. It keeps track of all the
different routes available to the destination. If one route is not available it finds
the alternate route to the destination.
- At the destination, the TCP protocol re-assembles the packets into the complete
message.
- If any packets are lost or damaged, a request is sent to retransmit the same
message.
Circuit switching requires a dedicated Packet switching does not require any
path before sending data from source to dedicated path to send data from source
destination. to destination.
Each packet follows the same route A packet can follow any route
Transmission Media
- A transmission medium can be anything that can carry signals or data between
the source (transmitter) and destination (receiver).
- Transmission can be classified as guided or unguided.
- In guided/wired transmission, there is a physical link made of wire/cable through
which data in terms of signals are propagated between the nodes.
- In unguided/wireless transmission, data travels in air in terms of electromagnetic
waves using an antenna.
Coaxial Cable
- It has a copper wire at the core of the cable which is surrounded with insulating
material.
- The insulator is further surrounded with an outer conductor (usually a copper
mesh).
- This outer conductor is wrapped in a plastic cover.
- General uses: TV cables, CCTV, Video Transmission
- Advantages:
support high bandwidth
easy to install coaxial cables
more reliable and durable.
Less affected by noise or cross-talk or electromagnetic interference
support multiple channels
- Disadvantages:
Coaxial cables are expensive.
must be grounded in order to prevent any crosstalk
There is a chance of breaking the coaxial cable and installing a t-joint by
hackers.
Optical Fiber
- The optical fiber cable carries data as light, which travels inside a thin fiber of
glass.
- A thin transparent strand of glass at the center is covered with a layer of less
dense glass called cladding.
- This whole arrangement is covered with an outer jacket made of PVC or Teflon.
- Such types of cables are usually used in backbone networks.
- Advantages:
light weight
have higher bandwidth
Higher data transfer rate
Signals can travel longer distances and electromagnetic noise cannot
affect the cable.
- Disadvantages:
Expensive
Unidirectional
Two cables are required for full duplex communication.
Repairing is not easy.
Wireless Transmission Media
- Wireless technologies allow communication between two or more devices in
short to long distance without requiring any physical media.
- There are many types of wireless communication technologies such as
Bluetooth, WiFi, WiMax etc.
- information travels in the form of electromagnetic signals through air.
Electromagnetic spectrum
- frequency ranging from 3 KHz to 900 THz
- can be divided into 4 categories Radio waves, Microwaves and Infrared waves.
Radio Waves
- Radio waves are transmitted in all directions, i.e. Omnidirectional
- Range is from 3Khz to 1 khz.
- the wave sent by the sending antenna can be received by any receiving antenna.
- An example of the radio wave is FM Radio, Television, CordlessPhone etc.
- Advantages:
mainly used for wide area networks and mobile cellular phones.
cover a large area
can penetrate the walls
provides a higher transmission rate
- Disadvantages:
Radio spectrum is limited
Can be affected by bad weather
Microwaves
- frequency range 1GHz - 300GHz.
- Unidirectional, can move in only one direction.
- Used in unicast communication such as radar or satellite.
- Advantages:
Cheaper than using cables
Does Not require land for installing wires
Communication over ocean can be achieved
Provides very large carrying capacity
- Disadvantages:
Cannot penetrate solid objects such as walls, hills or mountains.
Any malicious user can catch the signal in the air by using its own
antenna. Thus insecure.
Any environmental change such as rain, wind can distort the signal.
Limited bandwidth.
Infrared Communication
- Infrared is the frequency of light that is not visible to the human eye.
- Far infrared waves are thermal. This is the reason we feel the heat from sunlight,
a fire or a radiator.
- Infrared communication requires a transceiver (a combination of transmitter and
receiver) in both devices that communicate.
- In infrared transmission, senders can be simple light emitting diodes (LEDs) or
laser diodes. Photodiodes act as receivers.
- Infrared wireless is used for medium and short range communications and
control.
- With infrared transmission, computers can transfer files and other digital data
bidirectional.
- Infrared technology is used in instruction detectors; robot control system, medium
range line of sight laser communication, cordless microphone, headsets,
modems, and other peripheral devices.
- Advantages:
- it's simple and extremely cheap senders and receivers which are
integrated into nearly all mobile devices available today.
- No licenses are required for infrared
- Electrical devices cannot interfere with infrared transmission.
- Since it has a short range of communication hence it is considered
to be a secure mode of Transmission.
- Disadvantages:
- It can only be used for short range communication.
- Infrared wave transmission cannot pass through obstructions like
walls, buildings etc.
- It has low bandwidth compared to other LAN technologies.
- Limited transfer rates to 115 Kbit/s.
Costs Setup and usage Setup and usage Setup and usage
costs are high. costs are high. costs are low.
Communication Radio waves are Microwave are used They are not used in
use in long in long distance long distance
distance communication. communication.
communication.
Modem
- Modem is short for Modulator Demodulator.
- It converts the digital signal into analogue data signals and vice versa.
- It maintains a dedicated connection to get the internet connection.
- It acts as a bridge between the internet/telephone line and the computer.
- They can be installed within the computer in a development slot applicable for it.
Ethernet Card
Router
- Router is a networking device which chooses the best optimal path from
available pats to send the signals.
Gateway
WiFi Card
- These are small and portable cards that allow your computer to connect to the
internet through a wireless network.
Network Topologies
- Following are the few Networking topologies: Bus Topology, Star Topology, Tree
Topology.
Bus Topology
- The single cable, where all data is transmitted between devices, is referred to as
the bus, backbone, or trunk.
- All other nodes are connected to this backbone.
- A device wanting to communicate with another device on the network sends a
broadcast message in both directions onto the wire that all other devices see, but
only the intended recipient actually accepts and processes the message.
- Advantages:
- Works efficiently for small networks
- Cost-effective
- Easy to install and add/remove new nodes.
- If one device fails, other devices are not impacted.
- Disadvantages:
- If the backbone is damaged the whole network is affected.
- Detection of fault and isolation of faults is difficult.
- Very slow and not ideal for large networks.
- Less secure as all the devices receive the signal sent from source.
Star Topology
- In a star topology, the central hub acts like a server and the connecting nodes act
like clients.
- When the central node receives a packet from a connecting node, it can pass the
packet on to other nodes in the network.
- Advantages:
- Failure of one node does not affect the rest of the nodes.
- Fault detection is easier
- Easy to install, uninstall and configure network devices
- Disadvantages:
- If the central hub goes down, the whole network goes down.
- Requires more cabling than a bus topology.
- High installation cost
Tree Topology
Types of Network
Based on the geographical area covered and data transfer rate, computer networks are
broadly categorised as:
PAN ( Personal Area Network)
LAN (Local Area Network)
MAN (Metropolitan Area Network)
WAN (Wide Area Network)
Network Protocols
- Network protocols are sets of rules and regulations that dictate how to format,
transmit and receive data on computer network devices.
- like servers, routers
- Computers can communicate regardless of the differences in their
infrastructures, designs or standards because of Network Protocols.
- To successfully send or receive information, network devices must accept and
follow protocol conventions.
- HTTP, FTP, PPP, SMTP, TCP/IP, POP3, HTTPS, TELNET, VoIP
TCP/IP
- TCP/IP are the two protocols that are used together and together they form the
backbone protocol of the internet.
- They can also be used for private networks i.e. intranets and extranets.
- When you are set up with direct access to the Internet, your computer is provided
with a copy of the TCP/IP program
- TCP/IP has two major components: TCP and IP.
- The Transmission Control Protocol(TCP) breaks the data into packets that the
network can handle efficiently.
- TCP is responsible for the transmission of these packets and reassembling at the
receiver's end.
- The Internet Protocol(IP)handles the address part of each packet so that it
reaches the right destination.
- It gives a distinct address (called IP address) to each data packet.
- An IP address is a unique identifier for a node or host connection on an IP
network.
HTTP
- HTTP stands for HyperText Transfer Protocol.
- It is the primary protocol used to access the World Wide Web.
- HTTP is the protocol that is used for transferring hypertext between two
computers.
- By hypertext we mean text, graphic, image, sound, video etc.
- HTTP defines how messages are formatted and transmitted, and what actions
Web servers and browsers should take in response to various commands
- HTTP is based on Client/Server principle.
WWW
- World Wide Web, which is also known as a Web, is a collection of websites or
web pages stored in web servers.
- These websites contain text pages, digital images, audios, videos, etc.
- Users can access the content of these sites from any part of the world over the
internet using their devices such as computers, laptops, cell phones, etc.
- The WWW, along with the internet, enables the retrieval and display of text and
media to your device.
HTML
- HyperText Markup Language (HTML) is the set of markup symbols or codes
inserted into a file intended for display on the Internet.
- HTML is the combination of Hypertext and Markup language.
- Hypertext defines the link between web pages.
- A markup language is used to define the text document within the tag which
defines the structure of web pages.
XML
- XML stands for Extensible Markup Language.
- It is a text-based markup language
- XML tags identify the data and are used to store and organize the data
- It is not responsible for specifying how to display the data like HTML.
- XML was developed by an organization called the World Wide Web Consortium
(W3C).
Domain Names
- A domain name is a string of text that maps to a numeric IP addresses.
- used to access a website from client software.
- A domain name is the text that a user types into a browser window to reach a
particular website.
URL
- A URL (Uniform Resource Locator) is a unique identifier used to locate a
resource on the Internet.
- It is also referred to as a web address.
- URLs consist of multiple parts -- including a protocol and domain name
Website
- A website is a collection of publicly accessible, interlinked Web pages.
- Websites can be created and maintained by an individual, group, business or
organization to serve a variety of purposes.
Web Browser
- A software application used to access information on the World Wide Web is
called a Web Browser.
- When a user requests some information, the web browser fetches the data from
a web server and then displays the webpage on the user’s screen.
Web Servers
- Web server is a computer where the web content is stored.
- Basically a web server is used to host the web sites but there exists other web
servers also such as gaming, storage, FTP, email etc.
- When a client sends a request for a web page, the web server searches for the
requested page. If the requested page is found then it will send it to the client
with an HTTP response.
Web Hosting
- Web hosting is a service providing online space for storage of web pages.
- These web pages are made available via the World Wide Web.
- These servers are run by web hosting companies.