Computer network comprehensive notes, Study notes of Computer science

In my upload I have summarized the content and into understandable notes one can read and get the point. I have included notes on computer networks and notes about transmission media.

Typology: Study notes

2022/2023

Uploaded on 07/07/2023

heavenly-shiners
heavenly-shiners 🇰🇪

1 document

1 / 9

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
COMPUTER NETWORK
A computer network is a communications system connecting two or more computers that work
to exchange information and share resources (hardware, software and data). A network may
consist of microcomputers, or it may integrate microcomputers or other devices with larger
computers. Networks may be controlled by all nodes working together equally or by specialized
nodes coordinating and supplying all resources. Networks may be simple or complex, self-
contained or dispersed over a large geographical area.
Network architecture is a description of how a computer is set-up (configured) and what
strategies are used in the design. The interconnection of PCs over a network is becoming more
important especially as more hardware is accessed remotely and PCs intercommunicate with
each other.
3.1 Terms used to describe computer networks
Node any device connected to a network such as a computer, printer, or data storage
device.
Client a node that requests and uses resources available from other nodes. Typically a
microcomputer.
Server – a node that shares resources with other nodes. May be called a file server, printer
server, communication server, web server, or database server.
Network Operating System (NOS) the operating system of the network that controls and
coordinates the activities between computers on a network, such as electronic
communication and sharing of information and resources.
Distributed processing computing power is located and shared at different locations.
Common in decentralized organizations (each office has its own computer system but is
networked to the main computer).
Host computer – a large centralized computer, usually a minicomputer or mainframe.
3.2 Types of computer networks
Different communication channels allow different types of networks to be formed. Telephone
lines may connect communications equipment within the same building. Coaxial cable or fiber-
optic cable can be installed on building walls to form communication networks. You can also
create your own network in your home or apartment. Communication networks also differ in
geographical size.
Three important networks according to geographical size are LAN, MAN and WAN.
Local Area Network (LAN)
A LAN is a computer network in which computers and peripheral devices are in close physical
proximity. It is a collection of computers within a single office or building that connect to a
common electronic connection – commonly known as a network backbone. This type of network
typically uses microcomputers in a bus organization linked with telephone, coaxial, or fibre-optic
cable. A LAN allows all users to share hardware, software and data on the network.
Minicomputers, mainframes or optical disk storage devices can be added to the network. A
network bridge device may be used to link a LAN to other networks with the same configuration.
A network gateway device may be used to link a LAN to other networks, even if their
configurations are different.
Metropolitan Area Network (MAN)
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Computer network comprehensive notes and more Study notes Computer science in PDF only on Docsity!

COMPUTER NETWORK

A computer network is a communications system connecting two or more computers that work

to exchange information and share resources (hardware, software and data). A network may

consist of microcomputers, or it may integrate microcomputers or other devices with larger

computers. Networks may be controlled by all nodes working together equally or by specialized

nodes coordinating and supplying all resources. Networks may be simple or complex, self-

contained or dispersed over a large geographical area.

Network architecture is a description of how a computer is set-up (configured) and what

strategies are used in the design. The interconnection of PCs over a network is becoming more

important especially as more hardware is accessed remotely and PCs intercommunicate with

each other.

3.1 Terms used to describe computer networks

 Node – any device connected to a network such as a computer, printer, or data storage

device.

 Client – a node that requests and uses resources available from other nodes. Typically a

microcomputer.

 Server – a node that shares resources with other nodes. May be called a file server, printer

server, communication server, web server, or database server.

 Network Operating System (NOS) – the operating system of the network that controls and

coordinates the activities between computers on a network, such as electronic

communication and sharing of information and resources.

 Distributed processing – computing power is located and shared at different locations.

Common in decentralized organizations (each office has its own computer system but is

networked to the main computer).

 Host computer – a large centralized computer, usually a minicomputer or mainframe.

3.2 Types of computer networks

Different communication channels allow different types of networks to be formed. Telephone

lines may connect communications equipment within the same building. Coaxial cable or fiber-

optic cable can be installed on building walls to form communication networks. You can also

create your own network in your home or apartment. Communication networks also differ in

geographical size.

Three important networks according to geographical size are LAN, MAN and WAN.

Local Area Network (LAN)

A LAN is a computer network in which computers and peripheral devices are in close physical

proximity. It is a collection of computers within a single office or building that connect to a

common electronic connection – commonly known as a network backbone. This type of network

typically uses microcomputers in a bus organization linked with telephone, coaxial, or fibre-optic

cable. A LAN allows all users to share hardware, software and data on the network.

Minicomputers, mainframes or optical disk storage devices can be added to the network. A

network bridge device may be used to link a LAN to other networks with the same configuration.

A network gateway device may be used to link a LAN to other networks, even if their

configurations are different.

Metropolitan Area Network (MAN)

A MAN is a computer network that may be citywide. This type of network may be used as a link

between office buildings in a city. The use of cellular phone systems expand the flexibility of a

MAN network by linking car phones and portable phones to the network.

Wide Area Networks (WAN)

A WAN is a computer network that may be countrywide or worldwide. It normally connects

networks over a large physical area, such as in different buildings, towns or even countries. A

modem connects a LAN to a WAN when the WAN connection is an analogue line.

For a digital connection a gateway connects one type of LAN to another LAN, or WAN, and a

bridge connects a LAN to similar types of LAN. This type of network typically uses microwave

relays and satellites to reach users over long distances. The widest of all WANs is the Internet,

which spans the entire globe.

WAN technologies

How you get from one computer to the other across the Internet.

 Circuit switching

 A dedicated path between machines is established

 All resources are guaranteed

 Has limitation of set-up delay but has fast transmission

 Packet switching

 Nodes in the network ‘routers’ decide where to send data next

 No resources are guaranteed “best effort”

 Little set-up, transmission delay at each router

 Computer-computer communication

 Frame relay

 Like packet switching

 Low level error correction removed to yield higher data rates

 Cell relay – ATM (Asynchronous Transmission Mode)

 Frame relay with uniformly sized packets (cells)

 Dedicated circuit paths

 ISDN (Integrated Services Digital Network)

 Transmits voice and data traffic

 Specialized circuit switching

 Uses frame relay (narrowband) and ATM (broadband)

3.3 Configurations

A computer network configuration is also called its topology. The topology is the method of

arranging and connecting the nodes of a network. There are four principal network topologies:

a) Star

b) Bus

c) Ring

d) Hierarchical (hybrid)

e) Completely connected (mesh)

Star network

In a star network there are a number of small computers or peripheral devices linked to a

central unit called a main hub. The central unit may be a host computer or a file server. All

communications pass through the central unit and control is maintained by polling. This type of

network can be used to provide a time-sharing system and is common for linking

microcomputers to a mainframe.

Advantages:

 Ring networks offer high performance for a small number of workstations or for larger

networks where each station has a similar work load

 Ring networks can span longer distances than other types of networks

 Ring networks are easily extendable

Disadvantages

 Relatively expensive and difficult to install

 Failure of one component on the network can affect the whole network

 It is difficult to troubleshoot a ring network

 Adding or removing computers can disrupt the network

Hierarchical (hybrid) network

A hierarchical network consists of several computers linked to a central host computer. It is

similar to a star. Other computers are also hosts to other, smaller computers or to peripheral

devices in this type of network. It allows various computers to share databases, processing

power, and different output devices. It is useful in centralized organizations.

Advantages:

 Improves sharing of data and programs across the network

 Offers reliable communication between nodes

Disadvantages:

 Difficult and costly to install and maintain

 Difficult to troubleshoot network problems

Completely connected (mesh) configuration

Is a network topology in which devices are connected with many redundant interconnections

between network nodes.

Advantages:

 Yields the greatest amount of redundancy (multiple connections between same nodes) in

the event that one of the nodes fail where network traffic can be redirected to another

node.

 Network problems are easier to diagnose

Disadvantages

 The cost of installation and maintenance is high (more cable is required than any other

configuration)

3.4 Client/Server environment

Use of client/server technology is one of the most popular trends in application development.

More and more business applications have embraced the advantages of the client/server

architecture by distributing the work among servers and by performing as much computational

work as possible on the client workstation. This allows users to manipulate and change the data

that they need to change without controlling resources on the main processing unit.

In client/server systems, applications no longer are limited to running on one machine. The

applications are split so that processing may take place on different machines. The processing

of data takes place on the server and the desktop computer (client). The application is divided

into pieces or tasks so processing can be done more efficiently.

A client/server network environment is one in which one computer acts as the server and

provides data distribution and security functions to other computers that are independently

running various applications. An example of the simplest client/server model is a LAN whereby a

set of computers is linked to allow individuals to share data. LANs (like other client/server

environments) allow users to maintain individual control over how information is processed.

Client/server computing differs from mainframe or distributed system processing in that each

processing component is mutually dependent. The ‘client’ is a single PC or workstation

associated with software that provides computer presentation services as an interface to server

computing resources. Presentation is usually provided by visually enhanced processing software

known as a Graphical User Interface (GUI). The ‘server’ is one or more multi-user computer(s)

(these may be mainframes, minicomputers or PCs). Server functions include any centrally

supported role, such as file sharing, printer sharing, database access and management,

communication services, facsimile services, application development and others. Multiple

functions may be supported by a single server.

 Maximum connecting points/node capacity: - If fiber optic is used as communication channel with Ethernet then up to 75 nodes can be easily connected/installed.  Mode of Transmission: - Fiber Optic supports half duplex mode of transmission. In half duplex mode of transmission, transmission is possible in both direction, but only one direction at a time. Advantage:  This media is superior than any other media use to connect network resources physically.  The Bandwidth of this media is higher than any other media.  This cable cannot be easily getting noisy.  This media is lighter than any other media.  Signal cannot be leakage.  Greater immunity to tapping. Disadvantage:  Fiber Optics required high skilled people to use.  It doesn’t support two ways communication at a time.  Cost of this cable is much higher than any other cable.  Unidirectional light propagation.  Installation and maintenance is typical.

2. Unguided Media – The media in which signal are not guided through a solid medium is called Unguided Media. For example Air is the media through which electromagnetic energy ca flow easily. There are several methods which are used to send electromagnetic energy through air:  Radio Waves – Electromagnetic waves ranging in frequency between 3 KHz and 1 GHz are called radio waves. Radio waves are omni-directional. When an antenna transmits radio waves, hey are propagated in all directional. This means that the sending and receiving antenna do not have to be aligned. Omni-directional properly has a disadvantage that radio waves transmitted by one antenna are susceptible interference by another antenna that may send signal using the same frequency or band. Radio waves are those wave that propagate in the sky mode can travel long distance broadcasting. Characteristics:  Have frequency between 10 KHz to 1 GHz.  Radio waves are easy to generate.  Radio waves are omni directional.  They can travel long distances.  They can penetrate buildings easily. Advantage:  Due to low and medium frequency it can penetrates walls, means AM radio can receive a signals inside a building. Disadvantage:  Due to low & medium frequency these can’t isolate a communication to just inside or outside a building. Application of radio waves:  Due to omni-directional characteristics of radio wave, it is use in AM and FM radio, TV, Maritime radio, Codeless phone and paging.  Microwaves – Electromagnetic waves having frequency between 1 GHz to 3 GHz are called microwaves. Microwaves are unidirectional when an antenna transmits microwaves, they can be narrowly focused. This means that the sending and receiving antenna need to be aligned. Microwave propagation is line of sight propagation. There are two types of antenna used for microwave communication: (i) Parabolic dish antenna – It is based on the geometry of parabolic in which every line is parallel to the line of symmetry or line of sight and reflects off the curve at angles such that on the lines intersect at a common point called the focus. The parabolic dish works as a funnel, catching a wide range of waves and directing them to a common point. In this way, more of the signal is recovered than would be possible with a single- point receiver. (ii) Horn antenna – It looks like a gigantic scoop. Outgoing transmissions are broadcast up a stem and deflected outward in a series of narrow parallel beams by the curved head. Received transmission is collected by the scooped shape of the horn and is deflected down into the same. Characteristics:

 Frequencies above 100 MHz.  Microwaves travel in straight line.  Microwaves are in expansive as compare to fiber optics system.  Microwaves communication is widely used for telephones, television redistribution etc.  Microwave system permit data transmission rate above about 16 GHz /sec.  Repeaters are used to extend the coverage area. Advantage:  A pair of antennas can be aligned without interfering with another pair of aligned antennas. Disadvantage:  Very high frequency microwaves can’t penetrate walls, if receivers are inside the building.  Uses of certain portions of band in microwaves require permission from authorities. Application:  Microwaves are used for uni-cast communication such as cellular telephones satellite networks and wireless LANs. Types of Microwave communication system: There are two types of microwave communication system:

1. Terrestrial: -  Such system used directional parabolic antennas to send and receives signals.  The signals are highly focused and the physical part must be line to sight.  Relay towards are used to extend the signals.  Frequency range between 21 to 23 GHz and 4 to 6 GHz.  Cost: - Short distance system can be inexpensive but long distance systems can be expensive.  Installation: - In Terrestrial microwave system line of sight maintain line of sight requirement can make installation difficult. Because antennas must be carefully aligned.  Bandwidth capacity: - Data rates are from 1 to 10 m bit/sec. 2. Satellite: -  Satellite microwave system transmits signals between directional parabolic antennas.  Such as also maintain line of sight.  One antenna is on a satellite in geo-synchronous orbit (The orbit where the speed of the satellite matches the earth’s rotation speed), about 36000 kms above the equator.  This allows a ground station to aim its antenna at a fixed point in the sky.  In satellite communication microwave communication at 6 GHz are transmitted from a transmitter on earth to a satellite position in space.  The signal reaches the satellite and it become weak due to the distance of 36,000 km traveled. The transponder in a satellite amplifies the weak signal and sends them back to the earth at a frequency of 4 GHz. These signals are received at a receiving station on the earth. Characteristics:  Frequency – Range: 4 GHz – 6 GHz and 11 GHz – 14 GHz  Cost – Building and launching such system is extremely expensive.  Installation – Extremely difficult and technical.  Bandwidth – High and it also depends on the frequency use. Advantage:  Satellite communication is a single broadcast or relay station visible from any point of a very large area on the earth.  Satellites used for national transmission are visible from all ports of the country.  Transmission and receiving costs are independent from the distance between these stations.  It makes high quality communication.  Maintenance cost is less. Disadvantage:  Initial setup cost is very high. Kepler’s Law: - It defines the period as a function of the distance of the satellite from the centre of the earth i.e. According to Kepler’s Law, Period = C(distance)3/ Where ‘C’ is a constant approximately equal to 1/100. ‘Period’ has a unit second.  Infrared and Millimetre Wave – In electromagnetic waves ranging in frequency between 3 GHz to 400 THz are called infrared.