Class 12 - COMPUTER NETWORKS - Notes
Class 12 - COMPUTER NETWORKS - Notes
COMPUTER SCIENCE
CLASS XII STUDY MATERIAL
COMPUTER NETWORKS
ARPANET: The Advanced Research Projects Agency Network (ARPANET) was an early
packet switching network and the first network to implement the protocol suite TCP/IP. Both
technologies became the technical foundation of the Internet.
WWW: World Wide Web started on 6th August 1991, started by ‘ Berners Lee’ .
Channel: A channel is a separate path through which signals can flow. A channel has a
certain capacity for transmitting information, often measured by its bandwidth in Hz or
its data rate in bits per second.
Bandwidth: Bandwidth refers to the amount of information that can be transmitted over a
network in a given amount of time, usually expressed in bits per second or bps.
Data Transfer Rate: The data transfer rate of a computer network connection is normally
measured in units of bits per second (bps).
Network:- To connect the more than one devices via a medium, is called network.
1. Communication
2. Resource sharing
3. Reduce Cost
Types of Network:
* Large network
* Public
* Example – Internet
4. PAN:
A medium which is used to connect the devices and transfers the data from one device to
another device.
Medium
Wired Wireless
(Guided) (Unguided)
Twisted Co-axial
Optical Radio Micro Satellite Wi-Fi, infrared,
Pair Cable Cable Fiber wave wave Comm. Bluetooth
Cable
LCS/SM/COMPUTER SCIENCE/NETWORKING/XII/2021-22 Page 5
8.6 Network Devices:
1. Modem
2. Hub
3. Switch
4. Gateway
5. Bridge
6. Router
7. Repeater
8. NIC (Network Interface Card)
9. RJ45 Connector
1. Modem:
The full form of modem is Modulator and demodulator.
A modem is a device or program that enables a computer to transmit data over
telephone or cable lines.
A modem converts analog signal to digital signal and vice- versa.
Modem connects computer to internet.
There are two types of modem:
a. Internal Modem
Telephone pole
Modem
2. Hub:
A network device that contains multiple ports.
Provides multiple connections.
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.
Two types of hub :
a. Active Hub
b. Passive Hub
3. Switch:
A switch is called smart hub.
Provides multiple connections
A device that filters and forwards packets between LAN segments.
LCS/SM/COMPUTER SCIENCE/NETWORKING/XII/2021-22 Page 7
Fig: Switch
HUB SWITCH
4. Gateway:
A gateway is a network point that acts as an entrance to another network.
Used to connect two dissimilar networks.
WAN LAN
LAN-2
6. Router:
A router is a device that forwards data packets along networks. A router is connected
to at least two networks, commonly two LANs or WANs. Routers are located
at gateways, the places where two or more networks connect.
A router acts as a dispatcher, choosing the best path for information to travel so it’s
received quickly.
7. Repeater:
Network repeaters regenerate and amplify the weak signals to transmit the information
for long distance.
A MAC address is a 6- byte address with each byte separated by a colon. First 3-bytes have
Manufacturer id and last 3-bytes represent Card id.
10:BE:05:56:3F:CB
Manufacturer id Card id
9. RJ45 Connector: It is used for connecting computers onto Ethernet-based local area
networks (LAN). RJ stands for Registered Jack. It is a standardize networking interface. 45
is the number of the interface standard. It has 8-pins.
The term Topology refers to the way/layout in which the various nodes or computers of a
network are linked together.
The following factors are considered while selecting a topology:
1. Cost
2. Reliability
3. Scalability
4. Bandwidth capacity
5. Ease of installation
6. Ease of troubleshooting
7. Delay involved in routing information from one node to another.
Types of Topologies
Advantages Disadvantages
1. Easy to install and the use for small 1. If the main cable fails the entire network
networks. collapses.
2. Requires less cable 2. Difficult to reconfigure, due to more
connections.
1.
2.
Advantages Disadvantages
1. Easier to add new node or modify any 1. Central node dependency. If the central
existing node without disturbing network. controller or hub fails, entire system
2. Fast Speed collapses.
3. If any local computer or link fails, the entire 2. Cabling cost is more
system does not collapse 3. Difficult to install
4. Easy fault detection and isolation
5. Central node control
Advantages Disadvantages
1. New node can be added easily. 1. If the backbone line breaks, the entire
2. Signal can travel for long distance. segment goes down.
3. Isolate and prioritize communication. 2. More difficult to configure
3. Higher cabling cost
Each computer has unique address over internet, is called IP address. An IP address is an
identifier for a computer or device on a TCP/IP network.
Two types:
3. FTP (File Transfer Protocol): use to transfer files from one computer to another computer.
5. HTTP( HyperText Transfer Protocol): To transfer the hypertext pages over internet.
E-Mail is a method to send the messages in digital form. E-mail is a message that may
contain text, files, images, or other attachments sent through a network to a specified
individual or group of individuals.
gmail server yahoo server
SMTP
POP3/IMAP
SMTP (Simple Mail Transfer Protocol) is a protocol which is used to transfer the e-mail
from sender side. This protocol is known as push protocol.
POP3 (Post Office Protocol version 3): This protocol is used to access e-mail from the
server to receiver. This protocol is known as pull protocol.
VoIP : VoIP (voice over IP) is the transmission of voice and multimedia content over Internet
Protocol (IP) networks. This protocol is used for chat and video conferencing over internet.
HTTPS stands for Hypertext Transfer Protocol Secure. It is the protocol where encrypted
HTTP data is transferred over a secure connection. HTTPS does encryption of data between
a client and a server, which protects against eavesdropping, forging of information and
8.21.1 WWW: World Wide Web is an information system where websites and webpages
are interconnected and accessible through URL. It is also known as Web.
8.21.2 HTML: HTML is the standard markup language for creating Web pages.
<html>
<head>
<title>My first web page</title>
</head>
<body>
<h1> My First Heading </h1>
<p> My first paragraph </p>
</body>
</html>
8.21.3 XML :
S.
HTML XML
No.
1 HyperText Markup Language. eXtensible Markup Language.
5 HTML has its own predefined tags. Uses custom tags defined by the user.
HTML is not strict if the user does not use the XML makes it mandatory for the user the close
6
closing tags. each tag that has been used.
7 HTML does not preserve white space. XML preserves white space.
XML is about carrying information hence
8 HTML is about displaying data, hence static.
dynamic.
Domain names are used to identify one or more IP addresses. Domain names are used in
URLs to identify particular web page.
URL http://www.kvongcbrd.com/english-results.htm
Domain Name kvongcbrd.com
Web Page english-results.htm
Protocol http
Every domain name has a suffix that indicates which top level domain (TLD) it belongs to.
There are only a limited number of such domains. For example:
gov - Government agencies
edu - Educational institutions
org - Organizations (nonprofit)
mil - Military
com - commercial business
net - Network organizations
in - India
th – Thailand
LCS/SM/COMPUTER SCIENCE/NETWORKING/XII/2021-22 Page 18
Because the Internet is based on IP addresses, not domain names, every Web server require
a Domain Name System (DNS) server to translate domain names into IP addresses.
8.21.5 URL: Uniform Resource Locator. It is the global address of documents and other
resources on the World Wide Web.
8.21.6 Website: Collection of web pages which are interlinked to one another. These pages
are hypertext pages and link between pages is known as hyperlink.
8.21.7 Web browser: It is application software though which user can access internet.
Example: internet explorer, Google chrome, Mozilla Firefox, opera, UC browser
8.21.8 Web Server: A web server is a system that uses HTTP to accept request and serve the
web pages as response to users. Every web server has IP address.
8.21.9 Web Hosting: Web hosting is a service that allows organizations and individuals to
post a website on to the Internet.
A web host, or web hosting service provider, is a business that provides the technologies and
services needed for the website or webpage to be viewed in the Internet. Websites are hosted,
or stored, on special computers called servers.
Network Protocols
A protocol means the rules that are applicable for a network.
It defines the standardized format for data packets, techniques
for detecting and correcting errors and so on.
A protocol is a formal description of message formats and the rules
that two or more machines must follow to exchange those
messages.
SLIP/PPP provides the ability to transport TCP/IP traffic ever serial line between two
computers. The home user’s computer has a communications link to the internet. The home
user’s computer has the networking software that can speak TCP/IP with other computers
on the Internet. E.g. dial up connection.
1/LCS/SM/COMPUTER SCIENCE/NETWORKING PART 2/XII/2021-22
Telnet-
It is an older internet utility that lets us log on to remote computer system. It also facilitates
for terminal emulation purpose. Terminal emulation means using a pc like a mainframe
computer through networking.
(i) Run telnet client- Type telnet in run dialog box.
(ii) Connect to telnet site -specify the host name, port and terminal type.
(iii) Start browsing- surf the shown site with provided instruction.
(i) Finally disconnect-press Alt+F4.
SMTP-Simple Mail Transfer Protocol (SMTP) is the standard protocol for sending emails across the
Internet. SMTP is also known as PUSH protocol. SMTP transfers the mail from sender’s
computer to the mail box present on receiver’s mail server.
POP3- Post Office Protocol version 3 (POP3) is a standard mail protocol used to receive
emails from a remote server to a local email client. POP3 allows you to download email
messages on your local computer and read them even when you are offline. Note, that when
you use POP3 to connect to your email account, messages are downloaded locally and
removed from the email server
VOIP-VoIP (voice over Internet Protocol) is the transmission of voice and multimedia content
over an internet connection. VoIP allows users to make voice calls from a computer,
smartphone, other mobile devices, special VoIP phones and WebRTC-enabled browsers.
VoIP is a technology useful for both consumers and businesses, as it typically includes other
features that can't be found on common phone services. These features can include call
recording, custom caller ID, or voicemail to e-mail.
Web server- It is a WWW server that responds to the requests made by web browers.
e.g. : Apache, IIS, PWS(Personal web server for Windows 98).
Web browser- It is a WWW client that navigates through the World Wide
Web and displays web pages. E.g.: FireFox Navigator, Internet Explorer
etc
Web sites- A location on a net server where different web pages are linked
together by dynamic links is called a web site. Each web site has a unique
address called URL.
Web page - A document that can be viewed in a web browser and residing
on a web site is a web page.
Home page- a web page that is the starting page and acts as an indexed
page is home page.
Web portal - that facilitates various type of the functionality as web site. for
e.g. www.yahoo.com,www.rediff.com
HTML -
It stands for Hyper Text Markup Language that facilitates to write web
document that can be interpreted by any web browser. It provide certain tags
that are interpreted by the browser how to display and act with the text,
graphics etc. tags are specified in <>.
For e.g.
<body bgcolor=green> it is opening tag
</body> it is closing tag.
body is the tag with bgcolor attributes.
XML (eXtensible Markup Language)
XML is a markup language for documents containing structured information.
Structured information contains both content (words, pictures etc.) and some
indication of what role content plays.