0% found this document useful (0 votes)
8 views23 pages

Understanding Computer Networks and Evolution

Computer Network CBSE class 12 notes

Uploaded by

vinod.1987k
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views23 pages

Understanding Computer Networks and Evolution

Computer Network CBSE class 12 notes

Uploaded by

vinod.1987k
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

What is a Computer Network?

Computer network is a collection of computers and other hardware components


interconnected by communication channels. These networks allow devices to share
resources and information.

Evolution of Networking (ARPANET, NSFNET, INTERNET)

The development of computer networks has significantly transformed how we communicate


and share information. Here’s a look at the key milestones in the evolution of networking,
focusing on ARPANET, NSFNET, and the Internet:

1. ARPANET: The Foundation


Introduction:
 Year: 1969
 Developed By: Advanced Research Projects Agency (ARPA), U.S. Department of
Defense agency.
 Purpose: ARPANET was designed to connect various research institutions and US
defense to facilitate resource sharing and communication.

2. NSFNET: Expanding the Network


Introduction:
 Year: 1985
 Developed By: National Science Foundation (NSF)
 Purpose: NSFNET was created to provide high-speed networking capabilities for
research and educational institutions across the U.S.
 Commercialization: By the early 1990s, NSFNET's backbone network was
decommissioned, and commercial networks took over, leading to the
commercialization of the Internet.

3. The Internet: The Global Network


The internet is made up of many networks, each run by a different company. These
networks communicate with each other using an established set of protocols
Introduction:
 Year: Early 1990s (formalized with the creation of the World Wide Web in 1991)
 Developed By: The Internet evolved from ARPANET and NSFNET into a global
network of networks.
 Purpose: The Internet was designed to be a scalable, decentralized network that
connects millions of networks and devices worldwide.
Data Communication Terminologies

1. Communication Channels
Communication channels are the mediums used to transfer data from the sender to the
receiver.
They can be classified into two main types:
 Physical Channels: These include cables, fiber optics, and other tangible mediums.
For example, Ethernet cables and optical fiber are physical channels used for wired
communication.
 Wireless Channels: These use electromagnetic waves to transmit data. Examples
include Wi-Fi, Bluetooth, and cellular networks.

2. Transmission Modes
Transmission modes describe how data is sent over the communication channel. They can
be categorized as follows:
 Simplex: Data flows in one direction only. Example: A keyboard sending input to a
computer.
 Half-Duplex: Data flows in both directions, but not
simultaneously. Example: Walkie-talkies where you can talk or listen, but not both at
the same time.
 Full-Duplex: Data flows in both directions simultaneously. Example: Telephones
where both parties can speak and listen at the same time.

3. Data Transmission
Data transmission is the process of sending data from one point to another. It can be
characterized by:
 Analog Transmission: Data is transmitted in continuous
signals. Example: Traditional radio broadcasts.
 Digital Transmission: Data is transmitted in discrete signals. Example: Data sent
over the Internet using binary code.

Components of Data Communication


Data communication involves various key components that work together to ensure
information is successfully transmitted from one point to another. Here’s a detailed look at
each component:

1. Sender
The sender is the device or system that initiates communication by generating and sending
the data. This could be a computer, smartphone, or any other network-enabled device.
Example: When you send an email, your computer or smartphone acts as the sender.
Role:
 Data Generation: The sender creates or processes the data to be transmitted.
 Data Encoding: The sender encodes the data into a suitable format for transmission
(e.g., converting text into binary).

2. Receiver
The receiver is the device or system that receives and processes the data sent by the
sender. It could be another computer, server, or any device capable of receiving data.
Example: When you receive an email, the device you use to read the email is the receiver.
Role:
 Data Reception: The receiver accepts the incoming data from the communication
channel.
 Data Decoding: The receiver decodes the data back into its original format for use.

3. Message
The message is the actual data or information being transmitted from the sender to the
receiver. This could be text, audio, video, or any other form of data.
Example: The content of an email, a video file, or a text message are all examples of
messages.
Role:
 Data Content: The message contains the information or instructions that need to be
communicated.
 Format: Messages need to be formatted properly to ensure they can be understood
by the receiver.

4. Communication Media
Communication media refer to the physical or logical pathways through which data is
transmitted from the sender to the receiver. This includes both hardware and software
components.
Types:
 Physical Media: Cables, fiber optics, and other tangible media. For
example, Ethernet cables and optical fiber are used for wired communication.
 Wireless Media: Radio waves, microwaves, and other wireless technologies.
Examples include Wi-Fi, Bluetooth, and cellular signals.
Role:
 Data Transmission: Provides the pathway for data to travel between sender and
receiver.
 Medium Selection: The choice of media affects the speed, reliability, and quality of
communication.

5. Protocols
Protocols are standardized sets of rules and procedures that dictate how data is formatted,
transmitted, and received over a network. They ensure that data is transferred correctly
and efficiently.
Examples:
 TCP/IP (Transmission Control Protocol/Internet Protocol): The fundamental
suite for internet communication, ensuring reliable data transmission.
 HTTP/HTTPS (Hypertext Transfer Protocol/Secure): Used for transferring web
pages and secure communications on the web.
 FTP (File Transfer Protocol): Used for transferring files between systems.
Role:
 Data Formatting: Protocols define how data should be structured and formatted.
 Error Checking: Includes mechanisms for error detection and correction to ensure
data integrity.
 Communication Rules: Specifies rules for establishing and maintaining
communication sessions.
.
Measuring Capacity of Communication Media (bandwidth, data transfer rate)

1. Bandwidth
Bandwidth refers to the maximum amount of data that can be transmitted over a
communication channel or network in a given period of time. It is essentially the capacity of
the communication medium
Measurement:
 Units: Bandwidth is typically measured in bits per second (bps), kilobits per second
(Kbps), megabits per second (Mbps), or gigabits per second (Gbps).
 Example: A network with a bandwidth of 100 Mbps can theoretically transfer 100
megabits of data every second.

2. Data Transfer Rate/ Throughput


Data Transfer Rate/ Throughput is the actual rate at which data is successfully transmitted
over a communication channel. It may be affected by factors such as network congestion
and errors.
Measurement:
 Units: Data transfer rate is measured in bits per second (bps), kilobits per second
(Kbps), megabits per second (Mbps), or gigabits per second (Gbps), similar to
bandwidth.
 Example: If a network has a theoretical bandwidth of 100 Mbps but only achieves 80
Mbps in practice due to congestion, the throughput is 80 Mbps.

IP Address

An IP address (Internet Protocol address) is a unique identifier assigned to each device


connected to a network that uses the Internet Protocol for communication. An IP address
helps route data to the correct device.

1. Types of IP Addresses
a. IPv4 (Internet Protocol version 4)
i. Format: IPv4 addresses are written in a 32-bit format, divided into four
octets separated by period.
ii. Range: IPv4 provides about 4.3 billion unique addresses, which were
initially thought to be more than enough but are now running out due to
the growth of internet-connected devices.
iii. Example: Your home router might use an IPv4 address like [Link]
to identify itself on your local network.

b. IPv6 (Internet Protocol version 6)


i. Format: IPv6 addresses use a 128-bit format, written as eight groups of
four hexadecimal digits separated by colons.
ii. Range: IPv6 provides a vastly larger address space, allowing for
approximately 340 undecillion (3.4 × 10^38) unique addresses, which
should be sufficient for the foreseeable future.
iii. Example: An IPv6 address might look like
2607:fed5:4a4e:0000:0000:0000:0000:0000.

2. Static vs. Dynamic IP Addresses

a. Static IP Address:
 Definition: A static IP address is a fixed address that does not change. It is
manually assigned to a device and remains constant.
 Usage: Often used for servers, network printers, and other devices where a
consistent address is required.
 Example: Your company’s web server may have a static IP like [Link].

b. Dynamic IP Address:
 Definition: A dynamic IP address is assigned by a network's DHCP (Dynamic Host
Configuration Protocol) server and can change periodically.
 Usage: Commonly used for devices that connect to networks frequently, such as
home computers and mobile devices.
 Example: When you connect to your home Wi-Fi, you might be assigned a
dynamic IP address like [Link] that could change when you reconnect.

3. Public vs. Private IP Addresses


a. Public IP Address:
 Definition: A public IP address is assigned to a network by an ISP (Internet
Service Provider) and is used to identify a network on the internet.
 Usage: It is what the rest of the world uses to reach your network.
 Example: Your ISP might provide you with a public IP like [Link].

b. Private IP Address:
 Definition: Private IP addresses are used within a local network and are not
visible to the outside world. They are reserved for internal use.
 Usage: These addresses allow devices within the same local network to
communicate with each other.
 Example: Common private IP address ranges include 192.168.x.x, 10.x.x.x, and
172.16.x.x to 172.31.x.x.

Why IP Addresses Matter


 Routing Data: IP addresses help route data from one device to another, ensuring
that your email or website request reaches the correct destination.
 Network Identification: They uniquely identify devices on a network, which is
essential for communication and troubleshooting.
 Security: Proper management of IP addresses can help secure networks by
preventing unauthorized access and tracking network activity.

Switching Techniques (Circuit switching, Packet switching)

Circuit Switching vs. Packet Switching


Switching techniques determining how data is routed and managed across networks. The
two primary switching techniques are circuit switching and packet switching.

1. Circuit Switching
Circuit switching is a technique where a dedicated communication path or circuit is
established between two devices for the duration of their conversation. This path remains
open and exclusive to the two devices for the entire session.
Example:
 Traditional Telephone Networks: When you make a phone call, a dedicated
circuit is established between your phone and the recipient's phone for the duration
of the call.
Pros:
 Reliable Connection: Since the path is dedicated, there is less chance of data loss
or delay due to other traffic.
 Consistent Quality: The quality of the communication is consistent throughout the
session.
Cons:
 Inefficient Use of Resources: The dedicated path is reserved whether or not data
is being transmitted, which can lead to inefficient use of network resources.
 Scalability Issues: Circuit switching is less flexible and can be less scalable
compared to other techniques.

2. Packet Switching
Packet switching is a technique where data is divided into small packets, which are sent
independently through the network. Each packet may take a different path to reach the
destination, where they are reassembled in the correct order.

Example:
 The Internet: When you browse the web or send an email, data is split into packets
that travel through different routes and are reassembled at the destination.
Pros:
 Efficient Resource Utilization: Network resources are used more effectively as
packets from multiple sources can share the same network paths.
 Scalability: Packet switching is highly scalable and can handle a large number of
simultaneous communications.
Cons:
 Variable Quality: The quality of communication can vary due to the shared nature
of the network paths and possible delays or packet loss.
 Overhead: Packet switching introduces some overhead due to the need for packet
headers and reassembly at the destination.
Circuit Switching Packet Switching

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 to
destination. destination.

It reserves the entire bandwidth in


It does not reserve bandwidth in advance
advance.

No store and forward transmission It supports store and forward transmission

Each packet follows the same route A packet can follow any route

Call setup is required No call setup is required

Bandwidth wastage No bandwidth wastage


.

Transmission Media
Transmission media are the physical or logical channels through which data is transmitted
from one device to another in a network.
They can be broadly categorized into two types

1. Guided Media (Wired Media)


Guided media, also known as wired media, refers to physical transmission mediums used to
transfer data signals through a controlled path.
Guided media offer reliable and high-speed data transmission. They are commonly used in
network infrastructures for both local and wide area networks.

a. Twisted Pair Cables


Consists of pairs of insulated copper wires twisted together to reduce interference.
Types:
 Unshielded Twisted Pair (UTP): Common in Ethernet networks.
Offers good performance at a lower cost.
 Shielded Twisted Pair (STP): Provides additional shielding to reduce
electromagnetic interference.
Speed and Range: Generally supports speeds up to 1 Gbps over short
distances. Categories like Cat5e, Cat6, and Cat6a support different
speeds and bandwidths.
Example: Used for telephone lines and local area networks (LANs).

b. Coaxial Cables
Comprises a central conductor, an insulating layer, a metallic shield, and an outer
insulating layer.
Speed and Range: Supports higher bandwidth than twisted pair cables.
Commonly used for cable television and broadband internet.
Example: Coaxial cables are used to connect cable modems to routers.

c. Fiber Optic Cables


Uses glass or plastic fibers to transmit data as light pulses. Offers very high
bandwidth and speed.
Speed and Range: Supports speeds ranging from 1 Gbps to several terabits per
second over long distances. Less susceptible to interference and signal loss.
Example: Used for high-speed internet connections, long-distance
telecommunications, and data center connections.

2. Unguided Media (Wireless Media)


Unguided media, or wireless media, refers to transmission methods that send data signals
through the air or space without physical cables.

a. Radio Waves
Electromagnetic waves used for various types of wireless communication.
 Speed and Range: Suitable for short to medium-range communication.
Commonly used in Wi-Fi and Bluetooth.
 Example: Wi-Fi routers use radio waves to provide wireless internet access in
homes and offices.

b. Microwaves
High-frequency radio waves used for point-to-point communication over long
distances.
 Speed and Range: Can support high data rates but require line-of-sight
between the transmitting and receiving antennas. Used in satellite
communication and some long-distance communication systems.
 Example: Satellite television and microwave relay stations.

c. Infrared
Electromagnetic radiation with wavelengths longer than visible light but shorter than
microwaves.
 Speed and Range: Typically used for short-range communication. Requires
direct line-of-sight between devices. Commonly used in remote controls and
some short-range data transfers.
 Example: Remote controls for televisions and some data transfer applications
between devices.

d. Satellite Communication
Uses satellites in geostationary orbits to relay data between ground stations.
 Speed and Range: Can cover large geographical areas and provide high-
speed communication. Subject to latency due to the distance signals must
travel.
 Example: Satellite internet services and global broadcasting.

Network Devices
Network devices are hardware components that facilitate communication and data
exchange within and between networks. Together, these devices ensure efficient and
reliable network operation.

1. Modem
 Function: Modem stands for Modulator/Demodulator. The modem is defined as
a networking device that is used to connect devices connected in the network to
the internet. The main function of a modem is to convert the analog signals that
come from telephone wire into a digital form.
 Usage: Connects your home network to the Internet via your ISP.

2. Ethernet Card
 Function: A hardware component that allows a computer to connect to a network
via Ethernet cables.
 Usage: Provides wired network connectivity for data transfer.

3. RJ45 Connector
 Function: A type of connector used for Ethernet cables. It has eight pins that
connect to the wires inside the cable.
 Usage: Commonly used to connect computers, routers, and other network devices.

4. Repeater
 Function: A network repeater is a device that amplifies or regenerates signals that
have been weakened or distorted.
 Usage: Used to boost the signal in long-distance networks, such as in larger
buildings or between network segments.
5. Hub
 Function: A network hub is a device that connects multiple computers or devices in
a local area network.
 Usage: Transmits data to all connected devices, regardless of which device the data
is meant for (broadcasting).

6. Switch
 Function: A switch is a device that connects multiple computers or devices in a local
area network and directs data only to the specific device it is intended for.
 Usage: More efficient than a hub because it reduces unnecessary data traffic and
increases network performance.

7. Router
 Function: A router is a device that directs data packets from source machine to
destination machine over the network using the shortest path.
 Usage: Manages local network traffic and connects your devices to the wider
Internet.

8. Gateway
 Function: The term Gateway is used in networking to describe the “Gate” to the
Internet. The Gateway controls traffic that travels from the inside network to the
Internet and provides security from traffic that wants to enter the inside network
from the Internet.
 Usage: Connects networks that use different protocols or architectures, such as
connecting a company’s internal network to the Internet.

9. Wi-Fi Card
 Function: Allows a computer or device to connect to a wireless network. It can be
internal ( build inside the device like mobile devices) or can be external usb device
that can be attached to any device to make it wifi capable like desktop computer.
 Usage: Provides wireless network access without the need for physical cables.

Types of Networks
Networks are categorized based on their size, scope, and the technology used to connect
devices.

1. Personal Area Network (PAN)


A small network designed for personal use, typically within a range of a few meters.
 Scope: Connects devices such as smartphones, tablets, and laptops in close
proximity, usually within a room or small area.
 Example: Bluetooth connections between a smartphone and wireless headphones or
a USB connection between a laptop and a printer.

2. Local Area Network (LAN)
A network that covers a small geographic area, such as a single building or campus.
 Scope: Connects multiple devices within a limited area, allowing them to share
resources like files, printers, and internet access.
 Example: A home network connecting computers, smart TVs, and printers or a
school network connecting computers in a lab.

3. Metropolitan Area Network (MAN)


A network that covers a larger geographic area than a LAN but smaller than a WAN,
typically within a city or a large campus.
 Scope: Used to connect multiple LANs within a city or town, enabling communication
between different locations.
 Example: A network linking various branch offices of a company within a city or a
public Wi-Fi network provided by a city.

4. Wide Area Network (WAN)


A network that spans a large geographic area, often covering multiple cities, countries, or
continents.
 Scope: Connects LANs and MANs across broad distances, enabling communication
on a global scale.
 Example: The Internet is the largest example of a WAN, connecting networks and
devices worldwide. A company’s global network that links offices in different
countries is another example.

Networking Topologies
Networking topologies refer to the pattern in which the devices in a network are connected

1. Bus Topology
In a bus topology, all devices are connected to a single central cable, called the backbone.
Data sent by a device travels along the bus and is received by all other devices.

Characteristics:
 Simplicity: Easy to set up and cost-effective for small networks.
 Performance: Can suffer from performance issues as more devices are added, due
to data collisions.
 Failure: If the central bus cable fails, the entire network is affected.
 Example: Early computer networks often used bus topology, such as the old
Ethernet networks.

2. Star Topology
In a star topology, all devices are connected to a central hub or switch. The hub acts as a
repeater for data transmitted from one device to another.
Characteristics:
 Centralized Management: Easy to manage and troubleshoot since all connections
are centralized at the hub.
 Performance: Better performance compared to bus topology because each device
has a dedicated connection to the hub.
 Failure: If the central hub fails, the entire network is affected, but individual device
failures do not impact the rest of the network.
 Example: Most modern office networks use star topology, with a central switch
connecting computers and printers.

3. Tree Topology
Tree topology combines characteristics of both star and bus topologies. The structure of the
network is like a tree, its best suited for applications having hierarchical flow of data.

Characteristics:
 Scalability: Supports expansion by adding new star-configured networks to the
backbone.
 Hierarchy: Organized in a hierarchical manner, making it easier to manage large
networks.
 Failure: A failure in the backbone can affect entire branches of the network, but
issues in individual star networks are isolated.
 Example: Large organizational networks often use tree topology, allowing for
multiple departments or floors to be connected in a structured manner.

Network Protocol
Network protocols define rules and conventions for communication between devices on a
network. Here’s a brief overview of some key protocols: HTTP, FTP, PPP, SMTP, TCP/IP,
POP3, HTTPS, TELNET, VoIP

1. HTTP (Hypertext Transfer Protocol)


HTTP, which stands for Hypertext Transfer Protocol, is a set of rules that governs how
information (like web pages) is exchanged between your computer (the client) and a web
server on the internet, essentially allowing you to access websites by sending requests and
receiving responses from the server
2. FTP (File Transfer Protocol)
File Transfer Protocol is a standard network protocol/set of rules that allows users to
transfer files between computers over a network. It allows users to upload and download
files from the server.

3. PPP (Point-to-Point Protocol)


Point-to-Point Protocol is a set of standard rules that allows two devices to directly connect
and exchange data over a dedicated link, like a dial-up connection, by establishing a secure
communication channel between them.

4. SMTP (Simple Mail Transfer Protocol)


Simple Mail Transfer Protocol is a set of standard rules that allows computers to send and
receive emails over the internet.
5. TCP/IP (Transmission Control Protocol/Internet Protocol)
TCP/IP, which stands for Transmission Control Protocol/Internet Protocol, is a set of rules
that allows computers and devices to communicate with each other across networks like
the internet, by breaking data into packets and ensuring they reach the correct destination
reliably
Ensures reliable, ordered, and error-checked delivery of data between devices.

6. POP3 (Post Office Protocol version 3)


Post Office Protocol version 3 (POP3) is a standard way to receive emails from an email
server by the client. It's a one-way protocol that downloads emails from the server to the
client's computer.

7. HTTPS (Hypertext Transfer Protocol Secure)


HTTPS, which stands for Hypertext Transfer Protocol Secure, is a secure version of the HTTP
protocol that encrypts data sent between a user's web browser and a website to ensure
data privacy and security
8. TELNET
Telnet is a network protocol that allows users to remotely access and control a computer or
device through a command-line interface

9. VoIP (Voice over Internet Protocol)


A VoIP protocol, which stands for "Voice over Internet Protocol" protocol, is a set of rules
that allows users to make phone calls over the internet using their broadband connection
instead of traditional phone lines Services like Skype or Zoom for making voice or video
calls.

Introduction to Web Services


Web services are technologies that enable different applications or systems to
communicate with each other over the Internet. They are fundamental to how data and
services are accessed and shared across the web.

World Wide Web (WWW)


The World Wide Web is a system of interlinked hypertext documents and multimedia
content accessed via the Internet using web browsers.
Components:
 Web Browsers: Software like Chrome, Firefox, and Safari that allows users to view
and interact with web content.
 Web Servers: Computers that host websites and deliver web pages to users'
browsers upon request.
 Web Pages: Documents that are linked together through hyperlinks and displayed in
a web browser.
 Example: When you search for information on Google and click on a link, you’re
accessing a web page through the WWW.

Hypertext Markup Language (HTML)


HTML is the standard language used to create and design web pages. It provides the
structure and content of a web page using a set of tags and attributes.
Components:
 Tags: HTML uses tags to define elements like headings, paragraphs, links, and
images. Tags are enclosed in angle brackets (e.g., <h1>, <p>, <a>).
 Attributes: Tags can include attributes to provide additional information (e.g., <a
href="[Link]
 Elements: An HTML document is made up of elements, which include an opening
tag, content, and a closing tag (e.g., <p>This is a paragraph.</p>).
 Example: The basic structure of an HTML document includes elements like the <!
DOCTYPE html>, <html>, <head>, and <body> tags. A simple HTML page might
look like this:
<!DOCTYPE html>
<html>
<head>
<title>My First Web Page</title>
</head>
<body>
<h1>Hello, World!</h1>
<p>Welcome to my first web page.</p>
</body>
</html>

Extensible Markup Language (XML)


XML (Extensible Markup Language) is a flexible and widely-used format for organizing and
structuring data in a way that is both human-readable and machine-readable. It is designed
to store and transport data, making it a key technology for data interchange between
systems.
Key Features of XML
 Self-Descriptive: XML documents are both human-readable and machine-readable.
The tags used in XML are descriptive, which helps convey the meaning of the data.
 Hierarchical Structure: XML organizes data in a tree-like structure with nested
elements. This makes it easy to represent complex relationships between pieces of
data.
 Extensible: XML allows users to define their own tags and data structures, making it
highly customizable to fit different needs.
 Standardized: XML is a W3C (World Wide Web Consortium) standard, ensuring
compatibility and consistency across different platforms and applications.
Basic Structure of an XML Document
 Declaration: The XML declaration specifies the XML version and the character
encoding used. It is optional but recommended.
<?xml version="1.0" encoding="UTF-8"?>
 Root Element: An XML document must have a single root element that contains all
other elements. It represents the top level of the hierarchy.
<library>
<!-- Other elements go here -->
</library>
 Child Elements: These elements are nested within the root element and can contain
other elements or data.
<book>
<title>XML Basics</title>
<author>John Doe</author>
<year>2024</year>
</book>
 Attributes: Elements can have attributes that provide additional information.
Attributes are specified within the opening tag of an element.
<book id="001">
<title>XML Basics</title>
<author>John Doe</author>
<year>2024</year>
</book>
Example of an XML Document
Here’s a simple XML document representing a list of books:
<?xml version="1.0" encoding="UTF-8"?>
<library>
<book id="001">
<title>XML Basics</title>
<author>John Doe</author>
<year>2024</year>
</book>
<book id="002">
<title>Advanced XML</title>
<author>Jane Smith</author>
<year>2025</year>
</book>
</library>

Domain Names
A domain name is a human-readable address used to identify a website or online resource
on the Internet. It translates numeric IP addresses into a format that is easy for people to
remember.
Domain Name
Structure:
 Top-Level Domain (TLD): The suffix at the end of a domain name, such
as .com, .org, or .net. TLDs indicate the type or origin of the site.
 Second-Level Domain: The part directly before the TLD, often representing the
name of the organization or the website. For example, in [Link], "example" is
the second-level domain.
 Subdomain: An optional prefix before the second-level domain that further divides
the domain into sections. For instance, in [Link], "blog" is the
subdomain.
 Example: In [Link], "example" is the second-level domain, and ".com"
is the TLD.

URLs (Uniform Resource Locators)


A URL is a specific type of Uniform Resource Identifier (URI) that provides the address of a
resource on the Internet and specifies the protocol to be used for accessing it.
Structure:
 Protocol: Indicates the method used to access the resource, such as [Link] [Link]
[Link]
 Domain Name: Specifies the domain where the resource is hosted.
 Path: Indicates the specific location of the resource on the server. It usually follows
the domain name and is separated by slashes.
 Query Parameters (optional): Provide additional information to the server, starting
with a question mark and followed by key-value pairs separated by ampersands.
 Fragment (optional): Refers to a specific section within the resource, starting with a
hash symbol (#).

Uniform
Resource Locator
Example:
[Link]
 Protocol: https://
 Domain Name: [Link]
 Path: /path/to/resource
 Query Parameters: name=value
 Fragment: #section

Website
Definition: A collection of web pages and related content, typically hosted on a web server,
and accessible via the Internet. Websites can include text, images, videos, and interactive
elements.
Components:
 Web Pages: Individual documents that make up a website, usually written in HTML
and styled with CSS.
 Domain Name: The address used to access the website (e.g., [Link]).
 Content: Includes text, images, videos, and other media displayed on the web
pages.
 Example: [Link] is a website that might contain an about page, a blog,
and a contact form.

Web Browser
A software application used to access and view websites and web pages. Web browsers
interpret and display HTML, CSS, and JavaScript content.
Features:
 User Interface: Provides navigation controls like the address bar, back/forward
buttons, and bookmarks.
 Rendering Engine: Processes HTML and CSS to render web pages visually.
 Security: Offers features like private browsing and protection against malicious
sites.
 Examples: Google Chrome, Mozilla Firefox, Microsoft Edge, Safari.

Web Server
A computer system or software that stores, processes, and serves web pages to clients
(web browsers) over the Internet. It responds to requests from browsers and delivers the
requested content.

Functions:
 Hosting: Stores website files and resources.
 Serving Content: Processes incoming requests and sends the appropriate web
pages or data.
 Handling Requests: Uses protocols like HTTP/HTTPS to communicate with web
browsers.
 Examples: Apache HTTP Server, Nginx, Microsoft Internet Information Services (IIS).

Web Hosting
A service that provides the technology and infrastructure needed to host a website on the
Internet. It involves renting space on a server where your website’s files are stored. Any
web application or website is typically made of many files, such as images, videos, text, and
code, that you need to store on special computers called servers. The web hosting service
provider maintains, configures, and runs physical servers that you can rent for your files
Types:
 Shared Hosting: Multiple websites share the same server resources, which is cost-
effective but can affect performance.
 VPS Hosting: Virtual Private Server hosting offers more resources and control than
shared hosting by partitioning a server into virtual machines.
 Dedicated Hosting: Provides an entire server exclusively for one website, offering
maximum control and performance.
 Cloud Hosting: Uses a network of servers (the cloud) to host websites, providing
scalability and flexibility.
 Example: Companies like Bluehost, HostGator, and SiteGround provide web hosting
services where you can upload and manage your website’s files.

You might also like