Null
Null
UNIT II
COMPUTER NETWORKS
NETWORK
A network is a collection of interlinked nodes by means of a communication
system.
Need / Advantages / application of network
1.Resource sharing: Programs, data and peripherals can be shared to
anyone on the network irrespective of the physical location of the resources
2.Reliability: A file can be copied in 2 or 3 different computers, so that if
one system crashes , the file is available in another system.
3.Reduced overall cost :It greatly reduces the cost since the resources can
be shared. PC’s have better price, data can be stored in the file server
machine.
4.Communication medium: The changes at one end can be noticed at
another and hence it speeds up the cooperation among them.
Disadvantages of networks
a)File security
b)If networks are badly managed
c)If files and software are held centrally if the server fails
d)Some networks can be complicated and cost also will increase to manage
it.
ARPANET
(Advanced Research Projects Agency NETwork)
In 1969, the US govt. formed an agency named ARPANET (Advanced
Research Projects Agency NETwork) to connect computers at different
universities and US defense.
NSF Net
* The National Science Foundation created a new, high capacity network
called NSF net which was more capable than ARPANET. NSF net allowed
only the academic research on its network.
INTERNET (INTERconnection NETwork)
* The internet is a worldwide network of computer networks. It connects
many smaller networks together and allows all the computers to exchange
2
3 Name two switching techniques used to transfer data between two terminals
(computers). (1mk)(2009)
7
4
Data channel
A channel is the medium used to carry information or data from one point to
another.
Bandwidth
The amount of data that can be transmitted in a fixed amount of time is
known as bandwidth.
For digital devices , the bandwidth is usually expressed in bits per
second(bps) or bytes per second .For analog devices, the bandwidth is
expressed in cycles per second ie Hertz (Hz).
Kilohertz – thousand cycles per second
Megahertz – thousand KHz
Gigahertz – thousand MHz
5
TRANSMISSION MEDIA
The cables that connect 2 or more work stations are the communication channels
or transmission media.
* Guided media include cables (Twisted pair cables , coaxial cable, optical fibre)
* Unguided media include waves through air, water or vacuum.(Radio wave,
Microwave, Infrared, Satellite)
GUIDED MEDIA
1.Twisted pair Cable
6
2.Coaxial Cable
* a solid wire core surrounded by one or more foil or wire shields, each
separated by some kind of plastic insulator.
* The cable is finally surrounded in a water proof, flexible sheath
* It is widely used for television signals
Advantages
* The data transmission characteristics of coaxial cables are considerably better
than those of twisted pair cables.
* used as the basis for a shared cable network
* used for broadband transmission, several channels can be transmitted
simultaneously.
* Offer higher bandwidth upto 400 Mbps
Disadvantages
* Expensive compared to twisted pair
* Coaxial cables are not compatible with twisted pair cables.
7
3.Optical fibres
UNGUIDED MEDIA
1.Radio wave –
2.Microwave
Frequency ( 300 MHz – 300 GHz).Microwave signals are used to transmit data
without the use of cables. It is a direct line of sight transmission. The waves
travel in straight lines . It cannot penetrate any solid object. It is used for
wideband communications systems.
The microwave transmission consists of a transmitter, receiver and the
atmosphere. The transmitting and receiving antennas have to be aligned each
other.
Advantages
* If offers ease of communication over difficult terrain.
* microwave have the ability to communicate over oceans
* Cheaper than digging and laying cables
* Freedom from land acquisition
* Ease of communication over difficult terrain
Disadvantages
* It is an insecure communication
9
3.Infrared
NETWORK DEVICES
1.MODEM
Internal modem External modem
It is a computer peripheral that allows you to connect & communicate with other
computers via telephone lines. A device which converts digital signal to analog
& vice versa. (modulator/demodulator)
Modulation is the process of sending data on a wave.
Modems come in 2 varieties:
11
4.Ethernet Card: Ethernet cards are either built in or external devices that allow
you to physically connect a Ethernet LAN cable to a network. The function is to
allow your computer to receive a network address (called an IP address) so the
computer can successfully communicate on the network and perhaps even access
the Internet via the LAN.
5.HUB
6.SWITCH
7.REPEATER
A repeater is a network device that amplifies and restores signals for long
distance transmission.
8.GATEWAY
10.WiFi CARD
WiFi cards are small , easily portable cards that allow your desktop or laptop
computer the capability to connect to the internet through a wireless network .
TYPES OF NETWORKS
Networks vary in size, complexity and geographical spread.
Classification on the basis of geographical spread.
NETWORK TOPOLOGIES
The pattern of interconnection of nodes in a network is called the topology.
Advantages Disadvantages
* Short cable length Fault diagnosis is
difficult
* Simple wiring layout Fault isolation is difficult
* Resilient architecture Repeater configuration
* Easy to extend Nodes must be intelligent
2.Star topology
Each workstation is directly linked to a central node. Any communication
between the stations must pass through the central node.
Advantages Disadvantages
* Easy of service Long cable length
* One device per connection Difficult to expand
* Central control Central node
dependency
* Problem diagnosis is easy
3.Tree topology
The network is shaped as an inverted tree with the central root branching and
sub-branching to the extremities of the network.
16
Advantages Disadvantages
* Short cable Node failure is network failure
length
* Easy to More difficult to configure & wire
expand/extend than other topologies
* Isolation fault detection is difficult
1 Differentiate between PAN and LAN types of networks. (1mk) (2016)
2 Illustrate the layout for connecting 5 computers in a Bus and a Star
topology of networks. (1mk) (2015)
3 Which type of network (out of LAN, PAN and MAN) is formed, when
you connect two mobiles using Bluetooth to transfer a video? (1mk)
(2014)
4 Write one advantage of BUS Topology of network. Also, illustrate how
4 computers can be connected can be connected with each other using
star topology of network.(1mk)(2012)
5 In networking , what is WAN? How is it different from
LAN?(1mk)(2011)(2009)
6 Write any 1 advantage and 1 disadvantage of BUS
topology.(1mk)(sp2015)
8 Daniel has to share the data among various computers of his 2 offices
branches situated in the same city. Name the network(out of LAN,
WAN, PAN and MAN) which is being formed in this process. (2017
sp).
NETWORK PROTOCOLS
A network protocol is a set of rules for communication among networked
devices. Protocol generally includes rules of how and when a device can send or
receive the data.
REMOTE LOGIN
Remote login means to connect the network at a remote station without any
network. This remote login takes place through Telnet.
5.Telnet
Telnet is a network application that is used to login to one computer on the
internet from another.
9. https: HTTPS stands for Hypertext Transfer Protocol Secure. It is the protocol
where encrypted HTTP data is transferred over a secure connection. By using
secure connection ,the privacy and integrity of data are maintained and
authentication of websites is also validated.
Some examples of sites that use HTTPS include banking and investment
websites, e-commerce websites etc
2 Write the expanded names for the following abbreviated terms used in
Networking and Communications: (2 Mk) (2019) i)Mbps ii)WAN
3 Which protocol helps us to transfer files to and from a remote computer?
(1mk) (2016)
4 What is the difference between HTTP and FTP? (1mk) (2013)
5 Expand the abbreviation : HTTP (1/2 mk)(2009)
6 What is protocol? Which protocol is used to copy a file from / to a remotely
located server? (1 mk)(2009)
7 Name the protocol (1mk)(sp 2015)
Used to transfer voice using packet switched network
(Ans) VOIP (Voice Over Internet Protocol)
9 What is HTTP? (1mk)(sp 2015)
13
WEB SERVICES
www – World Wide Web is a system of Internet servers that supports hypertext
to access several internet protocols on a single interface.
HTML- Hyper Text Markup Language is a document layout and hyperlink
specification language for developing web pages. HTML is made up of tags.
XML-eXtensible Markup Language which allows to create application specific
structured documents by allowing creation of new tags. These structured
20
URL - Uniform Resource Locator, Each file on the internet has a unique address
called URL
Eg)
Web Server- Web servers are computers that deliver (serves up) Web pages.
Every Web server has an IP address and possibly a domain name.
Web Hosting-Web hosting is the process of storing a web site on a web server
and it is accessible on the internet.
1 Give one suitable example of each URL and Domain Name (1mk)(2012)
21