Computer Networks
Computer Networks
A Computer network is the interconnection of two or more computers and other devices for purposes of
sharing information and resources.
.The computers on a network must be linked by a medium such as cables, a wireless device or a
telecommunications system in order to exchange data.
.The network may be limited to a group of users in a local area local area network, or to a wide area
network covering several cities or regions, or the entire world in case of the Internet.
Reasons for Computer networks instead of standalone computers?
.To Allow users to share information,
.To enable sharing of software,
.To enable sharing of hardware.
.To enable communication between computer users through tools like e-mail.
.To enable data communication. i.e. transmission of electronic content over a given medium.
.To ensure security of data by putting in place administrative controls over the network.
.To share databases
Advantages of a computer network
.It Facilitates easy communications e.g. through Electronic mail
.It Reduces on cost by sharing hardware like printers and sharing software among network users since one
device is jointly used on the network instead of installing devices to each computer.
.it allows for tight control over who has access to data in the system
.It enables sharing of data and information stored on any other computer on the network.
.It enables online learning and collaborative research
.It allows access to free common databases and databanks like free software and ATM services.
.Software is easily upgraded on the network since it is done at ago on the server.
.Computer networks enable centralized administration, control and monitoring of individual users on the
network.
.Computer networks enable workgroup Computing. Workgroup software allows many users to work on a
document or project concurrently.
.Networks provide a very rapid method for sharing and transferring files instead of using time consuming
method of using movable disks to transfer data from one computer to the other.
.It enables flexible access. Users can log on and access their work from any workstation on the network.
The disadvantages of Networks
.high Initial cost of installing a network on Cables, network cards, network equipment and software, and
the installation may require the services of a technician.
BANDWIDTH
Prepared by Samuel Kizito@GHS 24
.Bandwidth is the amount of Data (bits) that can be transmitted along a communication channel in a given
time (per second) which is measured in bits per second or bps e.g. 32 bps. The larger the range of
frequencies the greater the amount of data that can be transmitted.
BIT RATE
Bit rate is the speed at which a particular transmission is taking place. It is measured in bits per
second (bit/s or bps) and represents the actual speed of transfer of data.
Determinants of internet access speed
.The amount of bandwidth allocated by ones ISP.
.Connection technology used ; telephone lines are much slower than newer technology such as ISDN and
ADSL.
.The volume of traffic. the more the number of people logged on the internet the slower the internet
speed.
.Adapter or modem speed used.
.The processing speed and amount of RAM of the host computer
.Type of data/files being downloaded or uploaded.
Internet services
1. E-commerce
2. Provision of information. e.g, on weather, and finance.
3. E-banking
4. Research
5. On-line training
6. Downloading and uploading files
7. Sending or receiving messages.
8. Real-time communication e.g. video conferencing and chat.
9. On-line news
10. On-line booking/reservation
11. Virtual classes
12. Entertainment services such as online games.
Advantages/benefits/positive implications of the Internet to society
.The internet eases sharing and transfer of large amount of data using different file transfer services.
.Encourages collaborative work.
.Easy access to databases on remote computers.
.The internet promotes internet-based education via virtual classes and e-learning.
Prepared by Samuel Kizito@GHS 25
.Different skills such as typing, use of web browsers, problem solving, and e-mail are developed through
the use of the Internet.
.Shopping for item such as books is made easy and less expensive.
.Instant or timely communication is done over the internet using different systems such as the E-mail
system.
.Companies are able to promote their businesses over the internet.
.Social media such as face book is popularised over the Internet.
.Eases publication of information to a very large audience at minimal cost.
.The Internet is a rich source of information for researchers and students and any one on all kinds of
topics and subjects.
.the internet provides a number of entertainment options.
.It promotes medical care through online health care and medication.
.It promotes and eases banking and finance through online banking.
Advantages of the internet in schools
.A lot of information is obtained which is not available in a single textbook.
.Updated or current information is obtained since internet is dynamic.
.Learning is fun and easy as internet is exciting due to the multimedia content used.
.It offers different sources of information hence a variety of opinions on a topic.
.It is a quick way of getting information where internet connection is good.
Disadvantages of the Internet
.No Information control over the Internet such that all sorts of bad information is accessed.
.There is no privacy of information and information piracy is common.
.Indecent material is published on the Internet.
.Its not readily available to most people.
.High costs due to costs on connectivity.
.Time is lost where Internet speed is low due to poor links, hardware and congestion.
.The Resident viruses which do not search for hosts when they are started. Instead, a resident virus loads
itself into memory on execution.
It stays in memory after it executes and after its host program is terminated.
.The Resident virus stays active in the background and infects new hosts when those files are accessed by
other programs or the operating system itself.
.Boot Virus
This type of virus affects the boot sector of a floppy or hard disk. This is a crucial part of a disk,
in which information on the disk itself is stored together with a program that makes it possible to
boot (start) the computer from the disk.
.Macro Virus. Macro viruses infect files that are created using certain applications or programs
that contain macros.
.These mini-programs make it possible to automate series of operations so that they are performed as a
single action, thereby saving the user from having to carry them out one by one
FAT Virus.
Prepared by Samuel Kizito@GHS 49
The file allocation table or FAT is the part of a disk used to connect information and is a vital part of the
normal functioning of the computer.
This type of virus attack can be especially dangerous, by preventing access to certain sections of the disk
where important files are stored. Damage caused can result in information losses from individual files or
even entire directories.
Logic Bombs
They are not considered viruses because they do not replicate. They are not even programs in their own
right but rather camouflaged segments of other programs. Their objective is to destroy data on the
computer once certain condition(s) is met.
File Infectors
This type of virus infects programs or executable files (files with an .EXE or .COM extension). When one
of these programs is run, directly or indirectly, the virus is activated, producing the damaging effects it is
programmed to carry out.
The majority of existing viruses belong to this category, and can be classified depending on the actions
that they carry out.
Companion Viruses
Companion viruses can be considered file infector viruses like resident or direct action types. They are
known as companion viruses because once they get into the system they "accompany" the other files that
already exist. In other words, in order to carry out their infection routines, companion viruses can wait in
memory until a program is run (resident viruses) or act immediately by making copies of themselves
(direct action viruses)
Directory Virus
Directory viruses change the paths that indicate the location of a file. By executing a program (file with
the extension .EXE or .COM) which has been infected by a virus, you are unknowingly running the virus
program, while the original file and program have been previously moved by the virus.
Once infected it becomes impossible to locate the original files.
Polymorphic Virus
Polymorphic viruses encrypt or encode themselves in a different way (using different algorithms and
encryption keys) every time they infect a system.
This makes it impossible for anti-viruses to find them using string or signature searches (because they are
different in each encryption) and also enables them to create a large number of copies of themselves.
Resident Viruses
This type of virus is a permanent which dwells in the RAM memory. From there it can overcome and
interrupt all of the operations executed by the system: corrupting files and programs that are opened,
closed, copied, renamed etc.
Direct Action Viruses
The main purpose of this virus is to replicate and take action when it is executed. When a specific
condition is met, the virus will go into action and infect files in the directory or folder that it is in and in
directories that are specified in the AUTOEXEC.BAT file PATH.