Computer Networks Class 12 Notes
Computer Networks Class 12 Notes
Computer networks:
A computer network is a collection of interconnected computers and other
devices which can communicate with each other and share hardware and
software resources.
Advantages (Need/Application) of computer networks:
1. Resource Sharing: Data, Hardware resources (modem, hard-disk,
DVD drive, scanner etc) and software resources (antivirus tools,
application software etc) can be easily shared on computer networks
by connecting these devices to one computer (server).
2. Cost saving: Sharing of resources in computer networking leads to
cost saving.
3. Improved communication: A computer network enables fast,
reliable, and easy communication among all users. We can easily
communicate with anyone through email, video conferencing or
chatting through networking.
4. Time saving it takes negligible time to send or receive messages,
images, videos, and audio on a computer network. We can easily
watch live videos and can talk live to anyone sitting in some corner
of the world on a computer network, this leads to time saving.
5. Increased storage and reliability: On a computer network, some data
is replicated on multiple computers to ensure availability of data, in
case of some computer getting faulty. Mostly the data kept on
servers is shared with legitimate users. This ensures data security
and reliability.
1|Page
• Message: It is the information to be communicated. It maybe text,
image, video, or audio.
• Transmission medium: It is the physical path through which the data
flows from the sender to receiver.
• Protocol: A set of rules that governs data transmission, it represents
the communication methods which are to be followed by sending or
receiving devices.
2|Page
3. INTERNET:
• In the 1990’s, Internet which is a network of networks came to
existence.
• The internet has evolved from ARPANET.
• The computers connected through world wide web (WWW)
that contains a large network and shares a common
communication protocol TCP/IP (Transmission control
protocol/Internet Protocol)
• Millions of domestic businesses, government networks relate
to each other for the purpose of sharing files, data, email etc.
4. INTERSPACE:
• It is a software that allows multiple uses in a client server
environment to communicate with each other by sending and
receiving data of various types.
• Such as video, audio, data files, textual data in a 3D
environment.
• It also facilitates online real time exchange of data.
3|Page
4. Data and signals: Information that is stored within computer
systems and transferred over a computer network can be divided
into two different categories. They are data and signals.
• Data are entities that are stored in the forms of 0’s and 1’s
which conveys some special meaning to the computer system
when this data is transmitted from one place to another, it is
converted into a signal.
• Signals are the electric or electromagnetic encoding of data
and are used to transmit data.
4|Page
3. NIU (network interface unit): It is a device that is attached to each of
the workstations and the server. It helps to connect the workstation
to the network. The NIU is also known as TAP (terminal access
point) as well as NIC (network interface card).
5|Page
• Circuit switching is a connection-oriented service.
• It provides end to end connection between two computers.
• It is established usually over a telephone network where one
person is making the call and the other is receiving the call. In
a telephone system the communication must be established
between the two participants (sender and the receiver).
• It is established before the transfer of the data takes place
• The following actions takes place takes place during the circuit
switching,
a) A request signal is sent by the sender to set up the
connection with the receiver. It establishes a physical
connection between the two participants (sender and
receiver).
b) All intermediate nodes are also identified. These nodes
are also called switching nodes.
c) If the destination node is available, it sends back the
acknowledgement of receiving signal. Hence, data
transmission begins.
d) When the data transmission is complete, the call can be
terminated.
6|Page
address, it is received ;otherwise it is passed on to the next
node until it reaches the destination IP address.
Types of networks:
Based on geographical spread, networks maybe classified as,
• PAN (Personal area network)
• LAN (Local area network)
• MAN (Metropolitan area network)
• WAN (Wide area network)
7|Page
• It can cover an area spread over a few meters to a radius of
few kilometers.
• A LAN can span a group of nearby buildings.
• LAN is owned, controlled, and managed by a single
person/organization.
• A LAN can be setup using wired media (UTP cables, coaxial
cables) or wireless media (infrared, radio-waves etc.)
8|Page
TOPOLOGY:
The pattern of interconnection of nodes in a network is called Topology.
It is an arrangement of physical connection among nodes in a network.
The major ones are:
Advantages
• It is easy to install.
• It requires less cable length and hence is cost effective.
• Failure of node does not affect the network.
Disadvantages
• In case of cable or terminator fault, the entire network breaks
down/collapses.
• Fault diagnosis is difficult.
• At a time only one node can transmit data.
9|Page
b) Star Topology: In star topology each node is directly connected to
a hub/switch, if any node has to send some information to any
other node, it sends the signal to the hub/switch. This signal is
then broadcasted to all the nodes, but it is accepted by the
intended nodes. In case of a switch the signal is sent only to the
indented nodes.
Advantages
• It is easy to install and wire.
• It is easy to detect the faults and to remove parts.
• It is easy to expand depending on the specifications of the
central hub or switch.
• It is more efficient topology as compared to bus topology.
Disadvantages
• It requires more cable length than bus topology.
• Central node dependency: If anything happen to the central
node, the entire network crashes.
10 | P a g e
c) Tree Topology (Extended Star Topology/Hybrid Topology): It is a
combination of star and bus topology. It is used to link different
star topology connected to a linear bus backbone cable.
Advantages
• It provides point-to-point wiring for individual segments.
• It is supported by several hardware and software vendors.
Disadvantages
• If the backbone line breaks, the entire segment goes down.
• It is more difficult to configure and wire than other topologies.
• Overall length of each segment is limited by the type of cabling
used.
11 | P a g e
- A transmission medium is a medium of data transfer over a
network. It canbe wired (Guided) or wireless (Unguided).
Advantages:
(iii) It is an adequate and least expensive medium for low speed (up to 10
mbps) applicationswhere the distance between the nodes is relatively small.
Disadvantages:
12 | P a g e
(i) It is incapable to carry a signal over long distances without the use of
repeaters.
(ii) Due to low bandwidth, these are unsuitable for broadband applications.
STP (Shielded Twisted pair): It is the same cable as the UTP, but with each
pair shielded individually. An outer shield then covers all the pairs like in UTP.
STP data connectors are used toconnect STP cable to the computer. RJ-45
connectors can also be used to connect this cable to a computer.
13 | P a g e
i) As compared to UTP, STP offers better immunity against
internal and externalElectromagnetic interferences.
ii) It is expensive than UTP cable.
iii) As compared to UTP cable, STP cable is difficult to install.
2. Co-axial cable (or coax)- It is the most used transmission media for LANs.
It is widely used for television signals and also by large corporations in
building security systems.Multi-channel television signals can be
transmitted around metropolitan areas at considerably less cost.
Advantages-
(i) It can carry data for a larger distance (185m - 500m) at a stretch.
Disadvantages-
3. Optical Fiber cable – Optical Fibers are long thin strands of glass
14 | P a g e
about the thickness of a human hair. They are arranged bundles called
optical fiber cables and are used to transmit datathrough light signals over
large distances. Optical fibers offer a very high bandwidth, and this makes
it capable of multichannel communication.
ii) Cladding: It is the outer optical material surrounding the core that
reflects the light back intothe core.
iii) Buffer coating: It is the plastic coating that protects the cable from damage
and moisture.
Advantages-
Disadvantages-
15 | P a g e
properties also change.
Electromagnetic waves are categorized on the basis of their frequencies.
i) Radio waves ii) Microwaves iii) Infrared waves iv)Satellite link v) Blue tooth
i) Radio Waves - They are widely used for communication, both indoors
and outdoors, Cordless phones, AM and FM radio broadcast, Garage door
openers etc. are examples of radiowave transmission. It has a frequency
range of 3 KHz – 3GHz.Radio waves are used for communication over
distances ranging from few meters up to covering an entire city.
ADVANTAGES
DISADVANTAGES
16 | P a g e
any solid object. It is unidirectional. Therefore, for long distance microwave
communication, high towers are built, and microwave antennas are put on
their top. They have frequency range of 300 MHz- 300 GHz .It is used in mobile
calls.
In the big cities where land is very costly and a lot of formalities have to be
completed to get permission to dig land for cabling, microwave antennas can
be put on top of high rise buildingsand communication can be started in a
short time.
ADVANTAGES
DISADVANTAGES
17 | P a g e
3. Infrared Waves: These waves are used for short range
communication (approx. 5m). Theyare so called because they have a
frequency range of just less than that of red light. Home- entertainment
remote-control devices, Cordless mouse, and Intrusion detectors are some
of thedevices that utilize infrared communication.
ADVANTAGES
(i) It is a line of sight transmission; therefore, information passed to one
device is not leaked toanother device.
(ii) No government license is required for their use.
DISADVANTAGES
(i)It is a line-of-sight transmission, therefore at a time only two
devices can communicate.(ii)Performance drops with longer
distances.
iii) Waves do not cross solid objects in between them.
ADVANTAGES
(i)Line of sight between communicating devices
is not required.(ii)Bluetooth can connect up to
eight devices simultaneously.
DISADVANTAGE
(i) Slow data transfer rate (up to 1Mbps).
18 | P a g e
5. Satellite Link: Satellite links are used for very long distance wireless
communication
which may range from intercity to intercontinental. The satellite system is
very expensive but itsarea coverage and fringe benefits compensate for the
expenses.
ADVANTAGES
(i) Satellites cover large area of earth
(ii) Since communication over very long distances is possible, this
becomes a commerciallyattractive option.
DISADVANTAGES
(i) This system is expensive.
(ii) Requires legal permissions.
Ans: i) NIC: The network interface unit (NIU) is a device (the network card) that is
attached toeach of the workstations and the server. It helps to connect the workstation
with the network. It facilitates communication between devices within a local area
network (LAN) using an RJ45 connector.
19 | P a g e
TheNIU is also called NIC (Network Interface Card) or Ethernet card.
ii) RJ45 Connector: RJ45 connectors are used to connect Ethernet cables to
devices like computers, switches, and routers. They have eight pins and are
commonly used for wired network connections.
20 | P a g e
HUB: A Hub is an electronic device that connects several nodes to form a
network and redirectsthe received information to all the connected nodes
in broadcast mode. The computer(s) for which the information is intended
receive(s) this information and accept(s) it. Other computers on the
network simply reject this information.
The difference between the two is that Hub broadcasts the received
information to all thenodes. Switch does not broadcast instead sends the
21 | P a g e
information selectively only to those computers for which it is intended.
This makes a switch more efficient than a hub.
22 | P a g e
Bridge: Bridge is a device which is used to connect two LAN’s or two
segments of the same LAN. LAN’s connected by the bridge must follow the
same protocol. Bridge works with MAC.
WiFi Card: A WiFi card (or wireless network adapter) enables wireless connectivity. It
allows a computer to connect to WiFi networks, providing flexibility and mobility
without physical cables.
23 | P a g e
ii) Switch and Router
iii) Switch and Hub
Ans:
Router Bridge
It connects multiple It is used to connect two LAN’s or two segments
networks of the same LAN. LAN’s connected by the bridge
irrespective of must
their protocols follow the same protocol.
It can handle multiple It cannot handle multiple protocols
protocols
It works with an IP It works with MAC address
address
Switch Router
It connects all the network It connects multiple networks
components irrespective of their protocols
(printer, scanner etc.)
It works with MAC It works with IP
Multiple switches cannot be joined Multiple routers can be joined
together to form large networks. together to
form large networks.
Switch Hub
Suitable for large networks Suitable for small networks
Network traffic is less Network traffic is more
It passes the information only It passes the information to all the
to theintended (appropriate) nodes.
nodes.
24 | P a g e
A network protocol is a set of rules for communication among networked
devices. TheseProtocols are HTTP, TCP/IP and PPP etc.
25 | P a g e
links, and fiber optic links.
iv) FTP (File Transfer Protocol) :It is used widely on internet for
transferring files to and from aremote host. File Transfer Protocol is a
standard network protocol used for the transfer of computer files
between a client and server on a computer network. Files of any type can
be transferred to any system on the Internet. It is used to download a file
from a server using the Internet or to upload a file to a server. The main
objectives are:
• Transmitting and sharing of files.
• To transfer data reliably and efficiently.
• FTP uses the Internet’s TCP/IP protocols to enable data transfer.
• Indirect use of remote computers.
vii)TELNET(Remote Login)
26 | P a g e
Telnet is a remote login that helps a user to log on to another user's terminal
without being its original user. A user who is logging in to their own system can
also get access to log on to another user system and perform various functions
such as accessing files or sharing files to/from the remote system. With TELNET, a
user logs as a regular user with whatever privileges that may have been granted
to the specific application and data on the computer.
viii) VOIP
VOIP stands for voice over internet protocol. It enables the transfer of
voice using packet switched network rather than using public switched
telephone network. By using VOIP software, phone calls can be done
using standard internet connection. This method of making phone calls
is much cheaper than convectional way because the service of
Telecommunication Company is not used. There are three different
methods of VoIP service in common use today:
27 | P a g e
Domain Name: In context of internet, a Domain Name is a name
assigned to a server through Domain Name System (DNS). Examples
of some domain names are cbse.nic.in,indianrailway.gov.in etc.
Domain names are used in URLs to identify particular Web servers. For
example, in the URLhttp://www.cbse.nic.in/welcome.htm, the domain name is
www.cbse.nic.in
A domain name usually has more than one part: top level domain name
or primary domain name and sub-domain name(s). Top level domains
are divided into two categories: Generic Domain Names and Country-
Specific Domain Names. For example:
·mil - Military
.au - Australia
.ca - Canada
.ch - China
.pk - Pakistan
.jp - Japan
28 | P a g e
.us - United States of America
29 | P a g e
iv. .nic- Top level domain name(Generic Domain Name)
v. .in- Top level domain name(Country Specific Domain Name)
vi. welcome.html- path
<root>
<child>
<subchild>.....</subchild>
</child>
</root>
30 | P a g e
WWW (World Wide Web):
The World Wide Web (WWW) is a set of protocols that allows you to access any
document on the Internet through a naming system based on URLs. Protocols are
rules or standards that govern communications. The World Wide Web (WWW) is a
combination of all resources and users on the Internet that are using the Hypertext
Transfer Protocol (HTTP).
The Hyper Text Transfer Protocol is a protocol mainly used to access data on
the World Wide Web. This protocol defines how messages are formatted and
transmitted, and what actions web servers and browsers should take in response
to various commands. For example, when you enter a URL in your browser, this
sends an HTTP command to the Web Server directing it to fetch and transmit the
requested web page.
Website:
A website is a collection of several web pages images, videos, audios, or other
kinds of digital assets which are related to each other through hyperlinks.
The first page of a website is known as home page where all the links related to
other documents are displayed. The web pages of a website are written using
HTML and the information is transferred over the internet through
HTTP protocol. The HTML documents consist of several hyperlinks that are
accessed through HTTP protocol. Examples of various websites are: cbse.nic.in,
google.com, amazon.in, etc.
Webpage:
A web page is an electronic document/page designed using HTML. It displays
information in textual or graphical form. Traversal from one web page to another
web page is possible through hyperlinks.
Web browser
Web browser is software program to navigate the web pages on the internet. A
bowser interprets the coding language of the web page and displays it in graphic
form. A web browser allows anyone to access the web without even knowing
commands used in software languages to design a web page. Some popular web
browsers are: Mozilla Firefox, Opera, AOL, Webkit, Iceweasel, etc.
Internet works on client -server model. A web browser is a client which requests
the information from the web server. The web server sends the information back
to the client. The web address of the webpage written on the address bar tells the
web browser which page to access.
Web Browser is of two types:
32 | P a g e
• Text based browsers
• Graphical browsers URL (Uniform resource locator)
Web Server:
A Web server is a computer or a group of computers that stores web pages on the
internet. It works on client/server model. It delivers the requested web page to
web browser. Web servers use special programs such as Apache or IIS to deliver
web pages over the http protocol.
Web hosting
Web hosting is the process of uploading/saving the web content on a web server
to make it available on WWW. In case an individual or a company wants to make
its website available on the internet, it should be hosted on a web server.
Web 2.0
Web 2.0 is often known as World Wide Web for second generation where people
collaborate with each other through social networking sites, blogs, wikis,
folksonomies, video-sharing sites, hosted services, web applications and
mashups.
Web 2.0 offers more dynamic pages instead of static pages that allows users to
create online applications. Web 2.0 also allows groups of people to work on
multiple applications. For example, a user can work on a document or
spreadsheet simultaneously, while in the background a computer keeps track of
who made what changes, where and when.
Web 2.0 tools are also less expensive than traditional software—many are even
free. Because they are web-based, the need is only to update the browser.
33 | P a g e