Networking in Computer Science Notes For Advanced Level
Networking in Computer Science Notes For Advanced Level
LEVEL
a. Nework is connection
b. Networ is connection
c. Nework is connection
d. Nework is connection
e. Nework is connection
f. Nework is connection
NETWORKING
1. A computer network is a group of computer systems and other computing
hardware devices that are linked together through communication channels
to facilitate communication and resource-sharing among a wide range of
users.
2. A network consists of two or more computers that are linked in order to
share resources (such as printers and CDs), exchange files, or allow
electronic communications.
The computers on a network may be linked through cables, telephone lines,
radio waves, satellites, or infrared light beams.
Advantages of networking computers
• Facilitate communication via email, video conferencing, instant messaging, etc.
• Enable multiple users to share a single hardware device like a printer or scanner.
• Enable file sharing across the network.
• Allow for the sharing of software or operating programs on remote systems.
• Make information easier to access and maintain among network users.
• Expensive peripherals like printers and scanners can be shared between users.
• Messages can be sent easily and faster between users whether on WAN or LAN through
electronic mails.
• Avoids duplication of information as users can access the same file on the network.
• Network software can be purchased cheaply than buying individual packages for each
computer.
• It is possible to access data or programs from any terminal or workstation.
• Data and programs can be stored centrally making it easier to maintain and backup.
• Users can be easily prevented from accessing files not intended for them.
• Allows sharing of files, software and data held in computers.
• Allows emails to be sent between users.
Disadvantages of networking computers
• Easy spread of computer viruses through out the network.
• The development of long printer queues, which can be frustrating for users.
• Increased information security risks as compared to stand alone computers.
• Costly to set up the network.
• Sophisticated equipment is needed, like routers and switches, which may be
expensive to buy.
• Security of data can be a problem due to hacking.
• Wiring can be expensive both to buy and to install; wiring can be sunk on the
ground to avoid trailing cables.
• If a server breaks down, the whole network becomes unusable.
• Networks need experienced network managers, who will be highly paid to
keep the network running.
• As traffic increases, the performance of the network degrades, unless it is
properly designed.
Types of networks
Local Area Network (LAN)
A LAN is a network that is used for communicating among computer devices,
usually within an office building or home.
• LAN’s enable the sharing of resources such as files or hardware devices that
may be needed by multiple users.
• Is limited in size, typically spanning a few hundred meters, and no more than a
mile.
• Is fast, with speeds from 10 Mbps to 10 Gbps.
• Requires little wiring, typically a single cable connecting to each device
• LAN’s can be either wired or wireless. Twisted pair, coax or fibre optic cable
can be used in wired LAN’s.
• Every LAN uses a protocol –a set of rules that governs how packets are
configured and transmitted.
METROPOLITAN AREA NETWORK
• A metropolitan area network (MAN) is a large computer network that usually
spans a city or a large campus.
• A MAN is optimized for a larger geographical area than a LAN, ranging from
several blocks of buildings to entire cities.
• A MAN might be owned and operated by a single organization, but it usually
will be used by many individuals and organizations.
• A MAN often acts as a high speed network to allow sharing of regional
resources.
• A MAN typically covers an area of between 5 and 50 km diameter.
• Examples of MAN: Telephone company network that provides a high speed
DSL to customers and cable TV network.
WIDE AREA NETWORK
• WAN covers a large geographic area such as country, continent or even whole
of the world.
• A WAN is two or more LANs connected together. The LANs can be many
miles apart.
• To cover great distances, WANs may transmit data over leased high-speed
phone lines or wireless links such as satellites.
• Multiple LANs can be connected together using devices such as bridges,
routers, or gateways, which enable them to share data.
• The world's most popular WAN is the Internet.
Personal Area Network (PAN)
• A PAN is a network that is used for communicating among computers and
computer devices (including telephones) in close proximity of around a few
meters within a room.
• It can be used for communicating between the devices themselves, or for
connecting to a larger network such as the internet.
• PAN’s can be wired or wireless
The Open System Interconnection (OSI) model
• The OSI model is a communication model which was developed by the
International Standards Organisation (ISO).
• It was designed to allow computers from different manufacturers or origin to
be connected together for data and information sharing.
• It has seven layers, which are described as follows;
• The idea is that suppliers must produce hardware or software to implement
any of the seven layers.
• This promotes standardization.
The OSI model
Layer 7: Application layer
• Is where the user interacts with the computer.
• It defines how applications interface or access communication services , initiate
or accept a request, provide network applications like data transfer, messaging,
operating system functions etc.
• Communication partners are identified, quality of service is identified, user
authentication and privacy are considered.
• It provides a set of Application Programming Interfaces (APIs) for application
programs to access network resources such as file transfer and email.
• An API is a set of functions and commands that an application needs to create
links with various services on the network.
• This layer provides application services for file transfers, e-mail, and other
network software services. Telnet and FTP are applications that exist entirely in
the application level.
Layer 6: Presentation Layer
• It transforms data into a specific format for communication.
• This includes compression, e.g. MPEG for video compression as well as
encryption.
• Layer 6 Presentation examples include encryption, ASCII, EBCDIC, TIFF, GIF,
PICT, JPEG, MPEG, MIDI.
Layer 5: The Session Layer
• Initiates and terminates a communication session between two
communicating devices.
• A communication session consists of services requests and service
responses between stations.
• These requests and responses are coordinated by protocols implemented at
the session layer.
• It also determines the form of communication to be used ( simplex, half
duplex or full duplex) and regulates which station transmits, when and for how
long.
• Layer 5 Session examples include NFS, NetBios names, RPC, SQL.
Layer 4: The Transport Layer
• Accepts data from the session layer and breaks down large packets for
transportation across the network.
• It ensures end to end integrity of data packets during transmission ( it ensures
that data packets are delivered and arrive at their destination error free, in
sequence and with no losses or duplications).
• This is achieved through various means and verification of sequence numbers
for packets.
• 1. CSMA CD is used in wired LANs and CSMA CA used in wireless LANs and
other types of wireless networks.
• 2. CSMA CD is standardized in IEEE 802.3 and CSMA CA is standardized in
IEEE 802.11.
• 3. CSMA CD will not take steps to prevent transmission collision until it is
taken place whilst CSMA CA will take actions not to take place any collision
since the latter has no means of knowing whether a collision has taken place.
Layer 1: the physical layer
• Is the bottom layer of the OSI model.
• It specifies the type of communication media[ coaxial cable, twisted pair cable,
fibre optic cable] and timing signals for data.
• It provides the hardware means of sending and receiving data on a carrier,
including defining cables, cards and physical aspects.
• Fast Ethernet, RS232, and ATM are protocols with physical layer components.
• It also defines electrical specifications (minimum and maximum voltage
levels) for signals.
The TCP/IP model
• The TCP/IP model was created in the 1970s by the DARPA( Defence
Advanced Research Projects Agency).
• It was designed for use in ARPANET ( a wide area network which we now call
the Internet).
• TCP/IP was originally designed for Unix operating system, but it has been built
into all of the operating systems that came after Unix.
TCP/IP MODEL LAYERS
• It is divided into four layers.
• Each of which includes specific protocols.
Layer number Layer name
4 Application layer
3 Transport layer
Root node
Second Second
level level
domain domain