Computer Network
Computer Network
Computer Network
COMPUTER NETWORKS
XII INFORMATICS PRACTICES
CHAPTER 7
INTRODUCTION TO
COMPUTER NETWORKS
XII INFORMATICS PRACTICES
COMPUTER NETWORK
■ The collection of interconnected computers is called a computer network. Two
computers are said to be interconnected if they are capable of sharing and
exchanging information
■ A computer network is a group of computers linked to each other that
enables the computer to communicate with another computer and share their
resources
Advantages
■ Facilitate communication through email /
instant messaging or any other mode.
■ hardware devices like a printer or scanner
■ Enable file sharing
■ Share software or operating programs
■ Share information
■ Reliability Factor - means to keep the copy
of a file on two or more different machines,
so if one of them is unavailable then its
other copy can be used.)
■ Cost Factor - Cost factor means it greatly
reduces the cost since the resources can be
shared
Basic Terminology
■ Nodes (Workstations):- The term nodes refer to the computers that are
attached to a network and are seeking to share the resources.
■ Server:- A computer that facilitates the sharing of data, software and
hardware resources on the network.
■ MAC Address: A (Media access Control) address is a hardware identification
number that uniquely identifies each device on a network (assigned to a NIC
by the manufacturer).
■ IP Address: Each computer on internet is identified by a unique number called
IP Address. E.g: 192.168.1.1
PAN
■ A modem (modulator/demodulator)
is a hardware device that allows a
computer to send and receive
information over telephone lines.
When sending a signal, the modem
converts (modulates) digital data to
an analog signal and transmit it over
a telephone line. Similarly when an
analog signal is received, the modem
converts it back (demodulates) to a
digital signa
HUB
■ HUB is used to connect multiple computers in a single LAN network of one
workgroup. Generally HUBs are available with 4,8,12,24,48 ports. When a hub
receives signal on its port, it repeats the signal and forwards that signal from
all ports except the port on which the signal arrived. In below diagram
leftmost node try to send signal to rightmost node ,but signals are distributed
to all ports(nodes).
■ There are two types of HUB
– Passive HUB:- It only forwards the signal on all ports without amplifying
the signal.
– Active HUB:- it forwards the signal with improvement in the quality of
data signal by amplifying it. That why such hubs need additional power
supply.
Switch
■ Switch is also used to connect multiple computers together in a LAN
workgroup, just like hub. Switches are available with 4,8,12,24,48,64 ports.
Switch makes their switching decisions by using application specific integrated
circuits (ASICs).Due to switching decision capability, switch sends signal to
recipient only and that’s why switches are called as intelligent hub. In below
diagram leftmost node sending signal to rightmost node.
Repeater
■ Repeater – In a network signal travels a long distance in transmission media.
Due to resistance of media signal becomes weak. Repeater is a networking
device which regenerates the signal and forwards these signal with more
power.
■ Usually you need a repeater when the total length of a single span of network
cable exceeds 100 meters
Router
■ Router is a networking device which
chooses the best optimal path from
available pats to send the signals. It
interconnects different networks. The
simplest function of a router is to
received packets from one connected
network and pass them to second
connected network
■ Responsible for finding the shortest
route, based on an internal routing table
and the address of the destination
network in the incoming packet, the
router determines whether to send the
packet out (in other network) or keep it
or forward within the own network.
Gateway
■ A gateway is a device that connects dissimilar networks
■ It is capable to convert protocols so that two different network architecture based
system can communicate with each other. It works as protocol convertor.
NIC & RJ45
■ NIC(Network Interface Card – This is at top■ RJ-45 (Registered Jack – 45) is an eight
among other networking devices and wired connector that is used to connect
mostly used networking device. This is computers on a local area network (LAN),
also known as network adapter card, especially Ethernet.
Ethernet Card and LAN card. It allows our
PC to communicate with other PCs.
Network Topology
■ Star Topology
■ Bus Topology
■ Tree Topology
■ Mesh Topology
■ Ring Topology
■ Hybrid Topology
STAR
■ A STAR topology is based on a central node which acts as a hub. In star
topology each node is directly connected to a Hub/Switch.
■ Advantages:
– Easy to troubleshoot
– A single node failure does not affect the entire network.
– Fault detection and removal of faulty parts is easier.
■ Disadvantages:-
– In case hub fails, the entire network stop working.
– Difficult to expand.
– Longer cable is required.
– The cost of the hub and the longer cables makes it little expensive over
others.
BUS
■ Bus topology is a topology for a Local Area Network (LAN) in which all the nodes are
connected to a single cable(backbone cable). The starting and ending point of cable is
called terminator.
■ ADVANTAGES
– It is easy to install.
– It requires less cable length and hence it is cost effective.
– Failure of a node does not affect the network.
■ DISADVANTAGES T T
– In case of cable or terminator fault, the entire network breaks down.
– At a time only one node can transmit data.
– Not suitable for large number of computers.
TREE
■ Tree topology is a combination of bus and star topologies. It is used to combine
multiple star topology networks. All the stars are connected together like a bus using
backbone cable.
■ Advantages of Tree Topology
– Ideal if workstations are located in groups.
– Extension of bus and star topologies.
– Expansion of nodes is possible and easy.
– Easily managed and maintained.
■ Disadvantages of Tree Topology
– Heavily cabled.
– Costly.
– If more nodes are added maintenance is difficul t.
– Central hub fails, network fails.
MESH
■ Mesh topology is a group of nodes which are all
connected to each other and many types of connections
are possible in a mesh topology.
■ Advantage of Mesh Topology
– Most Reliable Network
– Better security due to dedicated lines
– The arrangement of the network nodes is such that
it is possible to transmit data from one node to
many other nodes at the same time.
– Fault is diagnosed easily.
■ Disadvantage of Mesh Topology
– Installation and configuration is difficult.
– Cabling cost is more.
– Bulk wiring is required.
RING & HYBRID
■ In ring topology every computer is ■ Hybrid topology use a combination of any
connected to the next computer in the ring two or more topologies in such a way that
and each transmit the signal ,what it the resulting network does not exhibit one
receives from the previous computer. The of the standard topologies (e.g., bus, star,
messages flow around the ring in one ring, etc.)
direction.
DESIGNING NETWORK
■ The network layout can be best which provide less installation and
maintenance cost as well as easy installation and maintenance. It is only
possible when it is properly designed, design with shortest cable length and
fulfil our network requirements.
■ Server location can be decided by seeing the number of computers/nodes
required in each block of network. Server must be installed at the wing/block
with Maximum number of Computers due to maximum load/requirement of
services in that block in whole network
■ We need a repeater when the total length of a single span of network
cable(Twisted pair) exceeds 100 meters (328 feet). We need a repeater when
the total length of a single span of network cable(Coaxial cable) exceeds 500
meters.
■ Satellite link is required when network blocks/wings are too much far from
each other or where installation of cable is hard.
■ For data security, firewall can be installed in network.
CASE STUDY
QUESTION
SAMPLE
CHAPTER 8
INTRODUCTION TO
INTERNET & WEB
XII INFORMATICS PRACTICES
INTERNET
Internet (INTERconnection NETwork): The Internet is a worldwide network of
computer networks. It is not owned by anybody. The internet has evolved from
ARPANET. ARPANET (Advanced Research Projects Agency NETwork): In 1969, The US
govt. formed an agency named ARPANET to connect computers at various
universities and defence agencies. The internet is a globally connected network
system that utilizes TCP/IP to transmit information.
TCP/IP
Transmission control
Protocol and Internet
Protocol
ARPANET was the network where the
Internet protocol suite, TCP/IP, was
developed and first used. NSFNET followed
behind ARPANET and was designed as a
network of research centres and
supercomputers communicating over a
TCP/IP network
■ The World Wide WEB (WWW) or ‘Web’ is a collection of Web Pages found
over the internet. Web browser uses the internet to access the ‘Web’.
■ The internet is a huge network of computers all connected together. Our web
browser uses the internet to access the web. The World Wide Web is a way of
exchanging information between computers on the Internet, tying them
together into a vast collection of interactive multimedia resources.
■ The World Wide Web is a system of interlinked hypertext documents accessed
via the Internet. With a web browser, one can view web pages that may
contain text, images, videos and other multimedia and navigate between them
via hyperlinks.
URL
■ URL stands for Uniform Resource Locator. A URL is nothing more than the
address of a given unique resource on the Web or address of a website. The
URL is an address that matches users to a specific resource online, such as
webpage.
■ The elements in a URL: Protocol://server's address/filename
■ Example: http://www.google.com/index.html
■ Example: https://apsasc.edu.in/?page_id=128
Protocol Path/File
/Page
Domain/Host/
Server Name
Chat
■ Chat: Chat may refer to any kind of communication over the Internet that
offers a real-time transmission of text messages from sender to receiver. Chat
messages are generally short in order to enable other participants to respond
quickly.
■ For each chat window a session is created at chat server to message send and
receive among the clients of common window. Each session works as a thread
at chat server. There may be multiple threads/chat session at chat server
■ Examples:
– MSN Messenger
– Yahoo Messenger
– IRC – Internet Relay Chat
– Pidgin
E-mail
■ The main difference between add-on and plug-in is that add-on is not a complete
program, it is generally used to add certain features or functionality to a
browser..Plug-ins, on the other hand, is complete program that is used in the time
of referring to any third-party software and used to interact with a certain
program.
Cookies
cookies are small files which are stored on a user’s computer and contains
information like which Web pages visited in the past, logging details Password
etc. They are designed to hold a modest amount of data specific to a particular
client and website and can be accessed by the web server or the client
computer.
■ Cookies store your login state. Without them, you wouldn’t be able to log into
websites. Websites use cookies to remember and identify you.
■ Cookies store preferences on websites. You couldn’t change settings and have
them persist between page loads without cookies.
■ Cookies allow websites to provide personalized content. For example, if
you’re shopping on Amazon, Amazon can remember the products you’ve
browsed and recommend similar products – even if you’re not logged in.
Browser Settings
■ Internet browser has settings you can
change, including privacy options, search
engine preferences, autofill and
autocomplete behavior, and more.
– Font and Sizing -
chrome://settings/fonts
– Review Passwords -
chrome://settings/passwords
– Customize Startup Pages -
chrome://settings/onStartup
■ Mozilla firefox browser settings –
– Homepage,font&color,downloads
– Searchbar and search engine
– Forms,passwords,history,cookies,secu
rity
How to enable/Disable Cookies
■ At the top right, click More. Settings.
■ Under "Privacy and security," click Site settings.
■ Click Cookies.
■ From here, you can: Turn on cookies