Computer Studies Notes - Tsambe Structure - Copy
Computer Studies Notes - Tsambe Structure - Copy
This chapter deals with the areas where computers are used, what they used for, how they
are used, the advantages and disadvantages of their usage in such areas.
CAD Requirements
• considerable processor power - Input devices like:
• Light pen: Used to make alterations on the screen to the drawings. Also used to write
directly on the screen. Can be used again to select commands.
• Tracker balls: used to draw designs and to select menus
• Mouse: adjust drawings
• Graphics tablet: provide interface for drawing on the screen. It also links with the light
pen.
• Output Devices like:
• Large high resolution screens
• Graph plotters to draw scale and full size and high quality drawings
• High specification graphics cards
• Some systems support stereoscopic drawings where 3-D spectacles can be worn and
the user sees a 3-D image.
NB: Ergonomics: the design and functionality of the computer environment and includes
furniture setup and how it affect human beings, e.g. ventilation, security, space, noise, etc.
Features to see on a virtual tour website of a hotel being advertised on the internet
• hot spots on web page to allow user to move around the hotel
• plans and maps integrated to allow user to navigate the hotel - ability to move from
room to room to navigate whole hotel
ROBOTICS
• A robot is a reprogrammable, multifunctional computer controlled device designed to
perform multiple tasks in industries, replacing human beings; e.g. for spray painting,
welding, fixing parts of a car, etc.
• Robotics refers to the science of developing and the use of computer controlled devices
to replace human beings in manufacturing.
• Robots can contain embedded processors or be linked to a computer system.
• They are pre-programmed to do a specific task or “taught” to remember instructions
from a human operator carrying out the task manually e.g. teaching a robot to spray a
car with paint.
• Robots rely on processors and sensors. The sensors gather information so that the robot
knows it is the right time to do the task (e.g. is a car in position to be sprayed, is there an
obstruction to prevent the robot doing its task, etc.)
• They are capable of doing some pseudo-intelligent tasks (e.g. different sized cars to be
painted)
• Robots are mostly used (suitable) in the following areas: o In very dangerous areas for
human beings to work, e.g. fire fighting, nuclear power stations, underground mining,
chemical, nuclear factories, deep in the ocean, in space, etc.
o In areas where heavy items are to be lifted, e.g. for loading containers in ships, in
production lines, etc. o In areas where the degree of accuracy is of utmost
importance, e.g. manufacturing of computer chips. Thus producing standardised goods.
o Where work is repeatedly executed and boring, like traffic control at road
junctions
Robots can move from one position to another, e.g. when lifting cars into the warehouse
and when going for recharging their batteries.
They keep a record of the distance they have travelled and the angles they have turned
through so that they can return to original position
They can sense (using light sensor) and stop if unwanted object gets on their way. They
need information and programming for them to work. Information is provided by sensors.
ARTIFICIAL INTELLIGENCE
Artificial Intelligence (AI) is the science of developing computer systems that have the
ability to learn from experience and mimic human reasoning in specific areas, as in medical
diagnosis, mineral prospecting, etc. Expert systems are a branch of Artificial Intelligence
EXPERT SYSTEMS
These are computer systems developed to mimic human reasoning and work at the level of
an expert in a particular field, e.g. in medical diagnosis. A good example of an expert system
is MYCIN that diagnose bacterial blood disease and then recommend appropriate antibiotic
therapy for patients. Expert systems are used in the following fields:
• oil or minerals prospecting,
• diagnosing a person’s illness,
• Diagnostics (e.g. finding faults in a car engine, etc.),
• tax and financial calculations,
• complex “thinking” tasks such as chess,
• weather forecasting,
• criminology/forensic science,
• career choices, etc
The system uses a rule base and an inference engine together to simulate human reasoning
when analysing a problem and arriving at a conclusion. To simulate human processes it is
necessary to have a vast amount of information stored in the knowledge base and the
reasoning set out as a set of rules in the rule base.
Steps Followed When Producing an Expert System -
Gather information from experts in the field.
• Design the knowledge base.
• Input data into knowledge base.
• Design the rule base.
• Design inference engine
• Design display of results
• Test system with known problems and solutions
• Design appropriate user interface
DATA LOGGING
The process of automatically collecting data from source at set intervals, over a period of
time, for use at a later stage. A device that automatically collects data from source at set
intervals for use at a later stage is called a data logger.
•
•
•
•
• They can be connected to small keyboards or other special reading devices.
• They are connected to an Analogue to Digital Converter (ADC), which converts data
signals in continuously varying form (analogue) collected by sensors into discrete
(digital) values that can be accepted by the computer.
• Sensors read data from the river (Oxygen level, acidity level, using the pH sensor)
• Data from sensors is converted to digital form
• Computer stores received data
• Oxygen and acidity levels from sensors are compared with historically stored (pre-
set values/parameters)
• Either data can be transferred to CD/DVD/Memory stick for later analysis OR
• Data is send to the monitoring station directly through mobile phone network or
through cables.
• Red colour is displayed on screen if values are outside acceptable level or an alarm
is sound.
These systems are designed to monitor critically ill patients or premature babies. Some
biosensors connected to the computer are attached to the patient for tracking and
recording vital signs such as heart beat, blood pressure and brain activity. The biosensors
will transmit readings to the central computer should the situation go beyond a critical
warning level and:
• issue a warning on the computer display for nurses on standby
• sound a warning siren, alarm, beep or sound to alert medical staff
• flash a light to draw attention of medical staff
Patients in intensive care are monitored through sensors. The sensors measure and give
feedback pertaining to: blood pressure, temperature level, weight, pulse rate, etc. The
computer is pre-set with normal range of values. It compares these with feedback from
sensors.
Computers record patients’ medical data over some time for later analysis. Data recorded
includes:
• Taking measurements on patients, for instance: blood pressure, temperature level,
weight, pulse rate etc. This relieves nurses of some duties that will be boring,
making them faster and more reliable.
• There are however some hospital tasks that are more suitable for human beings to
perform than computers. These include dressing patients, bathing patients, etc.
CONTROL SYSTEM
• It is a system in which one or more computers are used to monitor and regulate the
operations of non-computer equipment like in oil refineries.
• Control systems involve monitoring and logging of physical quantities, provide an
analysis of performance and allows some user interaction.
• Feedback is an essential element as well as timing.
• Most control systems are real-time systems, e.g. in oil refining, chemical processing,
traffic lights (controlling the sequence of lights to maintain optimum traffic flow),
chemical and nuclear plants (opening and closing valves, safety systems, etc.), etc.
• In computer control:
• computer system takes information from the sensors
• compares the data with stored values
• Takes action to try to get values within acceptable ranges by sending signals
to devices to open/close, on/off etc. Devices that receive signals include
valves, motors, windows, tapes, etc.
• output from system can affect next input (feedback)
NB: In chemical and nuclear plants, there is often a combination of monitoring and control
taking place. Information from sensors is often displayed on a control panel where
operators can see key values and alarm conditions (e.g. if a system monitors temperatures
and 1100C is the normal temperature and 1200C is the alarm temperature, the control
panel will show normal, present and alarm values in the form of read outs – either the
computer will automatically take action if necessary or the operator will take action
(override the system if necessary)
Control in Greenhouses
• The environment must be kept constant if plants are to grow successfully in
greenhouses.
• Temperature and humidity in the air needs to be controlled so that it is kept constant
• Sensors are used to record humidity and temperature levels in analogue form. The
analogue signals are sent to the computer
• The computer will have stored (pre-set) values of minimum acceptable level and
maximum acceptable level for both temperature and humidity
• If the sensor records humidity level below the minimum acceptable level, the computer
will send signal to the actuator to close the windows and switch on the pump for a
certain period of time, which will spray water as a fine mist inside the greenhouse.
• Too much humidity will cause the processor to send signals to the actuator to open
windows to assist ventilation and drying out air.
• In case of temperature, if the greenhouse becomes too hot, the windows are opened and
heater turned off. If it becomes too cold, windows are closed and heater switched on.
Inputs:
Humidity/moisture (collected from humidity/moisture sensor),
Temperature (all in analogue form; collected from temperature sensor)
Processing:
• detecting temperature/humidity level
• Processors compares pre-set values in the computer with data collected from sensors
• Processor instructs actuator to take action if values exceed or are less than
minimum/maximum pre-set values
Outputs:
• Windows open or closed (digital form)
• Heater on or off (digital)
• Pump for water supply on or off (digital)
In case of an emergency, the computerised traffic system may perform any one of the
following:
• Give uninterrupted path through the system of linked traffic lights.
• Give green link – wave for all traffic to pass.
• Turn all lights to red.
• Activate emergency generator.
• Sound an alarm.
Microprocessor-Controlled Streetlights
Input:
• Pre-set values of Sunset time and Sunrise time
• Light level (Light sensor sends measurement of light to microprocessor, ADC converts
this to digital) Processing:
• Processor compares sunrise time, sunset time and current time.
• If sunrise time = current time or higher, the processor send signal to actuator so that it
switches off lights, else,
• if signal equals sun set time, the processor send signal to actuator so that it switches
on light.
• Also the amount of light is compared with pre-set value. If higher – nothing happens, If
lower or equal sends signal to send signal to actuator so that it switches on the
streetlights.
Output:
Lights switched on or off
AUTOMATED SYSTEMS
• These are control systems that are dedicated to one particular task and lack the ability
to collect and analyse data as in digital cameras.
• They do not allow for or act on user interaction, e.g. washing machines, cameras,
watches.
• Most control systems have embedded computers systems inside them.
Refrigerators
Inputs:
• temperature level (from temperature sensor/ or entered manually through the
number pad),
• Pressure (from pressure sensor/contact switch/push switch) , - push switch
setting Processing:
• Analogue data from sensors is converted to digital by the ADC
• Processor controls temperature level by comparing with pre-set values.
• If temperature is higher than pre-set value, the processor sends signal to motor to
switch on compressor
• If not higher, the compressor is switched off by the actuator - Processor controls
the display panel.
• Processor sends signals to display panel and to the motor to switch lights on or off.
Outputs
• Switch on lights if door is opened and off when closed
• Light emitting diodes indicating current temperature of the inside of refrigerator.
• A warning buzzer (sound) if light is left open.
• Cold temperature
Air Conditioners
Inputs:
• Pre-set temperature level
• Temperature from temperature sensors
• Pressure from pressure sensors: monitors pressure of refrigerant
Processing
• Processor controls temperature.
• Processor sends signal to motor to change fan speed
• If temperature is below pre-set value, the processor gives motor signal so that it
switches off fans
• If temperature is above pre-set value, the processor gives motor signal so that it
switches on fans
• Processor controls timing and the display panel
Output
• Cool temperatures in the room
• Fans switched off or on depending on the situation
Digital Camera:
Input:
• Light mode( night or day mode)
• Film speed
• Colour setting Processing:
• Processor sends signal to automatically adjust film speed,
• Processor positions the end of film,
• Processor sends signal to adjust distance from object, - Processor sends signal to
adjusts light.
• Processor sends signal to save image on the memory card
Output
• Sound to indicate that the film/picture has been taken
• Image/film captured and stored
• Light flashed to indicate film/picture is taken
Speed Cameras
These are used on roads to take photographs of cars which have exceeded the speed limit.
Some of these cameras use microprocessor controlled chips to store information.
The advantages of speed cameras with microprocessor controlled chips are that:
• Data and images can be transferred automatically which will be faster.
• Image can be viewed straight away.
• Can store considerably more data and photos.
• Can store other information (apart from photo image) e.g. road conditions.
• Chips can be re-used.
Inputs
• Maximum speed (speed limits)
• Road condition
Processing:
Tasks which would be carried out by the microprocessor as a speeding car
approaches a camera include:
• Sense and record speed of vehicle.
• Compare speed of vehicle with stored value(s) and decide whether photograph
should be taken.
• Check on value of light intensity.
• Adjust focal length, focus image, adjust shutter speed and set exposure. Tasks
which would be carried out by the microprocessor as the photograph is being
taken include:
• Log the time.
• Log the date.
• Log the speed.
• Record the road conditions.
• Operate ―flash.
• Operate shutter.
• Instructs storage of the image.
• Check on value of light intensity.
• Adjust focal length and focus image.
Outputs
• Video/pictures of cars captured
• Alarms of over-speeding cars
Microwave Cookers
Function by switching a microwave unit on for a sufficient time to either defreeze frozen
food or cook it. It is used to cook food quickly by using waves (similar to radio waves) to
heat the food.
Inputs:
Modern cookers have sensors attached to a microprocessor for detecting as inputs:
Weight of food
Temperature of food
Some cookers will also have additional sensors for detecting:
• Amount of steam produced during cooking
• Amount of alcohol produced Processing:
• The microprocessor continually monitors sensor readings and by referring to a
programmed in-built database of food types.
• The microprocessor determines time needed to cook or defreeze food.
• IF a temperature in the food indicates the food is cooked OR the time set on the
oven clock is reached THEN microwaves are not produced
Output: Heat for cooking, Light indicating that food is cooked, power turned off if food is
cooked.
Feedback: The process in which output of a system can affect its own output. It is whereby
part of the output of a system is returned to its input in order to regulate its further output.
3-D Models can be built using CAD, e.g. for planning stores.
Advantages of modeling
• No equipment is damaged
• People are not put in any danger
• Expensive prototypes don't need to be built
• Time can be sped up or slowed down
• Models can be run and re-run over and over
• Modifications can easily be made and re-tested quickly
Disadvantages of Modeling
• The results depend on how good the model is and how much data was used to
create it in the first place.
• Models and simulations can't ever completely re-create real-life situations.
• Not every possible situation may have been included in the model.
• The equipment and software are expensive to purchase.
• Staff need to be trained how to use the software and equipment.
SIMULATION
Simulation is the study of the behaviour of a system using models in order to predict future
real life events, like population growth, flight simulator, etc. It involves feeding values into
a model to see how the model behaves.
In simulation, past and present data, as well as models are analysed in order to predict the
future. Simulation is used in the following areas:
• Training (e.g. pilots, drivers, medical doctors, etc.)
• running/testing chemical plants and nuclear plants
• trying out equipment to be used under sea or in outer space
• crash testing cars
• financial simulations (e.g. stock market predictions based on various scenarios)
• population growth (i.e. predict how the world’s population will increase based on a
number of different scenarios)
• queues (e.g. simulating queues at supermarket checkouts)
• weather forecasting
Advantages of simulation
• saves cost (rather than doing the real thing)
• safer (scenarios tried out on the simulation first before used in reality)
• possible to try out various scenarios in advance
• Some environments make simulations the only way to carry out a task beforehand
(e.g. outer space, under sea, chemical processes, nuclear reactors, etc.)
• faster (no need to build and test real system, so it is possible to get results more
quickly)
FLIGHT SIMULATOR
• Flight simulators are used to train pilots how to fly aircraft.
• They can also be used to test new aircraft before they are actually flown for the first
time.
Flight simulators are expensive to buy but are much cheaper than actual aircraft.
A landing simulation with ice on the runway, thick fog and only one of the four engines
working would really test the pilot’s ability
Flight simulators enable pilots to experience turbulence, snowstorms, thunderstorms, fog,
etc, without leaving the ground.
Output:
• Information obtained is displayed on the computer screen ready for presentation on
televisions
• Information can be printed documents. - Tables and graphs are produced
• Rainfall maps and isobars are produced.
• Expected minimum and maximum temperatures are produced
• Areas of pressure change with time so it is possible to predict rainfall, strong winds,
etc. in advance
• Show how the clouds patterns will change with time so it is possible to predict
rainfall
Advantages
• It is far safer since a driver of a vehicle doesn’t have to consult maps whilst driving. - it
also removes error (e.g. going the wrong way down a one-way street).
• Sat nav systems can also give additional information such as position of speed cameras,
estimate time of arrival, etc.
• GPS can monitor a vehicle’s position if it has broken down or has been stolen (vehicle
tracking system).
• In airplanes GPS can pinpoint its exact location in case of an accident which enables
search teams to quickly respond to the incident.
Disadvantages
• maps may not up to date therefore instructed to turn into a road which no longer exists
• road closures due to accidents or road works may cause problems to a sat nav system
• signal loss can cause problems with GPS systems
• potential interferences from external sources (major problem on aircraft)
• incorrect start and end point entered into system can cause problems
THE INTERNET
Internet stands for INTERnational NETwork and it is a global (world-wide) connection of
computer networks for information sharing. On the internet, one is able to access data
stored on a server in any part of the world as long as it is connected to the internet itself.
The internet can be accessed from anywhere. It is also available to anyone. No one controls
the internet as computers in different countries are connected yet the countries have
different laws. However, each country may regulate internet usage in its own territory.
Definition of Terms
Information Superhighway (ISH): A global network of computers for moving huge
amounts of information via satellite and cable connection. Information found on ISH
includes home shopping, entertainment, news, software downloads and help, online
banking, stock market dealing, jobs, (vacancies), university placements, etc.
Information Technology (IT): - The use of computers in information handling and
communication.
Information Age: A period beginning in the last quarter of the 20th century when
information became easily accessible through publications and through the manipulation
of information by computers and computer networks.
Global Village: the use of the internet to access information from any part of the world.
Information and Communication Technology (ICT): The use of computers and related
method as a tool for information communication, for instance through e-mails, cell phones,
etc.
Web page: an HTML document or page on the internet that contains information about an
organisation.
Website:-a collection of HTML documents at the same domain, often with a common name
and maintained and provide information of a single organisation and is found on the
internet. It is an HTML page/pages on the internet that contains information about an
organisation
Hyperlink: - an area of a web page, usually text or image, that contains a links to another
web page. It is usually underlined or has a different colour to show that it can link the user
to another site.
Home page: A web page that loads first (by default) when one logs on to the internet. It
then provides links to other sites on the internet. It is also a web page that appears first
when you log on to a website.
URL: Uniform Resource Locator: This is a unique address that identifies a website/page
on the internet, e.g. http://www.econet.co.zw. This only identifies one (unique) web page
for Econet Wireless which is found in Zimbabwe (.zw). Thus a URL is a unique address for
each web page. A typical URL looks like:
http://www.google.co.zw/computing/student.html.
• "http" (HyperText Transfer Protocol) and a domain name (such as ."co.uk"). Other
domain names are as follows:
• .zw Zimbabwe
• .zm Zambia
Website features
The following are the general features of a good website
• shopping basket
• offer security when using credit/debit cards
• search facility for artist, tile, item, etc
• drop down boxes to choose categories
• help facilities
• currency converters for international customers
• date/sales confirmation by automatic email
• saved customer details/customised pages
• ability to track status of orders
• ability to listen to/view/see video/see product, etc
• recognise customer as soon as they log on
• buttons to navigate to other web pages
When designing web pages it is necessary to supply the correct spacing for customer
information (and/or use drop down menus), buttons to navigate to other web pages, etc
(c) Network operating system: manages the network and offers security to internet
users.
NB: internet account: a unique personal identifier given by the Internet Service Provider
(ISP). An ISP is an organisation that links users to the internet, for example, Mweb, Ecoweb,
Africaonline, Yahoo, Google Inc, etc.
NB: Note
• Viruses do not only infect computers, they can also affect mobile phones, MP3
players etc. – any device which can download files from a source such as the internet
is potentially at risk.
• Backing up may allow files that have become lost/corrupted (due to hacking or
viruses) to be reinstated; however, this would not recover the system nor would it
prevent hacking/viruses affecting a system in the first place.
• Problems like spam, pop-ups, cookies, etc. are more of a nuisance (they can also
slow down the operation of a computer). These can however be blocked (or made
inactive) by using suitable software.
When using the Internet, security can be enhanced using encryption.
Credit and debit card transactions can also be protected by a special type of password
control.
For example, if a user chooses the password COMPUTE34 to protect their credit card, when
they buy something over the internet the card issuer will ask the user an additional
question such as: “Please type in the 2 , 4 and 7 character of your password in the following
boxes:
□□□“
The user will then type in O P E and the card purchase will be authorised. This additional
protection is used as well as encryption.
Some of the new systems allows user slots the card into the side of the keyboard and is
required to type in a PIN before the Internet can be accessed. This gives an additional level
of security since it is necessary to have the card, know the PIN associated with the card
AND also know the user’s log in id and password!!!
Disadvantages of e-mail
However, despite the increase in the use of e-mail, there has been a sharp increase in the
amount of paper used. This is because:
• People print copies for meetings and then destroy them afterwards, but if needed
again, print out another copy.
• Some people find it difficult reading large amounts of text on the screen.
• People often e-mail colleagues rather than use the phone who then print out the
document.
Information on the database is provided by companies that advertise their products like
news, weather reports, and so on. View data systems have the following advantages:
• they are interactive and
• service is provided for free to the public.
• Facsimile (Fax): A method whereby output from a scanned document is send over
telephone line and reproduce on a fax machine on the receiving end. Fax method has the
following advantages:
It is very cheap to send messages.
It is very easy to use.
It is a very fast method of sending messages.
However, it has the following disadvantages:
• Its requirements are expensive (fax machine).
• There must be a person at the receiving end to attend to the fax when receiving
messages.
NB: The use of fax, e-mail, view data, teletext, teleconferencing and video conferencing in
an office brings about an electronic (paperless) office.
• An electronic office is an office in which the storage and processing of data as well as
communication are done electronically.
• An electronic office is efficient because:
• Communication is easier and faster.
• Less paperwork is involved.
• Current and up-to-date information is provided. · Ensures a clean office
environment.
Benefits of telecommuting
• Easier to concentrate on work in a quiet environment than in a noisy office.
• It saves time spent in travelling to the work place thereby increasing productivity.
• It cut costs involved in travelling to work place.
• The employer saves costs of office space and overheads like water and electricity.
• People can be recruited from a wide geographical area.
• People with disabilities like the handicapped can be employed.
• People in different locations can work as a team.
Disadvantages of tele-commuting
• Workforce not in office is difficult to control.
• Workers would not understand corporate goals and will not be loyal to the
organisation.
• Employees feel isolated and miss the environment of an office full of colleagues.
• People may find it difficult to work in teams.
• It is difficult to separate work from home duties while at home.
• Unions find it difficult to mobilise workers for demonstrations and strike.
• File Transfer : allows users to transfer files from host computers on the internet to
their personal computers.
• News groups: a global electronic bulletin board system in which users exchange
information on different topics.
• Entertainment: the internet provides an option for users to download and listen to
music, newspapers, radio stations, etc.
To businesses/shop managers
• Business is carried out any time of the day (provides a 24 hour shopping service).
• Increases sales due to greater number of customers from all over the world.
• No wastage space for goods is involved.
• Ensures huge saving on overheads like rent, warehousing, employee facilities.
• More goods can be made available.
• It is cheaper to use as there are no leaflets, pamphlets, etc.
• Can reduce the number of shops on the streets.
• Organisations can employ fewer workers thereby cutting labour costs.
• No need to travel to the shop as business can be run from home.
To businesses
Increase in cases of industrial espionage.
Industrial espionage involves selling of company secrets by employees to rival companies
and the use of destructive methods by competitors to destroy other organisations.
A lot of money is wasted by the need to re-train the workforce in the use of new
software/computers
Computer systems have allowed companies to set up call centres in other countries where
potential cost savings can be made. This, of course, can lead to job losses in the host
country.
INTRANET
• Intranet stands for INTernal Restricted Access NETwork, which is a restricted private
organisation’s network that uses internet technologies for the benefits of such an
organisation.
• An intranet is a computer network based on internet technology that is designed to
meet the internal needs for sharing information within a single organisation/company
• Intranet requires password entry.
• Intranet is protected by a firewall.
• Intranet only gives local information relevant to the company/organisation - It is
possible to block access to certain sites using the intranet, e.g Facebook.
• it is not always necessary to have external modems when using intranets
• information for use on intranets is stored on local servers
Many companies use intranets as well as the internet for the following reasons:
it is safer since there is less chance of external hacking or viruses
• it is possible to prevent employees from accessing unwanted web sites
• companies can ensure that the information available is specific to their needs only
• it is easier to keep “sensitive” messages to remain within the company only
Differences between internet and Intranet
Internet Intranet
the INTERNET is INTERnational NETwork an INTRANET is INTernal Restricted Access
NETwork
Internet gives all information including that the intranet only gives local information
which is not relevant to the organisation relevant to the company/organisation
Always need external modems for internet it is not always necessary to have external
connections modems when using intranets
Information on internet saved in different information for use on intranets is stored on
computers local servers
the internet can be accessed from anywhere Intranet is accessed within the range of the
organisation’s network
the internet is available to anyone without whereas the intranet requires password
password restriction entry
Wireless Communication:
This is a method of networking (linking) computers and computer devices without the use
of cabling (wires), e.g. using Bluetooth, radio, satellite, infra-red, microwave, etc. The
devices that can be used in wireless technology include:
• Mobile phones /cell phone/remote key pad/remote control/ remote keyboard.
• Infra-red mouse.
• Multimedia mobile handsets and notebooks.
• GPRS (General Packet Radio Service) modems.
• Wireless LAN(or Wi-Fi –Wireless Fidelity: A local area network that uses high
frequency radio signals to transmit and receive data over distances of a few hundred
feet; uses Ethernet protocol).
• PDAs (personal digital assistants).
Most areas in the world now offer broadband rather than dial up for connecting to the
internet. The advantages of broadband over dial up include:
• the system is always “on”-no need to dial into ISP every time you want access
• the connection rate/data transfer rate is much higher (for example broadband
operates at 11 000 kbps compared to the dial up rate of 60 kbps)
• there is a flat monthly rate with broadband (dial up is charged per hour of usage)
• it is possible to use the telephone at the same as the internet with broadband/the line
isn’t tied up
• broadband permits other facilities such as “skype”
• Wireless technology (WiFi) allows connection of a computer to the Internet without
the need for connecting cables. A router (containing a modem and external aerial) is
connected to a telephone line and it is then possible for any computer within range to
communicate with the router and allow Internet access – the link between computer
and router is completely wireless.. The main advantage of doing this is clearly the
portability (i.e. can go anywhere within range since no wires are needed).
It isn’t just computers that can be linked without wires, various peripheral devices can be
linked to a computer system without the need for a physical, wired connection. For
example:
• Printers
• Keyboards
• Mouse
• Digital cameras
COMPUTERS IN ENTERTAINMENT
Music
Computers are now used for playing and composing music. Computer hardware
and software advances have changed how music is generated and produced.
Software used includes Fruit Loops, Virtual DJ, etc.
Musical instruments can be connected to a MIDI (Musical Instrument Digital
Interface).
MIDI is a type of serial interface built into a piece of electrical equipment so that it
can communicate with the computer. It also converts output signals from the
instrument, e.g. guitar, into digital form.
Some of the key reasons for the widespread development of music using computers
are:
• the recording process for music is faster
• there is no need for tapes during the recording process - It is easier to
remove or add sounds to a track.
• Sampling of sounds is very easy
• actual musical notes can be generated from the music itself by software
• music samplers and mixers give an almost limitless ability to alter the original
tracks recorded in a studio
• don’t need to understand music notation to write a musical score
• electric instruments (such as guitars and organs) play back through electronic
machines
• synthesisers combine simple wave forms to produce more complex sounds
• electric organs can now mimic almost any instrument (including a full orchestra)
• automatic rhythm
• music notes automatically printed out in the correct format
• There are many other software and hardware developments; the above is just a
summary of the more common elements.
• A performance can be directly recorded onto the computer and stored in a MIDI file,
which can be edited later.
• Synthesisers are also used to generate notes and desired sounds from prerecorded
electrical signals. These signals can be combined with signals from conventional
instruments and recorded to produce songs.
Music can be compressed to produce MP3 (motion picture expert) format.
Music can be played using software like Microsoft Windows Media Player, JetAudio,
Nero Show Time, Real Player, etc.
Image processing: The images can be darkened, sharpened, changed colour, cropped,
etc.
Animation
• Animation consists of displaying a rapid succession of 2-D or 3-D graphics
arrangements to create the illusion of movement. It is used for web presentations and
advertisements and for film.
• Computer animation is the art of creating moving images via computer hardware and
software.
• For 3-D animation, objects are designed on a computer and a 3-D skeleton is
produced.
• The limbs, mouth, eyes, etc. are moved by the animator using key frames. A frame can
just be a picture/graphic image.
• A start and end of frame is produced.
• Software is used to produce animation between the different frames automatically.
• The differences in appearance between key frames are automatically calculated by
the computer – this is called TWEENING or MORPHING. The animation is finally
RENDERED (i.e. turned into a realistic image).
• Computer animation uses a technique called avars (animation variable) which
control all movement of the animated character.
• Finally, surfaces are added requiring a process called rendering (i.e. turned into a
realistic image).
• avars can be set manually using a joystick. Software produces a level of quality for
movie animation that would take many years to produce by hand and would employ
several cartoonists/animators.
• This all saves considerable time and money to the film and television producers.
• Avatars are another example of animation. These are often used to represent people
either in 3-D (as used in computer games) and in 2-D (as used in internet message
boards).
• Some avatars are animated consisting of a sequence of images played one after the
other.
• Ultimately, animators want to create a human image which moves and interacts with
its background in such a way that the viewers can’t tell if a particular scene is
computer generated or produced by real actions in front of an actual movie camera.
• Sounds can be added to the animation to produce advertisements, cartoons and films.
• Computers with large hard disk and powerful processors are needed, as well as high
resolution monitors
• Special effects in many modern films (televisions) all use computer animation to
produce fantasy worlds.
The POS terminals can also be connected to the main server in banks like CABS,
Barclays, etc. This enables customers to purchase goods electronically without the
burden of carrying cash around. This is called Electronic Funds Transfer at Point
of Sale (EFTPOS). Customers can also be given cash back at the EFTPOS after
purchasing goods using debit cards.
After purchasing the goods, a receipt is produced. The receipt will have the following
details:
• date of purchase,
• time purchased,
• shop attendant,
• item (s) bought,
• quantity bought,
• unit price,
• total price,
• amount tendered,
• change, - cashier name - etc.
NB. The system updates the master file when an item is sold. It first searches the
master file. Using the barcode number (or product code) it decrease the number in
stock and increase the quantity sold
*NB: POS –Point of Sale terminal: the point where customers pay for goods purchased in
shops, either by cash or otherwise.
Difference between Electronic Point Of Sale (EPOS) and Electronic Funds Transfer at
Point Of Sale (EFTPOS).
EPOS terminal only involves scanning of goods electronically by use of barcodes
and by keyboard entry. EFTPOS involves electronic scanning of goods at point of
sale by use of scanners and barcodes (and use of keyboard) and has an added
feature of allowing customers to transfer money from one account to another,
usually to the account of the shop where the goods are being bought. Customers
can also get cashback at the EFTPOS terminal in shops.
LOGIC GATES
• A logic gate is a device that produces signals of 1 or 0 when the input logic
requirements are met and are used in manipulating binary information.
• A logic gate is a device (or electrical circuit) that performs one or more logical
operations on one or more input signals.
• Its output represent Boolean (T or F) or binary values (1 or 0) as voltages.
• Logic gates are the building blocks of digital technology. - They can be used in
applications like: · Building computer chips
• Programming traffic signals
• Chips for automatic alarm systems
• Chips for automated control systems - Electronic circuits
operate using binary logic gates.
• Logic gates process signals which represent TRUE or FALSE, ON or OFF , 1 or 0
• OR
gate
• AND
gate
(c)
NOT
gate
(d)
NOR
gate
(e) NAND gate
Logic gates are used with truth tables.
• A truth table is a table which shows how a logic circuit's output responds to various
combinations of the inputs, using logic 1 for true and logic 0 for false.
• A truth table is a table that describes the behaviour of a logic gate.
• It lists the value of the output for every possible combination of the inputs
• Truth tables contains 1s and 0s and are an integral part of logic gates functionality.
• Truth table and logic gates use the following:
• 1 (True, ON, Not False)
• 0 (False, OFF, Not True)
The number of rows in a truth table shows the number of combinations of the
inputs of a particular circuit. The number of rows for each gate is found using
the following formulae: rows = 2n , n being the number of inputs in the gate or
circuit. For example, a gate or circuit has the following rows corresponding to
the number of input (excluding column headings):
• 1 input = 21 = 2 rows
• 2 inputs = 22 = 4 rows
• 3 inputs = 23 = 8 rows - …..
Graphical Representation of Gates and their Truth Tables
Each logic gate has its own unique graphical representation, which can be in general
form or in standard form.
• General form
Each logic gate has a circle and the name of the gate to differentiate it from the
rest as given below:
The name inside the gate gives us the type of the gate
• Standard Representation
In standard form, each logic gate has its own unique diagram. Even if the
name of the gate is not written, one knows what it stands for because of the
shape. The following are the logic gates and their shapes in standard form.
(a) OR gate
This represents two inputs entering the gate and one output from the gate.
The inputs can be represented by any alphabetic characters, e.g. A and B,
while the output can be X, given as follows:
• X= A OR B
• The output (X) is true if the INPUT A OR INPUT B are true.
• Thus if any one of the inputs is 1, the output is automatically 1 - Output only
becomes 0 if all inputs are 0
• AND gate
This is represented as follows:
The output (X) is only true if the INPUT A AND INPUT B are both true. If any one of
the inputs is 0, then the output becomes 0 also. Thus X = A AND B.
• NOT gate
Logic Gate Diagram Truth table
Standard Form General Form
The NOT gate has only one input and one output. The input is negated. Thus if input
is 1, output is 0, and vice versa.
• NAND gate
Logic Gate Diagram Truth table
Standard Form General Form
This is an AND gate with the output X inverted. The output is true if INPUT A AND
INPUT B are NOT both True. It translates to NOT (A and B)
A combination of logic gates, which may be different, gives a logic circuit as given below:
Boolean Expressions
Boolean Expressions are equivalent expressions of the logic state of gates. For example, the
Boolean expression for:
NAND and NOR gates are known as universal gates because they are inexpensive
to manufacture and any Boolean function (AND, OR, NOT) can be constructed
using only NAND or only NOR gates. Even NAND and NOR gates can be used as
each other’s alternatives in a circuit.
Expressions using mathematical symbols can be used to represent logic gates. One
may be required to draw logic gates using such mathematical expressions Such
symbols and their meaning are as given below:
• Multiplication Sign
• This represents an AND gate
• E.g C = AB,
• C = AxB,
• C = A.B
• C= (AB)(AC)
• C = (A.B).(A.C)
• All these are various versions of the AND gate.
Either: Length, L > 100 metres and Velocity, V < =10 m/s
Draw a logic network and truth table to show all the possible situations when the stop
signal could be received.
Answer
• The first statement can be re-written as: (L = 1 AND V = NOT 1) since Length > 100
metres corresponds to a binary value of 1 and Velocity <=10 m/s corresponds to a
binary value of 0 (i.e. NOT 1).
• The second statement can be written as (T = NOT 1 AND V = 1)
• Both these statements are joined together by OR which gives us the logic statement: if (L
= 1 AND V = NOT 1) OR (T = NOT 1 AND V = 1) then S = 1
• The above statement can be written as: S = 1 if (L = 1 AND V = NOT 1) OR (T = NOT 1
AND V = 1)
NB: the Student should first of all write the following logic statement before
coming up with a truth table or logic circuit as this has some marks awarded
to it., i.e.
• Using the logic statement above, one can now draw the logic circuit as given below:
Step 3: Truth Table
• One can now draw the truth table, basing from the logic statement in Step 1.
Questions
• A computer will only operate if three switches P, S and T are correctly set. An output
signal (X = 1) will occur if R and S are both ON or if R is OFF and S and T are ON.
Design a logic network and draw the truth table for this network.
• A traffic signal system will only operate if it receives an output signal (D = 1).
Or (b) signal A is green (i.e. A = 1) and signals B and C are both red (i.e. B
Design a logic network and draw a truth table for the above system.
• A chemical plant gives out a warning signal (W = 1) when the process goes wrong. A
logic network is used to provide input and to decide whether or not W = 1
Draw a logic network and truth table to show all the possible situations when the warning
signal could be received
4. A power station has a safety system based on three inputs to a logic network. A warning
signal (S = 1) is produced when certain conditions occur based on these 3 inputs:
Either : (a) Temperature > 120C and Cooling Water <= 100 l/hr
Or (b) Temperature <= 120C and (Pressure > 10 bar or Cooling Water < 100 l/hr)
Draw a logic network and truth table to show all the possible situations when the warning
signal could be received.
• Draw a circuit diagram for δ = (xy' + x'y)z
• Device a suitable Boolean expression and truth table for the circuit below:
• (A + B) • (B + Ā)
• A • (Ā + C) + C
b. For each of the previous questions, create a circuit for the Boolean expression before
simplification.
CAM(COMPUTER-AIDED MANUFACTURE)
This is automated manufacturing process where computers are used to regulate (control)
and monitor the production process in industries.
CAM uses some industrial robots or computer-controlled sensors for detecting:
• Excessive heat
• Faults
• Acceleration forces
CAM works well with CAD systems. Machinery is programmed automatically A
real CAD/CAM system enables any engineering component to be designed and
manufactured using numerically controlled machine tools. The computer make
some calculations for defining the tool path and generates the instructions
necessary to produce the part. A machine tool such as a lathe is controlled by a
computer which sends it instructions to select tools and to use them to make metal
components. CAM and CAD system systems are integrated. Data from CAD system
is converted to a set of instructions for the processor controlling the CAM
equipment. Once a part has been designed using the CAD software, the other
processes are automatic. The following are involved:
(a) Conversion of data into a set of machine tool
instructions; (b) Operation of the CAM system:
• Selection of tools, e.g. cutter, drills, etc.
• Selection of speed e.g. for drills
• Movement of the tool to machine the part being manufactured.
COMPUTER NETWORKS
Definition of Terms
• Network: A connection of computers for them to share data, files and
resources like a printer.
• Data communication: The process of transferring data through networked
computers
Advantages of Networking
• 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.
• 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 send between users.
Disadvantages of Networking
• Sophisticated equipment is needed, 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.
Types of Networks
• Computer networks are grouped into Local Area Networks (LAN) and Wide Area
Networks (WAN).
• However we also have WLAN (Wireless Local Area Networks), MAN (Metropolitan
Area Networks) and PAN (Personal Area Networks); and these are described below.
NB: A bridge can also be connected to link a Local Area Network to another network
and is an optional requirement.
However, some networks are now using wireless technology and these are called
Wireless Local Area Networks (WLAN). WLAN uses radio signals and therefore
no cabling is required.
The diagram below shows the structure of a LAN that can be connected to another
network.
A PAN enables user to transfer files from a laptop to a PDA, camera or Personal Computer.
1. Ring Network:
• Computers are connected together to form a circle and uses a token when transferring
data.
• Data/information travels in one direction only.
• Information moves around the ring in sequence from its source to its destination.
• As data passes from one computer to another in the ring, each computer removes any
data relevant to itself and adds any data it wishes to send.
• The diagram below illustrates the physical configuration of a ring network:
Advantages of Ring Network
• Data processing is faster as each computer processes its own processor.
• Has very high data transfer rates.
• Uses a token to avoid data collision or loss
• it is possible to create large networks using this topology
• If one computer breaks down, others will remain working as they have their own
processors and storage facilities.
• Performs better than star network when traffic is very heavy.
2. Star Network:
Computers form a star shape with host computer at the centre.
The Server (host computer) manages all other computers/terminals on the
network. If the terminals are not intelligent, they have to rely on the host
computer for everything.
This network is as shown below:
3. Mesh Network
• A network in which each computer serves as a relay point for directly sending
information to any other computer on the network.
• No central device oversees a mesh network, and no set route is used to pass data back
and forth between computers.
• Thus, if any one computer is damaged or temporarily unavailable, information is
dynamically rerouted to other computers—a process known as self-healing
• These are networks with a server which stores data or monitors and control other
computers on the network. This could be a file server, print server, etc.
NETWORK PROTOCOLS
A protocol is a set of rules that governs how communication between two devices will
occur. Such devices might be computers themselves, between modems.
A network communication protocol: a standard method for transmitting data from
one computer to another across a network. Some of the protocols that we are
going to look at are:
• TCP/IP (Transmission Control Protocol Internet Protocol)
TCP: It ensures that data is transmitted accurately
IP: It ensures that data is transmitted to its correct address (IP address).
Every device on the internet has its IP address. It also ensures that packets
are rearranged to the original message on arrival of their destination.
• HTTP (HyperText Transfer Protocol)
This is a protocol that defines the process of identifying, requesting and
transferring multimedia web pages over the internet. It is used for
transferring data across the internet, usually between servers and
computers on the internet. It is based on the client –server relationship. It
uses TCP/IP to transmit data and messages
• FTP (File Transfer Protocol) it is a protocol used to transfer data from one
computer to another. It is often used to download software from the internet, and it
uses the TCP/IP protocol
in doing this. However, FTP has no security to data as the data is not encrypted
prior to its transmission.
• TELNET
This is a network protocol that allows a computer user to gain access to
another computer and use its software and data, usually on a LAN and on
the Internet. It allows users to access data stored on servers from their
terminals. Telnet allows computers to connect to each other and allows
sharing of data and files. Telnet has security problems especially on the
internet.
• VoIP (Voice Over Internet Protocol)
It is a method of using the internet to make ordinary voice telephone calls.
Thus it is a way of having phone conversations using the internet as a way
of communication. By VoIP, international and long distance calls are of the
same price as local calls and sometimes are for free. However, the system
does not offer emergency calls. An example of VoIP is Skype.
Implementation
Analysis
Feasibility Study
Documentation &
User Training
Fact Finding
Evaluation
Below is a diagram that indicates the SDLC stages
• Problem identification/Recognition/Definition/Realisation:
This is where the problems of the current system are stated.
These might have been realised by system users or by managers. The system might be
producing wrong results.
This includes the general statement of the problems being experienced by the system.
• Interview:
This refers to the face-to-face communication between two or more people in
order to obtain information. Interviews can also be done over the phone but the
most common ones are face to face. Interviews are done when you want to collect
information from a very small population sample.
Advantages of Interviews
• The researcher can ask for clarification on some points that may not be clear.
• Encourages good rapport between the researcher and the respondent.
• Non-verbal gestures like facial expressions can help the researcher to determine if
the respondent is telling the truth.
• Information can be collected even from the illiterate since the respondent’s
language could be used.
• First-hand information is collected.
• The researcher can probe to get more information.
Disadvantages of Interviews
• It is impossible to remain anonymous on the part of the interviewee.
• It is expensive since the researcher has to travel to the interview venue.
• It is time consuming as more time is spent travelling and carrying out the interview.
• Good interview techniques are required as failure may
lead to disappointments.
• Biased information can be given since the respondent may not tell the truth.
• Record/Document inspection:
• A fact finding method which involves scrutinising system documents in order to
solicit information.
Record inspection has the following advantages:
• Accurate information is collected from system records.
• First-hand information is obtained
• Questionnaire:
A document with carefully crafted questions to be answered by the respondent by
filling on the spaces provided. Questionnaires are used when collecting
information from a widely spaced population sample and when collecting
information from many people. A questionnaire contains open-ended and closed
questions. Open-ended questions are gap filling questions which require the
respondent to express his or her own view. Closed questions are guided questions
where the respondent just chooses Yes or No, True or False, or by just putting a
tick on given options. Questionnaires can be distributed personally or by post.
Advantages of questionnaires
• Questions are very simple and faster to answer.
• It saves time as questionnaires can be distributes and then collected later.
• Respondents can fill questionnaires at their own pace.
• Give guarantees confidential of information, thereby encouraging respondents to
give accurate information.
• They are cheap to use when collecting data from a very large sample
Disadvantages of questionnaires
• Some questions are left blank.
• Some questionnaires may not be returned at all.
• Biased information can be collected as people may lie.
• Respondents usually do not fill the correct information.
• It is difficult to analyse information collect using questionnaires.
• They are expensive to use if the postal system is used.
• Abusive information can be filled by respondents.
• It is difficult to prepare a good questionnaire
iv. Observations:
It is a fact finding method that involves viewing the actual system in operation by
the researcher. The researcher can even take part in operating the system. It is
used when the researcher wants to see for himself how the system operates.
Advantages of observations
• First-hand information is collected.
• Accurate information can be obtained.
• Areas of interest can be observed.
• The researcher can take part in operating the system thereby getting insight on how
the system operates.
• the analyst obtains reliable data
• it is possible to see exactly what is being done
Disadvantages of observations
• People work differently if they feel that they are being observed, therefore
inaccurate information can be collected.
• The researcher may not understand some of the activities being observed.
• It is time consuming to collect the required information.
• The researcher may interrupt some of the activities being done.
• if workers perform tasks that violate standard procedures, they may not do this
when being watched!!
3. Feasibility Study:
It involves an evaluation of proposals to determine if it possible to construct a new
system or just modification of the existing one. Feasibility can be measured by
making the following considerations:
Economic feasibility: determining whether the benefits of the new system will
outweigh the estimated cost involved in developing, purchasing, assembling
requirements, installing and maintenance of the new system. The cost-benefits
analysis is carried out. Benefits can be tangible and quantifiable, e.g. profits in
terms of monetary values, fewer processing errors, increased production,
increased response time, etc. Other benefits are intangible, e.g. improved customer
goodwill, employee moral, job satisfaction, better service to the community, etc.
Technical feasibility: determines if the organisation can obtain software,
equipment and personnel to develop, install and operate the system and even to
maintain it.
Social feasibility: a measure of the system’s acceptance by the general public; if it
will meet the norms and values of the society.
Legal feasibility: This is determining if the system can conform to the laws and
statutes of the country. This is done by considering government legislation, e.g.
Data processing system must comply with the local Data Protection Acts
Operational feasibility: determines whether the current work practices and
procedures are adequate to support the system, e.g. effects on social lives of those
affected by the system, can it work well with existing hardware, etc
Operational feasibility assessment focuses on the degree to which the proposed
system fits in with the existing business environment and objectives with regard
to development schedule, delivery date, corporate culture, and existing business
processes
After carrying out the feasibility study, a feasibility study report must be produced and
it contains the following information:
• A brief description of the business.
• Advantages and problems of the existing system.
• Objectives of the new system.
• Evaluation of the alternative solutions.
• Development timetable.
• Management summary.
• Terms of reference.
• Proposed solution.
• Analysis stage:
This is the in-depth study of the system to determine how data flows within the system.
Analysis tools used includes:
• Decision trees
• Decision tables
It involves use of flowcharts, data flow diagrams, structure diagrams, decision
trees, and others, to describe the operations of the system in detail. The analysis
stage determines whether computerisation will take place or not. The analysis
stage also specifies the hardware and software requirements of the new/proposed
system, the advantages and disadvantages of the proposed solution, etc.
Analysis stage also involves identification of the following:
• Interviewing workers and management
• Alternative solutions: other solutions, not considering the chosen one
• Specification requirements: ( hardware requirements, software requirements),
personnel requirements, etc
• Carrying out the Cost-benefit analysis: weighing out costs of developing the new
system versus the benefits that will be realised.
• Determining how data flows within the system using DFDs
• Studying current systems inputs
• Studying current system outputs
• Decides on what the project/system needs to achieve
Dataflow Diagrams
These are diagrams that show how data moves between external sources, through
processes and data stores of a particular system. Dataflow diagrams use the
following symbols:
• Design Stage:
This stage is concerned with the design of the new computer based solution as specified by
the analysis stage. Design stage involves:
Input Design: includes designing of data entry forms, input methods (e.g. by filling
forms, use of barcodes, etc) and the user interface.
Output Design: Includes design of reports, data output formats, screen displays and
other printed documents like receipts, etc
File design: Involves designing tables/files, records and validation rules. It also
involves determining how data is to be stored and accessed, the media to be used
for storage and the mode of file organisation. Fields in each files ca be designed,
their length and data type, e.g.
File Name: Student File
Storage Location: Hard Disk
Mode of Access: Direct/Random
File Structure:
The computer environment is prepared, the programs to be written are done and they
are tested to determine if the run as expected.
Computer environment being prepared: electrical wires, network cables are
installed, furniture, air conditioning are in place. The computers are installed and
tested. It also involves the construction and assembling of the technical
components that are needed for the new system to operate. This includes
preparation of the computer room environment, coding of the computer program
using a specific programming language, testing of the coded program,
Testing strategies
• standard (normal) data testing: testing of data within the given range (should be
accepted)
• abnormal data testing: testing of data outside the given range (should be
rejected). It gives an error message when entered into the computer system.
• extreme (boundary) data testing: testing of the minimum and maximum values
in the given range (should be accepted)
• DOCUMENTATION AND USER TRAINING
Documentation refers to the careful and disciplined recording of information on
the development, operation and maintenance of a system. Documentation is in two
main types: user documentation and technical documentation
User Training:
Once a new system is put in place, existing employees are trained on how to
operate the new system, otherwise new employees are recruited. Users are trained
on how to enter data, search records, edit fields, produce reports, handling errors,
etc.
User training can be in the following forms:
• On the job training: Users are trained at their organisation by hired
trainers. This has the following advantages:
• Learners practice with actual equipment and the environment of the job.
• Learners can engage in productive practices while on training.
• This is cheaper for the organisation.
• Enough practice (experience) is gained on how to operate the system. Production
does not stop
a. Parallel Run: This involves using of both the old and new system concurrently
until the new system proves to be efficient. It involves operating the new and old
systems simultaneously until management is confident that the new system will
perform satisfactorily. Other workers will be using the old system while others use
the old system but doing the same type of job.
Advantages of parallel run
• Results for both systems are compared for accuracy and consistency.
• If the new system develops problems, it will be easier to revert to the old one.
• There is enough time given to determine if the new system produces expected
results.
• Employees have enough time to familiarise with the new system.
9. Maintenance/review/evaluation Stage:
This stage is concerned with making upgrades and repairs to an already existing system.
Certain sections of the system will be modified with time.
Maintenance can be to Perfect the system, to Correct some errors or to make it
adapt to changing needs, e.g change in government laws. Maintenance involves
the following:
• update hardware as new items come on the market or the company changes in
any way which requires new devices to be added/updated
• update software if necessary if company structure changes or legislation is
introduced which affects how the company operates
*NB: Meanings of these symbols are not universal and mean a different thing to others.
Some symbols are borrowed from program flowcharts.
Review Questions
• (a) A systems analyst was brought in to computerise a paper -based car sales
system. What methods could be used to gather data about the existing system? Give
reasons for your choice.
• What would need to be done before the new computerised system become
‘Live’?
• Why would PILOT and PARALLEL change over methods be suitable in this
application?
• A program is written to input daily temperatures. Name three types of test data that
could be used. Give examples of each type of test data which could be used and
discuss the outputs you would expect to get.
• Name five tasks that would be carried out at the DESIGN stage in systems analysis.
• Name four methods used to change over from a manual system to a new
computerised system. Discuss the relative advantages and disadvantages of these
four methods.
• Describe how the effectiveness of a new computer system can be assessed
• What tools exist to help the analyst draw up an action plan and ensure that the
project is completed on time and to budget?
• What information would a systems analyst need to gather to decide on what
hardware is required for a new computerised system?
• State 5 items that need to be included in the User guide and 5 items of the technical
guide of a newly developed computer system.
• Choose 6 symbols used in systems flowcharts and explain what each means.
Types of Errors
1. Transcription Errors: These are mistakes due to misreading or mistyping of data,
e.g., confusing the number 5 with the letter S, 0 (zero) instead of the letter O, etc. This
can also be caused by bad handwriting.
2. Transposition Errors: These are mistakes caused by swapping 2 letters or
digits, e.g. typing ‘ot’ instead of ‘to’, 5721 instead of 7521. Transposition errors
occur mostly when typing at very high speeds.
Avoiding Data Entry Errors
The following procedures can be used to avoid / reduce data entry errors:
1. Verification: Involves checking whether what has been entered into the
computer is similar to what is on the input document. Also done data is copied
from one medium to another, e.g. from paper to disk. Verification is done manually
by the user of the computer. Verification is carried out to determine errors that
cannot be detected by the computer.
NB:-Verification can also be used to determine if data has been correctly transferred
from one place to other(e.g. between devices or on a network).
Verification can be done in the following forms:
• Double entry:
• In this method, data is entered twice (using two different people); the data
is only accepted if both versions are similar.
• Double entry is often used to verify passwords by asking them to be typed
in again by the same person twice.
• Visual Checking
• This is checking for errors by comparing entered data with the original
document (NOTE: this is not the same as proof reading!!). If the entered data
is similar with the source document, then it has been entered correctly.
• Parity Checking
This is used in determining whether data has been correctly transmitted
between computer devices or on a network. It uses parity bits to verify
correctness of transmitted data.
• Parity Bits: A parity bit is an extra bit (1 or 0) that is appended to the left
of a byte to make it even or odd depending on the method of parity checking
being used. It is used in checking for errors in a group of bits transferred
within or between computers. Parity bits are also used to determine if a
block of data has been correctly transmitted over a communication channel.
It works in the following way:
• Using Odd Parity: The letter C is transmitted as 1000011. Since there are
three 1s in this byte, a 0 is added to the left so that the total for 1s is odd,
thus making it 01000011. The first 0 (underlined) is used as the parity bit.
• Using even parity: In even parity, a 1 would be appended to the left of the
byte so that the total number of ones is even, thus making it 1 1000011
• Check Digits: A check digit is an extra digit appended to the right -end of an
original number for error checking purposes and is calculated from the original
block of data using modulus 11.
*NB: - Check digits are used where data is entered automatically as in using
barcode readers and are important for checking for transposition errors
(swapped digits)
We have 9 digits. Working from the right, the first digit is multiplied by 2, second
number by 3, third number by 4 and so on. We start at 2 because position 1 is for
the check digit. The results are added together, e.g.
(1x10) + (5x9) + (1x8) + (2x7) + (1x6) + (1x5) + (3x4) + (2x3) + (3x2) = 112
The total (112) is divided by 11 and the remainder is noted; e.g., 112 divided by 11 = 10
remainder 2.
The remainder is subtracted from 11 to give the check digit: 11 – 2 = 9
9 becomes the check digit. Therefore the number will be transmitted as 1512113239
*NB: -
• If the check digit found is 10, an X is used as the check digit.
• If, upon dividing the total by 11 and the remainder is 0, then 0 is the check digit. This is
obtained as, 11-0=11. Divide 11 by 11 and take the remainder, which is 1 remainder 0,
thus 0 becomes the check digit.
• Check digits are used to detect where digits have been swapped
• Allocate weights for digits from right going to the left, starting as 2.
• Multiply each digit with its weight and add them.
• Divide the total by its modulus (11 in our case) and get the remainder. -
Subtract the remainder from the modulus (11) - The result will be the
check digit.
• However, some authors go further by saying that, divide the answer
(obtained after subtracting from 11) by its modulus (11) and take the
remainder. The remainder is the check digit.
Proving whether the given check digit is correct or not.
(1). Remove the given check digit, calculate your own check digit. If they are
similar, then the check digit is correct. If they are not similar, then the given
check digit is wrong.
(2) Re-calculate without removing the given check digit using the example given
below:
Example:
Here, the check digit is on position 1. So the numbers and their positions is as follows:
Position 10 9 8 7 6 5 4 3 2 1
Digit 0 1 3 1 5 2 4 4 7 X
Multiply each digit with its position and add the results, thus giving:
(10x0)+(9x1)+(8x3)+(7x1)+(6x5)+(5x2)+(4x4)+(3x4)+(2x7)+(1x10) = 132
Divide 132 by modulus (11) and get the remainder. This gives us 12 remainder
0.
NB: If the remainder obtained is 0, then the check digit is correct, if not, then the
check digit is wrong.
Questions
SOFTWARE
Software refers to a set of instructions written in computer language that tell a
computer to perform a specific task, like adding a set of numbers. Without
software, a computer will be useless. Software is grouped into systems software
and application software. The diagram below illustrates branches/groups of
software:
Systems Software: Refers to programs that control and manages the performance
of all computer systems. Systems software comprises of: (a) operating systems (b)
Utility programs (c) Translators (d) Device drivers
1) Operating System: - refers to the programs that supervise, control and manage
the performance of the computer hardware and software in accordance with set
objectives, for example, Windows 7. Examples of operating systems include:
Windows 95/98/2000/XP/ VISTA/ Windows 7/Windows 8, Microsoft Disk
Operating System (MS-DOS), Unix, Linux, OS/2, Ubuntu, etc.
The operating system is loaded onto the computer by the bootstrap loader.
Programs stored on ROM chip runs first and this checks if all hardware
components are working normally. It also checks the CPU and the Basic Input
output System (BIOS) for errors. If there are no errors, the BIOS will activate the
disc drive. The operating system is then found and the computer can boot. Booting
refers to the process of loading the Operating system into memory so that it takes
control over hardware and software resources of the computer.
NB: Household equipment like refrigerator do not have an operating system since
the processor has one task to perform, no multiple devices and tasks to handle,
hence they are cheap.
*NB: Response time – the time that elapses from the moment an instruction is given
to the computer and the time that instruction is carried out.
Turnaround time – the time taken from the moment a document is produced by a
computer and the moment it is used as an input document to that computer again.
NB. Most operating systems are written in low level language. This is for them to
quickly coordinate computer activities since they will not be converted as they are
already in machine language or less time is needed for conversion if the operating
system is written in assembly language. The following must be considered when
buying an operating system:
• Hardware type and computer design e.g. windows operating system works well on
IBM compatible machines.
• Applications intended for the computer e.g. accounting, stock taking, etc.
• Method of communicating with the computer, that is, use of few or many
peripherals and terminals.
• Method of operating the computer e.g. multi-access, multi-programming, etc
QWERTYUIOP
Types Of Operating Systems
• Single User Operating Systems: These are operating systems that allow
one computer user at a time in an interactive mode, for example MS-DOS, CP/M,
OS/2, etc.
Advantages of Single user operating systems are:
• They are cheap to buy.
• They are interactive, that is, they allow a two way communication between the user
and the computer in a conversational mode.
• They ensure better security to data since they only allow one user at a time.
• They provide simple command language.
Disadvantages of Single user operating systems
are: - They are very slow in processing data.
• Most of the computers are dedicated to one task.
• The commands are difficult to learn and to use.
• Commands are difficult to master.
NB- Control Programs: These are programs that monitor hardware operation on the
computer.
• Monitor (supervisor) programs: - These are programs that supervise and manage
hardware and software elements of the computer
Payroll Processing
These calculate wages and print payslips. It h the following inputs, processes and outputs:
Inputs: employee details (rate of pay, tax code, bank name, bank account number, etc),
number of hours worked, over time, etc.
Processing: Calculation of Gross Salary, Net Salary, deductions, updating master file,
etc.
Outputs: printed payslips, updated master file, transfer to bank account, etc.
Billing systems
Used to create bills and invoices to customers. It has the following inputs, processing
and outputs:
Inputs: customer details (names, address, account numbers, etc), charge, previous
readings, new readings, bank account details, etc.
Processing: calculating the number of total units, number of total cost, monthly payments
made, outstanding amount, etc.
Output: printed bill showing all details, updated customer file, etc.
• Translators: - These are programs that convert source code to object code.
Translators are in three forms, which are interpreters , assemblers and
compilers. These will be covered in more detail under Programming Languages.
• Utility Programs:
These are programs used to perform specific, useful and frequently needed task in
a computer system. They usually have one single task to perform on the computer
system. Utilities include the following:
• Virus Scan Utility: These are programs that protect computers from virus attacks,
for example Norton Antivirus, AVG, Avast, Esat NOD32, MacAfee, etc.
• Sort Utilities: These are programs used to arrange data, files and records into a
specific ordered sequence, for instance in ascending or descending order of a given
key.
• Debuggers: These are utilities used for assisting in correcting errors in programs.
• Dump Utilities: These are programs that assist in copying data from main storage
to output devices and to other storage devices like the hard drive.
• Editors: These are programs used to make changes to data already held in the
computer.
• Peripheral Transfer Utility: These are programs used to transfer data from one
peripheral device to another.
• System Status Utilities: These are programs that provide information on the state
of files, memory, users and peripherals.
• File Maintenance Utilities: These are programs used to reorganise programs and
to update them.
(d) Device Drivers: Programs that allows a device, e.g. printer to work on a given
operating system/computer.
APPLICATION SOFTWARE
This refers to programs and their documentation, designed to perform a specific task
for the user in daily life, like payroll processing, word processing, etc.
Integrated Package (Application suite) - a collection of application programs
purchased as one package, for example Microsoft Office 2010. It is a collection of a
word processor, spreadsheet, database and presentation packages bought as one
package, for example, Microsoft Office 2010.
*NB: A programmer is a person who specialises in designing, coding and testing computer
programs.
Software House is an organisation that specialises is developing software; this includes
both generic and tailor-made.
Special Purpose Application Software: - These are programs designed for one specific
business purpose, for example Pastel for accounting purposes.
• Spreadsheet Packages: These are application programs used to manage and analyse
statistical, numeric and financial data, for example Microsoft Office Excel, Lotus 1-2-3,
SuperCalc, etc. The structure of a spreadsheet is as follows:
• Presentation Packages:
• These are programs used for designing slides for a presentation to an audience, for
example Microsoft Office PowerPoint, Lotus Smart Suite, etc.
• Presentation packages include text, pictures, sound, animation, graphics and tables,
thus being multimedia.
• Presentations are colourful and attractive.
• Speakers and projectors are needed.
• Presentation packages have the following features:
• Have Clip art. Can accommodate images and graphics.
• Can use sound, video and animation.
• Incorporate Word Art.
• Have facility to insert charts and graphs.
*NB: Animation: - Creating illusion of moving sequence using a series of still images as
done in movies and cartoons.
• Database Packages (DBMS): Refers to programs used to create and maintain databases
for a specific application area.
They are used for maintaining and providing interface been users and the database and to
interface the database and other application programs.
Examples of database packages include Microsoft Office Access, Oracle, Dbase IV, MySQL,
etc
Properties/features of databases
Most database packages have the following features:
• Tables: These are equivalent to files and therefore are used to store data. The data
is stored in rows and columns. Each row in a table is called a record which is made
up of a number of fields (columns in the table). The data type in the fields is usually
either text, numeric or date/time. Most databases contain a number of tables which
are usually linked together in some way.
• Forms: Forms are commonly called data entry screens since they are the user
interface which allows data in the tables to be viewed, entered or edited. Forms
permit the control of how other users interact with the information in the database
e.g. only allow certain fields to be seen or only allow certain operations to be carried
out . This subsequently helps the protection of the information and also ensures it is
entered correctly
• Reports: Reports are produced as a result of questions such as
“date>=01/01/1975”. The data on report is extracted from queries or tables as per
user requirement. They display certain required data as needed by the user, e.g.
after searching or filtering of data. Reports can be printed out as hardcopy, or
viewed on the screen or exported (e.g. to a word processor, an email message, etc.).
• Queries: Queries are questions that request certain data from tables, e.g, Amount
<200. It can also be an instruction to search data which meets a certain criteria from
table and display it on the screen in form of another table created from the original
table. Most commonly allow information to be retrieved from tables. They also allow
filtering so only the records required are seen.
• Macros
A macro is a name or key that represents a series of commands or key strokes.
Many applications allow single word or single nominated key on a keyboard to
perform a whole series of actions. Macros can be either written as required and
then stored or stored in a library for future use. Macros can be very
sophisticated and save the operator a lot of time. For example, the name and
address in a word processor could be set up by pressing key F1 and the system
brings information from a related database
• Graphics Packages: Refers to programs used to create and edit graphs, diagrams,
drawings, charts and plans for buildings, for example Microsoft Paint, Harvard Graphics,
Corel Draw, Real Draw, etc. Computer graphics are images designed for logos,
commercial and news inserts during television advertisements or transmission.
• Web Browsers: Software used to open web pages on the internet, examples are:
Mozilla Firefox, Microsoft Internet Explorer, Safari, Opera, etc.
• Search Engines: These are packages used for searching data for the user from the
internet, e.g. google, yahoo, etc.
*NB: - Specialist Packages for Business: These are packages for use in a specific business
environment, for example, Pastel for accounting purposes.
*NB: - Install: - to add programs to the computer. Therefore to uninstall is to remove
programs from the computer.
TYPES OF SYSTEMS
• Real Time Processing System: - An online system in which individual, discrete
transactions are processed as they occur to influence the activity currently taking place,
as in airline reservation. Results of the process are produced immediately. The system
response quickly and give feedback of a request. Thus the system is interactive in nature.
Such systems include airline reservation systems, hotel reservations, stock control, etc.
Real Time Processing System can also be called Transaction Processing System (or
Real Time Transaction Processing Systems): this is a real-time (or pseudo-realtime)
transaction processing system whereby only individual items of data need immediate
processing, results and files are updated instantly e.g., airline reservation, balance enquiry
at an ATM, etc. Response to a query needs to be very fast and once a seat is booked it needs
to marked as “not available” immediately to avoid any risk of double booking.
Using this example of booking seats on a flight, the following sequence of events would take
place:
• customer/travel agent contacts the airline
• the customer/travel agents types in the day/time of flight and number of travellers
• the customer/travel agent types in the departure airport and the destination airport
• the airline database is searched and availability of seats checked
• if seats are available on the required day/time then a booking is made
• the database/file is updated immediately to indicate that these seats are no longer
available and prevents double booking from occurring
• if no seats are available a message is sent back to the customer/travel agent
• this uses real time (transaction) processing since the files are updated in real time;
interrogation of files will have access to totally updated information
• On-Line System: A system that is directly linked to the host computer for real-time
communication and provides interaction between the user and the job, as in POS
terminals in supermarkets. In networked computers, the terminals must be directly
linked to the host computer. Examples include ATM systems in banks, airline reservation
systems. Online systems can just be for information retrieval. Information retrieval
systems are there for users to access certain information promptly as on the internet. In
contrast, offline systems are computer systems that work without being directly
connected to the host computer.
• Network Systems: - A system in which processing is carried out independently in more
than one location but with shared and controlled access to some common facilities like
file storage.
• Control System: - A system in which one or more computers are used to monitor the
operations of some non-computer equipment like in oil refineries. Control systems
involve monitoring and logging of physical quantities, provide an analysis of
performance and allows some user interaction. Feedback is an essential element as well
as timing. Most control systems are real-time systems, e.g. oil refining, chemical
processing, traffic control, etc.
• Automated Systems: - These are control systems that are dedicated to one particular
task and lack the ability to collect and analyse data as in digital cameras. They do not
allow for or act on user interaction, e.g. washing machines, cameras, watches. Most
control systems have embedded computers systems inside them.
• Centralised systems: This is whereby processing is carried out at one central location
for an organisation with a number of branches. Users in other locations can view data
and utilise it but with limited capabilities. Centralised processing has the following
advantages:
• Hardware within the organisation will be compatible and can be linked.
• The organisation gets better deals in terms of maintenance contracts. Employees do
not have to learn new systems when they move from one department (or branch) to
another.
• It is easier to coordinate staff training courses using the same software and
hardware for all departments (or branches).
• There is better control over use of unlicensed software.
• Data can be exchanged easily between similar types of hardware and software
Disadvantages of Centralisation:
• Requires high initial capital investment of sophisticated equipment, operating
systems, well developed communication systems and complex application packages.
• Requires highly qualified and experienced personnel to run it.
• A system failure will paralyse the entire system unless expensive backup system is
provided.
• Users feel not being fully involved and therefore are not motivated.
FILE HANDLING
Types of files
• Master File: It is a permanent file that is kept up-to-date by applying transactions that
occur during business operations. It contains permanent (static) and semipermanent
data. Static data stored in database files can include Surname, First names, Date of birth,
etc.
• Transaction Files: These are temporary files that contain data that can change
regularly, e.g. on daily bases and it is used to update the master file. This includes sales
per day, student mark in a weekly test, etc. Transaction files are used to update master
files.
• Reference files: These are files that contain permanent data which is required for
viewing purposes only. The file can be displayed on the screen or printed without
altering it in any way. This includes data on tax bands, formulae, etc. No changes to files
are done.
• Data file: A set of related records (either written or electronic) kept together.
When entered into the database, the record will appear as follows:
NB:- * Indicates the end of field marker, and the ≈ indicates the end of record marker
Variable length records have the following advantages:
• They are more economical in terms of usage of disk storage space as they do not
allow spaces to lie idle.
• Data entered will not be cut but appears as entered no matter how long it is.
• may reduce time taken to read file/transfer data
• enables as many fields as possible to be added to a file
File Organisation
Refers to the way in which records in a file are stored, retrieved and updated. This affects
the number of records stored, access speed and updating speed. The most common
methods of file organisation are: Serial File Organisation, Sequential File organisation,
indexed – sequential file organisation and random (direct) file organisation.
• Serial File Organisation: This is whereby data is recorded one after another as
they occur, without any definite order, as supported by magnetic tapes. Data is stored
according to arrival time. Data is read from the first record until the needed data is found.
New records are added to the end of the file. Serial file organisation is not appropriate for
master files since records are not sorted and therefore are difficult to access and to update.
It is faster to find records at the beginning of the file, but takes too long to find records
towards the end of the file. Serial files are suitable for temporary transaction files since
records are not sorted.
Serial files promote Serial Access: whereby records are accessed by reading from the first
until needed record is found in an unordered file, e.g on magnetic tape.
• Sequential File Organisation: This is whereby records are sorted into a key
sequence, that is, in ascending or descending order of a given key filed as on magnetic
tapes. Sequential files organisation is appropriate for files with a high hit rate like payroll
processing. They are suitable for master files since they are ordered. However, it takes too
long to access records towards the end of the file since the records are accessed by reading
from the first record until the required data is found. However, searching of records at the
beginning of files is very fast. Adding of new records is difficult as this is done by re-
entering the data and the new record is inserted at its right position. It is time consuming
to update such records. Suitable for master files since records are sorted. This is used
where all records need processing, e.g payroll. Sequential Files promote sequential Access:
Sequential Access is whereby records are retrieved by reading from the first record until
the needed record is found in an ordered list of records, e.g. on magnetic tape. Sequential
access occurs where records are ordered using a key field.
The most common methods of file updating are: Updating in situ and Updating by
copying.
• Updating by copying
This happens in sequential file updating process. This is done through the following steps:
• A record is read from master file into memory.
• A record is read from transaction file into memory.
• Record keys from each file are compared.
• If record keys are the same, the master file is updated by moving fields form
transaction file to the master file.
In sequential file updating, it is
recommended to keep at least three master file versions that will be used for data
recovery in case of a system failure or accidental loss of data. The first master file is called
the Grandfather file, the second master file is called the father file and the third master
file is the son file. This relationship is called the grandfather-father-son version of files.
The process of keeping three versions of master files (grandfather-father-son) as a
result of sequential file updating is called File Generations. Thus the first master file
(grandfather file) is called the first generation file, the second master file (father file) is
called the second generation file and the third master file (son file) is the third generation
file. The following diagram illustrates the sequential file updating process:
*NB: - Always create data backups on compact disk or hard disks and re-run the old
master file with the transaction file if the computer system fails or if data is lost. This is
a data recovery method that works well.
*NB:- A backup is a copy of file(s) on an alternative medium like CDROM which is kept in
separate location in case the original file is damaged or lost and will be used for
recovery purposes. The original files could be deleted accidentally,
deleted by hackers, corrupted by system failure or could be corrupted by hackers.
PROGRAMMING CONCEPTS
Definition of terms:
• Program: a set of detailed and unambiguous instructions that instructs a computer
to perform a specific task, for example, to add a set of numbers.
• Programming: A process of designing, coding and testing computer programs -
Programmer: A person who specialises in designing, coding and testing computer
programs
• Problem: any question or matter involving difficulty or uncertainty and is proposed
for solution.
Programming Languages
A programming language is a set of symbols in computer language that are used in coding
computer programs. A programming language is a specially written code used for writing
application programs e.g C, Pascal, COBOL, BASIC, C++ and Java.
1. Low Level Languages (LLL): These are programming languages used to write programs
in machine code, that is in zeros and ones or in mnemonic codes. Low level language is in
two forms: Machine Language and Assembly Language.
a. Machine Code (Language) is the language used to write programs in binary form (zeros
and ones). Machine language has the following advantages:
• Programs run faster since they are already in computer language. There is no need for
conversion as programs are in machine language.
• Programs occupy very small disc storage space by storing just 1s and 0s.
b. Assembly Language: These are programming languages that use mnemonic codes in
coding programs. Mnemonic codes are abbreviations used in coding assembly language
programs, for example, LDA for Load, ADD for Addition, etc. Mnemonic codes are very close
to machine code, hence are low level language assembly language codes
Advantages of Assembly language:
• One assembly language instruction corresponds to one machine code instruction
and therefore translation is easier and faster.
• Programs run faster since they are close to machine code.
• They occupy very small disk storage space hence are economical to use.
• Easier for a programmer to use than machine language.
2. High Level Languages (HLL): These are programming languages that use Englishlike
statements in coding programs, for example COBOL, Pascal, BASIC, etc. There are so many
high level languages because each language is designed for a specific problem to be solved
in our daily lives. For example BASIC was designed for learning purposes, COBOL for
business applications, FORTRAN for scientific purposes, etc. Below is an example of a
BASIC program that accepts two numbers entered through the keyboard, adds them and
display the result on the screen:
INPUT “ENTER FIRST NUMBER.”, A
INPUT “ENTER SECOND NUMBER.”, B
SUM = A + B
PRINT SUM
END
Programs written in High Level Language are first converted to machine code before
running.
Disadvantages of HLL
• Takes long to run since they need to be first converted to machine code.
• They occupy a lot of disk storage space as compared to low level languages.
Translators
These are programs used to convert source code into machine code, and are in two types,
which are interpreters, compilers and assemblers, which are further explained below:
• Interpreters
These are programs that convert (translate) and run one instruction of a program at a time
before going to the next, until the end of the program, e.g. the BASIC interpreter. They do
not produce the machine code version of a program; hence conversion is repeated when
you run the program again. Thus interpreters retain source code. The interpreter must be
present in the computer for the program to run.
Functions of Interpreters
• They check syntax error in a program statement.
• They translate an instruction into machine language and run it before going to the
next.
• Allocates storage space to variables.
Advantages of interpreters
• It is easy to find and correct syntax errors in interpreted programs.
• It is very fast to run programs for the first time.
• It is very fast to run small programs.
Disadvantages of interpreters
• They are very slow in running very large programs.
• They do not produce an object code of a source code and hence difficult to use.
• The interpreter must be present in the computer for the program to run.
• Compilers
These are programs that convert a high level language program into its machine code
equivalent at one go and then run it, e.g. the COBOL compiler. Thus it translates the entire
program before running it. Once compiled, the program no longer needs conversion since
the machine code version is the one that will be run, until some changes are made to the
program code. Thus a compiler produces an object code of the program. The computer
must have a compiler for translation.
Functions of Compilers
• They check syntax errors in program statements.
• They allocate storage space to variables.
• Translate the whole program into machine code at one go.
• Run an object code of the program.
• Produces a program listing which indicates position of errors in a program.
Advantages of Compilers
• Compiled programs runs faster since the object code is run.
• Compilers indicate the line numbers with syntax errors and therefore assist
programmers in debugging programs.
• They are appropriate even for very large programs.
Disadvantages of Compilers
• Slower than interpreters for running programs for the first time.
• The compiler must be present for the translation process to occur.
• They can cause the computer to crash.
*NB: Source Code refers to the program written in English-like statements (High Level
Language) by the programmer.
Object Code refers to a machine code version of a source code. All programs written in
source code must be converted to object code for the computer to understand them.
• Assemblers: These are programs used to convert assembly language instructions into
machine language. Other uses of assemblers include:
• They generate machine code that is equivalent to assembly language.
• They are used to check the validity of instructions, that is, checking for syntax errors
in an instruction.
• They also assign memory locations to variables.
*NB: Library programs: this refers to a collection of standard programs and subroutines
that are stored and available for immediate use by other modules in the system. Library
programs are referenced by most modules in the systems.
*NB: Stepwise refinement: a technique used in developing a system by breaking it into
modules and then work on the internal working of a module.
*NB: The difference between a procedure and a function is that a procedure is a
subprogram that do not return a value while a function is a sub-program that returns a
value.
ALGORITHMS
A set of instructions describing the steps followed in performing a specific task, for
example, calculating change. Algorithms are not necessarily written in any specific
language. Algorithms can be illustrated using the following: Descriptions, Flowcharts,
Pseudocodes, Structure diagrams.
Advantages of algorithms
• not biased towards any programming language
• easy to convert to a program code or flowchart
• easy to determine logic errors
• has finite steps which lead to a solution
Disadvantages
• time consuming to design, i.e. first convert to flowchart, then to program code
• most people find them difficult to learn
• Descriptions: These are general statements that are followed in order to complete
a specific task. They are not governed by any programming language. An example is as
follows:
Enter temperature in oC
Store the value in box C
Calculate the equivalent temperature in oF
Store the value in box F Print the
value of box C and F End the
program.
VARIABLES
Definition: A variables is a memory location that can store a value that can change during
program execution.
Naming variables: Each programming language has its own way of naming variables.
However, the following conventions are common:
• a variable should not be a reserved word. A reserved word is a word with a specific
meaning / function in that programming language, e.g. Print, else, are reserved
words in BASIC
• Variables must start with an alphabetic character, not with digit.
• It is wise to name a variable using the data it stores, e.g. surname (to store
surnames), DOB (to store a date of birth), etc. Thus it must be meaningful to avoid
confusion
• Must not be too long
• Must be one word
IF...THEN ...ELSE statement: A programming structure that allows the user to choose one
from at least two routes of solving a problem. The following Pseudocodes compares two
numbers entered through the keyboard and determines the bigger one.
Enter first Number, A Enter first Number, A Enter first Number, A
Enter second number, B Enter second number, B
Enter second number, B
IF A>B THEN IF A > B THEN
Print A is bigger Print A is bigger IF A>B THEN Print A is bigger
ELSE ENDIF IF A<B THEN Print B is bigger
IF A<B THEN IF A < B THEN
Print B is bigger Print B is bigger IF A=B THEN Print Numbers are equal
ELSE ENDIF END
Print Numbers are IF A = B THEN
equal Print Numbers are
ENDIF equal
ENDIF ENDIF
END END
The above 3 Pseudocodes produces the same result.
CASE Statement: This is an alternative to the IF...THEN...ELSE statement and is shorter. For
example:
Enter first Number, A
Enter second number, B
Enter operand (+, -, * /) CASE
operand of:
“+”: C = A + B
“-”: C = A-B
“*”: C = A*B
“/”: C = A/B
ENDCASE
Print C
END
Iii. Repetition/Iteration/Looping:
A control structure that repeatedly executes part of a program or the whole program until
a certain condition is satisfied. Iteration is in the following forms: FOR...NEXT loop,
REPEAT... UNTIL Loop and the WHILE...ENDWHILE Loop.
a. For...Next Loop: A looping structure that repeatedly executes the loop body for a
specified number of times. The syntax of the For...Next loop is as follows:
A group of statements between the looping structures is called the loop body and is the
one that is repeatedly executed.
The For...Next loop is appropriate when the number of repetitions is known well in
advance, e.g. five times. An example of a program that uses the For...Next loop is as follows:
Sum, Average = 0
FOR I = 1 to 5 DO
Enter Number
Sum = Sum + number
NEXT I
Average = Sum/5
Display Sum, Average
End
b. Repeat...Until Structure: This is a looping structure that repeatedly executes the loop
body when the condition set is FALSE until it becomes TRUE. The number of repetitions
may not be known in advance and the loop body is executed at least once. The syntax is as
follows:
Repeat
Statement 1
Statement 2 loop body
................ Until {Condition} For example
Sum, Average, Count = 0
Repeat
Enter Number (999 to end)
Sum = Sum + Number
Count = count + 1 Until
Number = 999
Average = Sum / count
Print Sum, count, Average
End In the
above program:
• Count records the number of times the loop body executes.
• 999 is used to stop further data entry through the keyboard and thereby ending the
loop. Such a value that stops further data entry through the keyboard thereby
terminating a loop is called a Rogue value or sentinel.
• The condition here is {Number = 999}. The loop exits when the number 999 is
entered. If 999 is part of the number to be entered in this program, then the user has
to split it into two numbers, that is 999 = 990 + 9, therefore can be entered
separately as 990 and 9.
• A flag is also used to control the loop. In this case 999 is also a flag.
NB. As for the Repeat...Until loop, the condition is tested after the loop body has been run at
least once, even when the condition is true from start. This is rather misleading.
c. While ... Do Statement: A looping structure in which the loop body is repeatedly
executed when the condition set is TRUE until it becomes FALSE. It is used when the
number of repetitions is not known in advance. The condition set is tested first before
execution of the loop body. Therefore the loop body may not be executed at all if the
condition set is FALSE from start. The syntax of the WHILE…END WHILE structure is as
follows:
WHILE {condition}
Statement 1
Statement 2 loop body
................ ENDWHILE
The word WEND can be used to replace the word ENDWHILE in some structures and
therefore is acceptable. The word Do, after the condition is optional.
c. Flowcharts
It is a diagram used to give details on how programs and procedures are executed.
Flowcharts are drawn using specific symbols, each with its own meaning, as given below:
Symbol Explanation
Process Symbol - Indicates where some form of processing occur
3. Using Iteration
(a) Repeat ... Until Structure
Flowchart Pseudocode
equivalent
Sum, Average, Count = 0
Repeat
Enter Number
Sum = Sum + Number
Count = count + 1
Until Count > 10
Average = Sum / count
Display Sum, count, Average
End
b) WHILE...WEND Structure and the FOR...TO...NEXT Loop
d. Structure Diagrams: These are diagrams that show relationships between different
modules as given below.
Start
Sum, Product = 0
Enter First Number, A
Enter Second Number, B
Sum = A + B
Product = A * B
Display Sum, Product
End
The structure diagram above indicates five sub-programs of the program Process
Numbers, namely Initialise, Accept Numbers, Process Numbers, Display Results and Exit.
The module Process Numbers has its own sub-programs, which are Add Numbers and
Multiply Numbers. Modules are appropriate for very large programs. Can you write
pseudocode for individual modules? The program can be written as a continuous single
program as indicated on the right side of the diagram.
Interpreting and Testing Programs
Dry running (desk checking): the process of manually testing the logic of a program on
paper before coding on the computer. Dry running is done to determine the logic of a
program (to check if it gives intended results.)
Debugging: The process of finding and correcting errors in a program. Bugs are errors in a
program. A debugger is a program used in aiding the finding and removal of errors in a
program.
Programming Errors
Programming errors are grouped into:
i. Syntax error: this is an error of violating the grammatical rules governing sentence
construction in a certain programming language, for example, leaving a semi-colon at the
end of each line in Pascal. Syntax errors are detected by the computer. A program cannot
run with syntax errors. ii. Logic error (Semantic error): refers to an error in the
sequencing of instructions, modules and specifying wrong formulae that will produce
undesirable results. For example, instructing the computer to display result before any
processing has been done. Logic errors cannot be detected by the computer. The user just
finds wrong and unintended results of a process.
iii. Runtime (execution) error: These are errors that occur during program execution and
can be generated when the computer tries to read past an end of file marker or by dividing
a number by zero.
DATA TESTING
After a program has been coded, it must be tested with different data types to determine if
intended results are produced. The types of test data that can be used include:
i. Extreme Data(boundary data/border line data): Refers to the minimum and the
maximum values in a given range. For example, a computer program requires the user to
enter any number from (between) 1 to 20. 1 and 20 are extreme data and the computer
must accept these. Thus extreme data is accepted by the computer. ii. Standard (normal)
Data: This refers to data that lies within (in-between) a given range. In our example above,
the numbers from 2 to 19 are standard data and are accepted by the computer. iii.
Abnormal Data: This refers to data outside a given range. As to our example above, the
number 0, -1, -50 and all number from 21 and above are abnormal data. The computer
system gives/displays an error message if abnormal data is entered.
Testing Strategies
First step involves testing of the programs and various modules individually, e.g. - Top-
Down testing: program is tested with limited functionality. Most functions are replaced
with stubs that contain code. Functions are gradually added to the program until the
complete program is tested.
• Bottom – up testing: Each function is tested individually and then combined to test
the complete program.
• Black-box testing:
• Program is regarded as a black box and is tested according to its specification.
• No account is taken of the way the program is written
• Different values are entered for variables to determine whether the program can
cope with them. This includes standard (typical/normal), extreme (borderline) and
abnormal data values.
• White-box testing:
• Each path through the program is tested to ensure that all lines of code work
perfectly.
• Involves testing the program to determine whether all possible paths through the
program produce desired results
• Mostly appropriate if the program has different routes through it, i.e. uses selection
control structure and loops
• Involves testing of logical paths through the code
• Involves testing of the structure and logic of the program (if it has logical errors)
• Involves desk checking (dry running) - Alpha testing:
• The first testing done within the developers company (at owners’ laboratory).
• Testing is done by members of the software company
• Some errors may still be in existence after alpha testing as the testers are
programmers not users.
• The software version will be unfinished
• Testers have knowledge of the software and of programming
- Beta testing: System testing done after alpha testing; in which the program version is
released to a number of privileged customers in exchange of their constructive comments.
Mostly similar to the finally released version.
System testing
Once a program is tested, it is installed and the analyst can now test it. A very large
program must be tested using the following types of tests:
Advantages of GUI:
• It is faster to give/select commands by just clicking.
• It is easier for a novice (beginner) to use the system right away.
• It is user friendly (this is an interface that is easy to learn, understand and to use).
• There is no need for users to remember commands of the language.
• It avoids typing errors since no typing is involved.
• It is easier and faster for user to switch between programs and files.
• A novice (beginner) can use the system right away.
Disadvantages of GUI:
• The icons occupy a lot of disk storage space that might be used for storage of data.
• Occupy more main memory than command driven interfaces.
• Run slowly in complex graphics and when many windows are open.
• Irritate to use for simple tasks due to a greater number of operations needed. ·
Usually only predefined choice are available.
The user has to remember the commands to be typed when performing a specific task. An
example of a program that uses command driven interface is Microsoft Disk Operating
System (MS-DOS). The commands are abbreviated and short e.g. Del (for delete), copy,
print, etc.
Command Line interface is ideal for programmers and technically competent personnel.
Advantages of Command Driven Interface:
• It saves disk storage space since there are no icons involved.
• It is very fast in executing the commands given once the user mastered the
commands.
• It saves time if the user knows the commands by heart.
• Menu Driven Interface: This type of interface displays a list of options / commands
from which the user has to choose one by use of the mouse or keyboard. Below is an
illustration of a menu driven type of interface:
• PRINT RECORD
• DISPLAY RECORD
• DELETE RECORD
• EDIT RECORD
• MY OPTION IS: __
The user has to enter 1, 2, 3 or 4 and then press enter on the keyboard.
Advantages of Menu Driven Interface:
• It is fast in carrying out task.
• The user does not need to remember the commands by heart.
• It is very easy to learn
• No need to consult manual
DATABASES
A Database is a collection of related and organised files sharable among computer users of
an organisation. Databases enable addition, deletion and modification of data held in the
computer.
A database system (elements) is made up of stored data, software to maintain the database,
procedures and the person working with the database.
Relational databases organise data in a flexible manner. They are also simple to construct
and are easy to use. However, it may be difficult to come up with relationships.
From the above database structure, it can be noticed that:
• There are three records for Kapondeni, Turugari and Moyo. A record is also called a
tuple.
• There are four fields: Student Number, Surname, First Name and Date of Birth. - The
student Number is used as a Primary Key (Key field) because it gives a unique(one)
record. A primary key is a field that is used to identify a unique record from a database.
All other fields from the above database are not appropriate for a key field because they
can identify more than one record. That is surnames can be similar for 2 or more people
as well as date of birth.
*NB: Concatenated key: the combination of two or more fields in a database in order to
identify a unique record, e.g. using the Surname, First Name and Date of Birth in search of
one record.
*NB: Secondary Key: A field used to identify more than one record at a time, e.g. a
surname.
*NB: Attribute: A characteristic of a record, e.g. its surname, date of birth.
Entity: any object or event about which data can be collected, e.g. a patient, student,
football match, etc.
Data types for fields can be:
• Numeric: consists of digits 0-9 only (negative or positive), 12, 900, -50, etc -
Alphabetic: Consists of letters of the alphabet (a-z, lowercase or uppercase) only, for
example a person’s name, like Tungamirai.
• Alphanumeric: Combination of digits and letters of the alphabet, eg. National
Identification Number, like 27-134575-C-27
• Text: Combination of digits and letters of the alphabet.
• String: Combination of digits and letters of the alphabet
• Currency: in monetary value, e.g. $10.00
• Date/time: shows date and time, e.g. 27/01/1997
• Array: An array is a series of elements of the same type placed in contiguous memory
locations that can be individually referenced by adding an index to a unique identifier.
• Network Databases
These databases have links that are used to express relationships between different
data items.
Advantages of Databases
• Validation checks are made on data during entry thereby reducing data entry errors.
• Searching and retrieval of data is very fast.
• Less likelihood of data getting lost.
• Record structure can be easily modified if the need arises.
• Files can be linked together making file updating easier and faster.
• Avoids/reduces data redundancy.
• Data can be secured from unauthorised access by use of passwords.
• Users can share data if the database is networked.
• Duplication of records is eliminated.
• Ad hoc reports can be created easily.
• Sorting of records in any order is very fast
Disadvantages of databases
• If the computer breaks down, you may not be able to access the data.
• It is costly to initially setup the database.
• Computer data can be easily copied illegally and therefore should be password
protected.
• Takes time and costs to train users of the systems.
• Expensive to employ a database administrator who will manage the database
Flat file: this is a 2-dimensional file, comprising of rows and columns, that are used to store
data, e.g. in a spread sheet. A flat file has the following weaknesses:
• Data is not sharable among users
• Too much duplication of records
• Too much data redundancy
• Difficult to manage
However, the introduction of the computer systems means that staff would need new skills,
can lead to unemployment, people are likely to work from home, could lead to de-skilling
and some health problems will suffice.
Sample Question
A database stores details about cars in a showroom: The database information can be
amended, deleted or new ones inserted due to:
Amended: information in the databases is incorrect. Price of vehicle needs to be changed
(e.g. sales). Change of vehicle colour.
Deleted (record deleted): Vehicle is sold or Vehicle is scrapped
Inserted/ added: new vehicle arrived. More information about current vehicle becomes
known.
CODING DATA
Data to be entered into the computer can be coded / written in a short way, for example:
In databases, a field for sex can be coded as follows: F for Female, M for Female. In this case
the user just enters F or M and not the whole field as it is. The column for colour can also be
coded as B for Black, R for Red, Y for Yellow, etc.
Features of Codes
• Should be of the same length.
• Must be easy to use.
• Must not be too short in case you will run out of codes.
• Codes are often unique
• Buffers: This is a temporary memory store for data awaiting processing or output,
compensating speed at which devices operate, for example printer buffer. Buffering is
appropriate where an output device processes data slower than the processor. For
example, the processor sends data to the printer, which prints much slower and the
processor does not need to wait for the printer to finish printing in order for it to carry
out the next task. The processor therefore saves the data, awaiting to be printed, in a
buffer where it will be retrieved by the printer. Buffering usually match devices that
work at different speeds, e.g. processor and disk.
Reasons for using printer buffers:
• Stores data or information being sent to the printer temporarily.
• Compensates for difference in speed of CPU and printer.
• Allows CPU to carry out other tasks whilst printer is printing.
• Scheduling: This is whereby the processor decides the loading and execution of
programs to provide continuous job processing sequence. Scheduling can do this by giving
time slices to each computer or by queuing jobs. A number of scheduling algorithms can be
used; e.g Shortest Job First, Shortest Remaining Time, Round Robin, First Come First
Served, etc. Scheduling generally ensures that:
• No resource is heavily under-utilised or over-utilised.
• The maximum number of interactive users get a reasonable response time.
• Making sure that no job is pushed to the back of a queue.
• Getting maximum number of jobs done in the minimum amount of time.
*NB: Directory: - a folder used to store other folders and files in a hierarchical structure.
Directories are usually created in MS-DOS systems.
MALWARE
Malware (malicious software) is code or software that is specifically designed to damage,
disrupt, steal or inflict some other “bad” or illegitimate action on data, hosts, or networks.
Types Of Malware
1. WORM
A malicious program capable of reproducing itself and spread from one computer to the
next over a network and consume computer resources like memory and CPU. It does not
delete files as viruses do. Worms travel unaided through the computer network. It does not
require a host file or human assistance for it to spread.
• Trojan Horses
These are malicious programs that appears as programs useful to the user with the
intention of soliciting information like user accounts and passwords or damaging computer
system files and desktop settings. It can also allow other users to access confidential
information from your computer. They do not self-replicate.
• COMPUTER VIRUSES
A computer virus is a malicious program which attaches itself to computer file, replicates
itself, damages, destroys or corrupts files and memory of the computer, for example, boot
sector viruses. Computer viruses spread with human action, e.g. run an executable file.
Viruses also need a host file to attach to it for it to spread. By replication, it means that the
virus can multiply itself (produces several similar copies of itself) when it enters the
computer system. Examples of known viruses are: Virus Melissa, Jerusalem, Cascade, etc.
Antivirus programs
These are programs that detect computer viruses and reduce the risk of computers being
attacked by viruses for example Norton Antivirus, MacAfee, Avira, Avast, AVG, etc.
This type of virus only comes into action when the file containing the virus is executed.
• Macro Virus
These attack macros in applications, e.g. in databases and spreadsheets. The most well-
known macro virus is probably Melissa, a Word document supposedly containing the
passwords to pornographic websites.
• Multipartite Virus
A virus of this type may spread in multiple ways, and it may take different actions on an
infected computer depending on variables, such as the operating system installed or the
existence of certain files.
• Polymorphic Virus
Another jack-of-all-trades, the Polymorphic virus actually mutates over time or after every
execution, changing the code. Alternatively, or in addition, a Polymorphic virus may guard
itself with an encryption algorithm that automatically alters itself when certain conditions
are met.
This broad virus definition applies to any virus that inserts itself into a system’s memory. It
then may take any number of actions and run independently of the file that was originally
infected.
DATA COMMUNICATION
This deals with the means of sending and receiving data on networked computers.
Transmitted data can be in analogue or in digital form.
Digital Data: Data is in discrete value, that is, in ones and zeros.
Analogue Data: Data is in continuously varying form, in physical or original form e.g.
human voice.
Transmission Modes
Transmission modes include Simplex, Duplex (Full duplex) and Half Duplex
Simplex Mode: This is a mode of data transmission in which data travels only in one
direction (uni-directional). Thus one computer acts as the sender and the other as a
receiver forever. See diagram A, above.
Half Duplex: This is a transmission mode in which data travels in both directions but not
simultaneously. It is bi-directional but not simultaneous.See diagram B above. The receiver
waits until the sender has finished sending data in order for him to respond.
Transmission impairments
This refers to change in signal form as it propagates through the transmission channel.
Transmission impairments include:
Attenuation: The loss of signal power as it moves through the transmission channel.
Noise: Occurs when an unwanted signal from other sources than the transmitter enters the
transmission channel.
Multiplexing
Transmission Media
Refers to forms of media through which data is transferred from one point to another.
These include:
• Twisted Pair: These are cables with two copper wires of about 1 millimetre thick.
The wires are twisted to avoid crosstalk. Twisted pair is very cheap to buy and offer good
performance over short distances.
Disadvantages of twisted pair: Twisted pair is very cheap to buy. Has big attenuation.
Has low bandwidth
• Fibre optics: A media that uses light to transmit data. It has less attenuation, has
very high bandwidth and cannot corrode (not affected by corrosion), it is thin and
therefore has less weight. However, fibre optics is very expensive to buy and is
unidirectional (travels in one direction only)
NB: a UPS is a device connected between a computer and a power source to ensure that
electrical flow is not interrupted. UPS devices use batteries to keep the computer running
for a period of time after a power failure. UPS devices usually provide protection against
power surges and blackouts as well.
• Data integrity
This refers to the correctness and accurateness of data held in the computer. The issue of
data integrity and security lead to the introduction of some data protection laws which
govern how organisations holding public data must operate.
• Eye problems: - itchiness of eyes caused by light reflected by computer screens. This
can be solved by:
Wearing spectacles (glasses). Use of antiglare screens: these reduce the amount of light
reflected by the screen. Adjusting screen settings so that it becomes darker. Very bright
colours are dangerous for eyes.
• Backbone problems: sitting on the computer for a long period can cause this. This can
be solved by:
Using a chair that is adjustable to fit the height suitable for each employee. Sitting up while
using the computer.
• Increase in the amount of litter due to dumping of used and old computers
• Children are being exposed to pornography, hate literature, racism and dangerous
experiments like those for manufacturing bombs on the internet. This can be solved by:
Installing software that prevents children from accessing restricted sites on the internet
like Net-Nanny, Surfwatch, Cybersitter, etc. This software blocks inappropriate sites and
subject matter. Teachers and parents need to closely supervise students during internet
access. Firewalls can also be installed as a security measure.
WHAT IS A COMPUTER?
It is an electronic device that works under the control of stored programs to automatically
accept, store and process data into information. Therefore, a computer has the following
characteristics:
• It is electronic:- can only work when there is electricity
• It is a device: a machine
• Is controlled by programs: Works according to instructions, written in computer
language, given by the user for it to perform a specific tasks.
• Is automatic in operation: Can work with minimum or no human intervention.
• Can accept data: data can be entered into the computer through various means and
the computer accepts it.
• Can store data and programs: Data and programs entered into the computer can
be stored for future use.
• Can process data into information
• Information: It is data that has been converted into meaningful form. In general it
is processed data. Information can be understood and therefore can be used for decision
making purposes. Information is meaningful. To get relevant information, data entered into
the computer must be relevant, accurate and up-to-date. If data entered into the
computer is wrong (Garbage In) the results will also be wrong (Garbage Out), and is
generally referred to as Garbage-In Garbage-Out (GIGO). It is a rule stating that the
quality of the output is a function of the quality of the input; put garbage in and you get
garbage out. Therefore the accuracy of the results produced by the computer depends on
how accurate the user enters data, functions, formulae and codes program procedures.
Computer Generations
Refers to stages through which computers developed from the 1940s to date. These are as
follows:
• First Generation Computers (1945 -1955): These are the earliest computers that
used valves in controlling machines, e.g. EDVAC, ACE and UNIVAC machines. These
were very large computers, fitting about the size of an average room. They were
programmed in a language understandable by the machine. Such computers used a
lot of electricity and were very expensive to purchase. Only very large organisation
could afford these computers. Such computers were huge, slow, expensive and often
undependable.
• Second Generation Computers (1955 -1965): These are computers that used
transistors instead of valves. They were faster, had reduced size, were more reliable
and less expensive.
Second generation computers were: faster, more reliable, smaller, much cheaper to
build, gave off virtually no
heat, conduct electricity faster
Transistor
• Third Generation Computers (1965 – 1980): These used integrated circuits e.g.
the IBM (International Business Machines) computers. The integrated circuit, also referred
to as semiconductor chip, packs a huge number of transistors onto a single wafer of silicon.
These computers have increased the power, lowered cost, carry out instructions in billionths
of a second, and smaller.
Microprocessor
• Fifth Generation Computers (1990 to date and beyond): These use natural
language and can flexibly interact with the human being. Such systems are used in medical
diagnosis, mineral prospecting and in geological researches. Such computer systems are
capable of human intelligence and are commonly called expert systems.
Types of Computers
The types of computers are: Micro-computers, mainframe computer, super computer
& mini-computer. They can also be digital or analogue computers.
1. Micro Computers: These are computers with a microprocessor inside them and occupy
a small physical space. They are cheap, small, relatively slow and have limited memory,
often single user, easy to use and have low computing power. Microcomputers include
the following:
• Desktop Computers: These are computers with a separate CPU and monitor and fit
on a desk during usage. They are relatively cheap. They are easy to add expansion
cards on them. However, they take up large desk space. They are not portable
• Personal Computers (PC): - These are microcomputers made for use at home for
general purpose, and includes desktop computers. They are cheap, more powerful
and has good storage capacity disks.
Advantages of desktop/PCs
• Low cost
• Spare parts tend to be standardised
• Faster processors, 2.0 GHz
• Large casing allows good dissipation of any heat build-up Disadvantages
• Not portable
• Take large desk space
• All devices need to be wired together which might be too complex
• Palmtops: These are portable microcomputers that can fit in the palm and pocket
and are used as diaries and for other small business applications.
They are Handheld Computers that are small enough to be carried in a pocket and
include Personal Digital Assistants (PDAs) and Cell phones. These are mostly used
as diaries, word processing, faxing, internet browsing, calculator, contacts, etc. PDAs
and all palmtops are portable. However, they are expensive and have limited expansion.
They are even slow to input
data using them.
• Laptops (Notebook computers): - These are portable computers that use an
internal battery for power and can be placed on laps during usage. The keyboard,
pointing device, monitor and processor are all designed as one unit.
They have LCD (Liquid Crystal Display) screens which are not as bright as most
Laptops are small like a briefcase and are portable and can be used in areas where there
is no electricity. They have light weight and are battery powered. They consume less
electricity. The processor does produce too much heat. They also do not have trailing
wires as everything is in one unit. They can take full advantage of WIFI.
Laptop computer However, laptops can easily get stolen, they need recharging from
time to time, some find it difficult to use the
laptop keyboard and inbuilt mouse, and they are
even expensive to buy and to repair. They also
have limited expandability and docking stations.
Laptops are more subject to wear and tear due to
portability. They can also be stolen easily.
• Netbook Computer: These are smaller versions of laptops, they can almost fit in a
hand and do not have optical devices (CD/DVD drive) on them. Their benefits and
problems are similar to those of laptops. However, they are cheaper and they have a
weakness that they do not have optical devices.
• Tablet Personal Computers: Type of notebook that accepts input from an
electronic pen
For schools and school children, laptops have the following advantages:
• Users can save data in their own storage area wherever they are.
• Users can get any networked software wherever they are.
• School needs fewer printers.
• Users do not need to keep using the same machine.
• Users can access school intranet from anywhere.
• Users can access Internet from anywhere.
• Users do not need to carry CD ROMs.
• It is easier to communicate with.
• Can email work to teachers even from home.
• Staff can monitor students easily.
• Students and teachers can share files and notes easily.
• Mainframe Computers: these are large and powerful computer systems. They are
mostly used in large organisations like banks and where bulk data processing is needed
such as census, industry/consumer statistics, and financial transaction processing. They
have the following features:
• they can have several CPUs,
• have very fast processor speed
• can support multiple operating systems
• have huge storage capacity
• have huge internal memory
• can operate using time sharing or batch processing
• Allows several users and can accommodate multiple processors.
• They are very large and expensive.
These are very big in size and extremely fast. They have very large memory capacity
and can be used in educational designs.
However, because of their size, they are not portable and are permanently
Mainframe computers
housed in a large room.
They are also expensive to
maintain and to operate.
4. Super Computers: These are very powerful computers that are used to perform
detailed calculations and for design purposes, for example, modelling of aircraft wings,
testing bombs, etc. They are the fastest and most expensive computers
Supercomputer
*NB:- The classification of computers as micro, mini, mainframes and super computers
have become blared due to recent technological advancements since a microcomputer can
now perform all functions that were believed to be for mainframes.
Classification of computers can also be made relating to the use of the computer, as follows:
(a) General Purpose Computers: - these are computers that can be used to perform a
number of functions like playing music, playing games, payroll processing and so on. (b)
Special Purpose Computers: - These are computers that are designed to perform one task
only, for example, to monitor patients in hospital.
• Analogue Computers: these handle data in continuously varying form.
• Digital Computers: Handle data in discrete values; that is in 0s and 1s.
• Embedded Computers: – Refers to use of microprocessors in non-computer
equipment like in cameras, washing machines, watches, etc. These are normally
dedicated for a specific task they are designed for. Embedded computers are also found
in household items like camera, microwave, washing machine, video recorder, fridge,
sewing machine, air conditioning, electronic toys, rice cooker dish washer, Televisions,
alarms, clock, radio, DVD players, etc.
Microprocessor controlled devices have the following advantages:
• To Manufacturer:
• Fewer breakdown and repairs. They are therefore easier to repair and service
• It is cheap as there are fewer parts to assemble
• Reliable
• Improve quality control
• To Customers
• Robust and therefore fewer repair bills
• Low power consumption
• Cheap to buy
• Faster processing
• More versatile
• Efficient since they can be dedicated to a specific task
Hardware: These are parts of a computer that exits in physical form, for example mouse,
keyboard. Hardware refers to tangible devices of a computer. Hardware is grouped into:
Input Hardware, Processing Hardware, Output Hardware, Storage devices and
communication hardware.
Input Hardware
These are devices used to enter/feed data into the computer, for example mouse and
keyboard. Below are some of the input hardware and their uses:
(i) Keyboard: It is a device used to enter data and instructions into the computer by
typing. It is a manual input device. It is similar to the traditional typewriter. It is used to
enter alphabetic letters (A-Z-both lower case and upper case), numbers (0-9, positive and
negative) and other special characters like the %, $, coma, ?, and the space. Keyboard entry
of data is manual and its excessive use without breaks will cause Repetitive Strain Injury
(RSI).
*NB: - A character is any symbol, digit or letter that can be entered into the computer, eg.
$, %, 5, h, etc. These characters can be numeric (numbers 0-9, positive and negative),
alphabetic (letters A-Z, both lower and upper case), alphanumeric data (a combination of
both numeric and alphabetic characters) and special characters
(d) Numeric keypads: mostly used to enter numbers only. Used on ATMs, to enter PIN
and amount to be withdrawn. Also found on cell and telephones, Chip and pin
devices, and on Electronic Point of Sale terminals (EPOS). They are faster in entering
numeric data as compared to standard keyboards, very easy to carry around if
found on cell phones. However, they have very small keys which can be difficult to
use. It is difficult to use them for entering text data.
• Mouse: It is a pointing device used to enter data and instructions into the computer by
clicking. A mouse has either one, two or three buttons. A mouse can be cable or
wireless. The mouse is also used to:
• Select options from a menu
• Position the cursor when editing text/typing - Select an object for drawing and
for editing diagrams - Select icons/text to be formatted, deleted or edited.
• Control movement of pointer on the screen.
Advantages of mouse
• It is a fast method of entering data and for selecting items as compared to the
keyboard.
• It is faster to move cursor around the screen using a mouse than a keyboard.
• Usually supplied with the computer and so there are no additional costs.
• Very easy to use for most users.
• Take up very small area of the desk
• Very fast to switch between programs
Disadvantages of mouse
• Needs a flat surface on which to operate
• Can be easily stolen or vandalised
• Some people find it very difficult to use
•
• Touchpad
These are pointing devices used on laptops, where one moves a figure to control the
pointer on the screen. Their uses are similar to those of mouse. They aid portability since
they are attached to the whole computer system. Can also be used where there are no flat
surfaces available. However, they are difficult to use, e.g. when doing drag and drop.
Flatbed scanners have the paper placed on top of them, in a similar way to a
photocopier. These are more
Scanners
expensive than hand-held scanners but
they are usually able to produce higher resolution
images. They are very accurate
in scanning. Images are stored for
later editing. Quality of scanned image can depend
on the resolution of scanner.
A touch screen is both an input and output device. A touch sensitive visual display
unit (VDU) or screen has a grid of light beams or fine wires criss-crossing the screen
that are used to detect touch. Many mobile phones use touch screens and do away with
the keypad entirely. They're often used on cash machines and in shopping centres too.
Touch screens are robust, easy to choose options. Faster to make selections. User
Touch screen friendly (less training needed). Tamper proof.
However, they have limited number of options, leads
to RSI, screen can get dirty by constant touching.
Advantages of trackball
• It is stationery and therefore do not need a flat surface to move on
• Less likely to get damaged than mouse
• Less tiring as less movement is needed
• Can be useful in laptops
Disadvantages
• Rolling the ball is less effective than using mouse
• Can be difficult to control
• Not supplied as standard device, so extra cost is incurred
• Muscles can be strained due to repeated movement
• Remote Control
Device used to control the operation of other devices remotely by using infra-red signals.
Has button to select options, e.g. TV stations, volume, etc.
Uses
• Used in home entertainment devices like TVs, DVD players, HIFIs, etc
• Remote controls for multimedia systems
• Stop/ start machinery in industrial applications
Advantages: Allows devices to be controlled from a distance, Flexible to the disabled, safer
to use in chemical processes.
Disadvantages: People arm problems/disabilities cannot use them, signals can be blocked
(need a line of sight)
• Microphone: It is an analogue input device that
recognises human voice for data entry into the computer.
Microphones are used to input sound. In computing, they can be used with voice
recognition software and a word processing application to enter text.
Webcams commonly have microphones built-in too.
*NB:-An analogue device is a device that recognises data in continuously varying form, e.g.
microphone, wall watches (with minute, hour and second hand), fuel petrol gauge,
speedometer, etc.
A microphone is used in voice recognition systems (voice synthesis). These are
computerised systems that allow users to communicate with the computer by talking
(voice input). Such systems have the following advantages:
• The systems are over 90% accurate.
• They are appropriate for the handicapped, especially those without hands.
• They are very fast in entering data and in giving instructions to the computer.
• They are speaker independent.
• They can recognise natural language.
Disadvantages:
• Older systems are speaker dependent.
• They allow the user to speak slowly, using specific words that were programmed for
it to understand.
NB: Multimedia speakers, sound cards, a microphone and voice recognition software are
needed in voice recognition systems.
• Light pen: A ballpoint shaped device used to enter data by writing on an ink pad. It
is also used to make alterations on the screen to the drawings, to write directly on the
screen and to select commands.
Light pen
• Kimball Tags: These are punched cards with a magnetic strip which contains
details of a product, mostly clothes in a shop.
• Graphics tablet: Devices used to provide interface for drawing on the screen and
links with the light pen. Can also be used with a stylus. Can be used for drawing
• Webcam: A digital video camera designed to take digital photographs and transmit
them over the internet or to the computer. They do not have own memory. Laptops have
their own web cam.
Uses: viewing each other when chatting on internet. For video conferencing. For taking
personal images.
Advantages: can be left on and only activated when required. People can see each other
when chatting.
• Sensor: an input device that automatically records physical data by sensing the
environment it is supposed to record, e.g. humidity sensor.
• Magnetic Stripes: Magnetic stripes can be seen on train tickets or bank or credit
cards.
• Smart Card Readers: Similar to magnetic strip readers except that they are used to
read data stored on a chip. Most bank cards and credit cards are now smart cards. Also
used on royalty cards, ID cards, electronic passports and transport passes.
Cards have their own processor and memory that can hold up to 64KB of data. The data
that is stored can be updated and the processor can process simple programs.
Smart cards
• Smart cards are simple to produce
• Not easily damaged
• Store a fairly large amount of information - Automatic input devices, reduce
paperwork However:
• Data can be changed by magnetic fields
• The strip can be damaged by scratching
• Limited storage capacity
• Not very secure as thieves can alter the data.
How does the computer system checks that the barcode has been read correctly?
Either the computer performs the following:
Calculates the check digit; remainder = 0 if barcode has been read correctly OR uses the
weights and modulus 11 and use remainder Areas where barcodes are used: - Library
book systems
• Passport and ID card systems
• Equipment checking systems
• Automatic stock taking in supermarkets
(xx)Video digitiser
A video digitiser takes an image from a video camera or television and digitises it so it can
be read by, and stored on, a computer. Video sequences captured using video digitisers are
often used in multimedia presentations.
(xxi) Stylus: device used to write on sensitive pads or screen for data entry into the
computer. Often purchased with touch screens
DOCUMENT READERS
These are devices used for entering data automatically into the computer by reading
through documents. These include:
• Optical Mark Recognition (OMR): The Optical Mark Readers use light sensitive
devices to sense pencil marks on a piece of paper for automatic data entry into the
computer. Light is reflected from the document onto the Optical Mark Reader which
records the output. It then records low intensity/zero intensity at certain points. OMR is
mostly used in marking multiple choice exams at ZJC and ‘O’ Level, reading pupils’
registers, playing lotto, etc. An Optical Mark Reader is the device that is used for automatic
data entry in OMR systems.
• OMR is fast in entering data
• It is also accurate and reliable in entering data.
• Has better recognition than OCR
• Can be prepared where data originates, without machines
• Errors can be corrected easily However:
• Mark readers are relatively slow
• Verification of data is difficult
• Document may be difficult to design
• Forms must be completed clearly for data to be recorded accurately - Papers need
to be clean
• Magnetic Ink
Character Recognition (MICR): A method of automatically entering data into the
computer by reading characters on documents past a magnetised field with iron oxide, e.g.
reading numbers on the bottom of a cheque.
Advantages of using magnetic ink on cheques include:
• Bundles of cheques can be processed very
quickly.
• It is very difficult to forge a cheque.
• The ink can be read by the reader even if
the cheque gets marked or dirty.
A Magnetic Ink Character
Reader is the device that is
used for automatic data
entry in MICR systems
OUTPUT DEVICES
These are devices used to display and produce data and information held inside the
computer, for example: screen, printer and graph plotters. These are described below: (i)
Printers: A printer is a device that is used to produce hard copies of data held in the
computer. Hardcopy is a document printed on paper. Output from the printer appears as
displayed on the computer screen, thus What You See Is What You Get (WYSIWYG).
Types of Printers
Printers can be classified into impact and non-impact printers.
• Impact Printers: these are printers whose write heads hit ink ribbon against
paper during printing, e.g. dot matrix printer, chain printer, daisy wheel, printer, drum
printer, etc. Thus, there is contact between the paper and the write heads during the
printing stage. Examples include drum printers, dot matrix printers, daisy wheel
printers and chain printers. Impact printers have the following advantages:
• they are very cheap to buy.
• They are cheap to repair and to maintain.
• They can use continuous paper.
• They are economic in terms of ink usage.
Weaknesses
• Low resolution
• Noisy
• Slow printing speed: this is because they can be character based or line based
printers.
• Non-Impact Printers: These are printers that do not produce contact between
paper, write heads and ink cartridge during printing. Non-impact printers include: inkjet
printer, laser printer, thermal printer, etc.
Laser printers
Most of the printers use light and are therefore called laser printers.
The advantages of laser printers are as follows:
• They print at very high speeds since they are page printers.
• They produce high quality text and graphics.
• They produce less
noise than LaserJet printers dot-matrix printers (they are quiet in their
operation).
• Have paper trays both for input and output and therefore need no
supervision once setup.
• The toner is not water-soluble The disadvantages of laser printers are
as follows:
• they are very expensive to buy,
• they are large and therefore take up a lot of desk space,
• they are quite complex and therefore repair bills can be very high,
• Multipart stationery cannot be used,
• Cannot be used with continuous stationery since they are page printers.
• Toner is toxic and therefore should be disposed of carefully after use.
*NB: - Printers can also be classified as page printers (these print one page at a given time
and are therefore faster), line printers (print one line at a time, very slow) and character
printers (print one character at a time).
Advantage of Monitors
• Its output is immediate and visual
• High speed of display
• No noise
• No wastage of paper
• Can display text, graphics, etc
•
Disadvantages
• When the display changes, the previous output is lost.
• Needs a separate device to produce hardcoy
• Graph Plotter: This is a device used to produce high quality drawings in various paper
sizes and is used in Computer Aided Design (CAD). A plotter can be used to produce
high quality, accurate, A3 size or bigger drawings. They are usually used for Computer
Aided Design (CAD) and Computer Aided Manufacture (CAM) applications, such as
printing out plans for houses or car parts. They print sharper and more precise
drawings.
Graph plotter
• Data/data projector
An output device that uses lenses to project intense light on the wall. Can be multimedia
projector and offer wider/ bigger screen display on the wall. Ideally the surface should be a
whiteboard. Suitable for presentations to a wider audience. However, it is more expensive
to buy and has a fragile bulb.
• Speakers: produce sound from music files on the computer. They are used in
conjunction with multimedia files.
• Actuators: these are output/control devices which turns on or off some devices in
control systems. Some of the control devices include electric heater (supplier heat),
electric motor (provide movement/rotation), motorised pump, buzzers, lights, heaters,
actuators, etc
PROCESSING DEVICE
A device used to convert and to manipulate data as per user requirement. The sole
processing device of a computer is the processor, which is inside the Central Processing
Unit (CPU) casing. Processing involves sorting of data, updating records, searching certain
records, adding a sequence of numbers, and others.
The processor has the following functions:
• It controls the transmission of data from input device to memory
• It processes the data and instructions held in main memory
• It controls the transmission of information from main memory to output device.
• Controls the sequence of instructions,
• Give commands to all parts of the computer,
• Fetches the next instruction to be executed
• Decodes instructions
The speed of a processor determines the speed and function of a computer. Until the 1980s,
most computers had one processor, but recent ones have two or more processors (called
co-processors), those with two processors are called dual processors. Two or more
processors share loads and therefore perform operations faster. The speed of a computer
is also determined by the clock speed for each microprocessor. This speed is measured in
Megahertz (MHz). The general structure of the CPU or Processor is as illustrated below:
NB: Memory (Main memory): Stores programs and data for programs currently running
on the computer. Main Memory is very close to the processors and therefore the two can
coordinate their activities very fast.
- ALU operations on data are first loaded into the accumulator register, a memory which
stores instructions, data being processed and results of an operation.
The function of the microprocessor is to fetch, decode and execute instructions. This is also
called the Fetch-Execute cycle.
Buses
• A bus is a pathway through which data and signals are transferred from one device
to another in the computer system.
• They are a set of parallel wires connecting two or more components of the
computer.
• Buses can be internal or external.
• Buses can be generally referred to as system bus and this connect the CPU, memory
and I/O devices.
• Each bus is a shared transmission medium, so that only one device can transmit
along a bus at any one time.
• Multiple devices can be connected to the same bus · The main types of buses are: -
Data bus:
• Used for carrying data from memory to the processor and between I/O ports.
• Comprises of either 8, 16, 32 or 64 separate parallel lines
• Provide a bi-directional path for data and instruction’s between computer
components. This means that the CPU can read data from memory and input ports
and also send data to memory and output ports.
• The width of the bus determines the overall system performance. For example, if the
data bus is 8 bits wide, and each instruction is 16 bits long, then the processor must
access the main memory twice during each instruction cycle
- Address bus:
• Used for transferring memory addresses from the processor when it is accessing main
memory
• They are used to access memory during the read or write process
• The width of the address bus determines the maximum possible memory capacity of
the computer.
• This a uni-directional bus (one way). The address is send from CPU to memory and
I/O ports only.
- Control bus:
• The purpose of the control bus is to transmit command, timing and specific status
information between system components. Timing signals indicate the validity of data
and address information. Command signals specify operations to be performed.
Specific status signals indicate the state of a data transfer request, or the status of
request by a components to gain control of the system bus
• This is a bi-directional bus used for carrying control signals (Signals can be transferred
in both directions).
• They carry signals to enable outputs of addressed port and memory devices ·
Control signals regulate activities on the bus.
• Control buses transmit command, timing and status information between computer
components.
Fan
A fan is used to cool the processor. It blows away hot air to that the processor remains cool.
STORAGE MEDIA
These are devices used to store data and programs for future use.
Methods of storing data:
Refers to ways files and records are stored on a storage media, that is the arrangement of
data. These include:
• Serial Storage: Data is stored as they occur without following any order, as on
magnetic tapes.
• Sequential Storage: Data is stored using a predefined order, either in ascending or
descending order of a key field, as occurs on magnetic tapes.
• Direct (Random) Storage: Data is stored in a random way using an index, as on
diskettes, hard disks, CD-ROMs, etc.
Storage Capacity
Refers to the amount (volume) of data a device can store. The following storage
measurements can be used:
Bit: The smallest unit of data a computer can store, either a 1 or a 0.
Nibble: refers to half a byte, that is, a group of 4 bits.
Byte: a group of 8 bits representing a character. For example, the letter C is represented by
the byte 01000011.
Size Equal to
8 bits 1 byte
1024 bytes 1 kilobyte
1
1024 kilobytes
megabyte
1024
1 gigabyte
megabytes
1024 gigabytes 1 terabyte
Kilobyte (KB): this refers to 1024 bytes.
Megabyte (MB): 1 MB is equivalent to 1 048 576 bytes.
Gigabytes (GB): 1024 megabytes (approximately 1 billion bytes)
Terabytes (TB): refers to 1 099 511 627 776 bytes (approximately 1 024 GB)
*NB:-Formatting (initialising) a disk: this is the process of creating new tracks and
sectors on the disk that will be used in storing data. When a disk is formatted, existing
tracks and sectors are destroyed, including the data stored on them, and new ones are
created. After formatting, the disk will be blank. Formatting is done using the FAT or the
NTFS file system. FAT (or FAT16) stands for File Allocation Table:- It is a file system
used by MS-DOS and Windows operating systems to organise and manage files. It is a data
structure that Windows creates when you format a volume by using FAT or FAT32 file
system. Windows will store information about each file in a FAT so that it can retrieve the
file later. FAT uses 16 bit filing system. FAT32 uses 32 bit values and uses drive space more
efficiently and supports drives of up to 2 TB. Storage media is grouped in primary storage
and secondary storage:
RAM Chips
(b) ROM (Read Only Memory): ROM is a semi-conductor circuit (chip) whose contents
can only be read from and cannot be erased or modified. ROM contents are fixed during
manufacturing, that is, they are hard – wired. These contents can only be read from and
cannot be modified.
The uses of ROM are:
• Stores the Basic Input-Output System (BIOS-refers to software that test hardware at
start-up, starts the operating system and support data transfer between devices.) of
the computer.
• Stores control programs for the operation of the computer and its peripherals.
• Stores translator programs.
ROM is grouped into:
Programmable Read Only Memory (PROM): This is a ROM chip whose contents can be
change d but only once. It is re-programmable only once.
Erasable c m mm mmogrammable Read Only Memory (EPROM): This is a Read
Only Memory chip whose contents can be erased and modified several times.
Electrically Erasable Read Only Memory (EEPROM): This is a Read Only Memory chip
whose contents can be erased and modified several times using electricity.
• Magnetic Tapes: They are similar to a normal cassette tape in shape. They store
data in serial and sequential order. They are mostly used to backup data. Their storage
capacity can be up to 20 GB. Data is also accessed in serial or sequential order. They can be
used as off-line storage media.
• Hard Disk (Hard Drive): These are disks used to store large volumes of data and
programs, including operating systems and are resident in the CPU casing. Data is stored
on tracks in a random way and data retrieval is in a random way. Hard disks can store data
of up to 300 GB, but ranges from 2 GB, 8 GB, 20 GB, 40 GB, 80 GB, 120 GB, etc. a hard disk
can be internal or external. External hard disks have a larger storge capacity and can be
used to back-up the system
Uses of Hard Disk:
• Creating backups for data.
• Storing communication and applications software.
• Storing of the operating system from which the computer will boot.
• Transferring large volumes of data from one computer to another.
High Density Window: - indicates that a disk can store data on two sides, thus allowing
more data to be stored on them. 1.44 MB disks are double density disks.
Disadvantages of Diskettes:
• have very short life span (not durable).
• Can be affected by humid conditions.
• Can easily be affected by dusty conditions.
• Can easily be damaged if placed close to the screen for a long time.
• Takes long to read data into memory than from a hard disk.
• Hold very small amount of data, 1.44 MB.
(d) Zip Drives: Similar to diskettes in shape but does not flop. Data is stored in a random
way. Data is accessed in a random way. Storage capacity is 100 MB.
Advantages of Zip Drives:
• They are portable (easy to carry around as they can fit in a shirt pocket.).
• Conceals less electricity.
• Relatively cheap
• Most are high Double Density drives.
• More durable than diskettes
• Good for archiving data Disadvantages of Zip Drives:
• Hold small amount of data of about 100 MB.
• Not as compact as USB flash drive · Slow data transfer rates
Solid State Storage Media
These are storage devices with no movable parts. They are based on electronic circuits
with no moving parts (no reels of tape, no spinning discs, no laser beams, etc.). Solid state
devices use a special type of memory called flash memory. Examples of solid state devices
include flash memory, USB memory stick, memory cards, etc. solid state devices takes the
form of solid state drives (SSD), solid state cards (SSC), solid state modules (SSM), etc
• Flash Memory
Flash memory is a type of EEPROM. Flash memory is non-volatile (like ROM) but the data
stored in it can also be erased or changed (like RAM). Flash memory can be found in many
data storage devices. You might wonder why, since flash memory is non-volatile, normal
computers don’t use it instead of RAM. If they did we would have computers that you could
turn off, turn back on again and no data would be lost – it would be great
The reason is speed – saving data to flash memory is very slow compared to saving it to
RAM. If a computer were to use flash memory as a replacement for RAM it would run very
slowly.
However some portable computers are starting to use flash memory (in the form of solid-
state ‘discs’ as a replacement for hard-drives. No moving parts mean less to go wrong and
longer battery life.
• Memory Cards
Many of our digital devices (cameras, mobile phones, MP3 players, etc.) require
compact, non-volatile data storage. Flash memory cards provide this and come in a
variety of shapes and sizes.
One of the most common formats used by digital cameras is the SD Card. The cards store
the digital images taken by the camera. Mobile phones contain a Subscriber Identity
Module (SIM) card that contains the phone’s number, the phonebook numbers, text
messages, etc. Many phones also have extra memory cards to store music, video, photos,
etc. (e.g Tiny Micro-SD cards).
Memory Cards: memory card is like a portable hard disk that fits into personal computer
card slot.
They offer direct access to data, are portable, can fit even on tablet computers like cell
phones, have large storage capacity of up to 8 GB.
They can get lost easily. Virus spread quickly through them.
Memory cards
• Smart Cards
Many credit cards (e.g. ‘chip-and-pin’ cards), door entry cards, satellite TV cards, etc. have
replaced the very limited storage of the magnetic strip (the dark strip on the back of older
cards) with flash memory. This is more reliable and has a much larger storage capacity.
Cards with flash memory are called smart cards.
Each of these small devices has some flash memory connected to a USB interface. Plug it
into your computer and it appears as a drive. You can then add files, erase files, etc. You can
use it to move any type of file between computers.
• Bus: A communication line used for data transfer among the components of a
computer system
• USB: - An external bus that supports Plug and Play installation of devices. Using
USB, you can connect and disconnect devices without shutting down or restarting your
computer. You can use a single USB port to connect up to 127 peripheral devices, including
speakers, telephones, CD-ROM drives, joysticks, tape drives, keyboards, scanners, and
cameras. A USB port is usually located on the back of your computer near the serial port or
parallel port.
• USB port: An interface on the computer that enables you to connect a Universal
Serial Bus (USB) device. USB is an external bus standard that enables data transfer rates of
12 Mbps (12 million bits per second).
Compact disc
• Produces high quality sound and pictures.
• It is a multi-media device.
Disadvantages of CDs: Can be affected by direct sunlight. Less
durable. They can easily get scratched. Not so easy nor fast to
save data on them
Types of CDs
• CD-ROM (Compact Disk Read Only Memory) a common form of optical
Disks on which data, once it has been recorded, cannot be modified.
• CD-W (CD-Writeable) an optical disk that can be written upon, but only once. Often
called WORM (Write Once Read Many) disks.
• CD-RW (CD-Rewriteable) on optical disk that allows personal computer users to
replace their diskettes with high-capacity CDs that can be written upon and edited
over.
Uses of DVDs:
• Transferring larges volumes of data from one computer to another.
• Creating backup storage for programs and data.
• Booting the computer when loading the operating system or restoring damaged
system files (system repair) Advantages of DVDs:
• Provide fast and direct access to data.
• Has large storage capacity of about 4 GB.
• Produces high quality sound and pictures.
• It is a multi-media device.
Disadvantages of DVDs:
• Can be affected by direct sunlight.
• Less durable.
• They can easily get scratched.
Caring for DVDs, VCDs and CDs:
• Do not expose them to direct sunlight.
• Do not touch the recording surface.
• Use soft marker for labelling and not ball point. · Keep the free form dust
conditions.
*NB: - Virtual Memory – Refers to temporary storage (on hard disk) used by the computer
to run programs that need more memory (RAM) than the computer has. For example,
programs could have access to 4 gigabytes of virtual memory on a computer's hard drive,
even if the computer has only 32 megabytes of RAM.
• Distance learning made easier through chartrooms, digital interactive television, CD-ROM
(storage of encyclopaedia, learning materials (content)). Learning materials like the
encyclopaedia can be stored on the CD ROM as it will have the following advantages as
compared to a printed (manual) encyclopaedia:
• Cannot write to it so cannot be changed.
• Can use sound, text as well as video for students to understand better.
• Search of data is quicker.
• Can printout data conveniently.
• It takes up less space.
• Is more portable.
s
However, the electronic encyclopaedia has the following disadvantages as compared to a
manual one:
• Users need a suitable multimedia computer for them to use it.
• The computer could crash and access to data will not be possible.
• Can lead to electricity expenses.
• Cannot be read in awkward locations.
• Takes time to start up the computer.
• The disk can be stolen easily.
• You can’t add notes to a Recordable Compact Disk
• People with communication difficulties like the blind and deaf are assisted, e.g. in voice
recognition systems.
• Computers can be used to organise events in schools, for example, parents’ visits,
timetable, etc.
• Used to store students data, exams, teachers records, etc. vi. Used as teaching aids in all
subjects. Enables interactive teaching vii. For marking multiple choice examinations on
scanner sheets viii. For storage of student data pertaining to subjects, teachers and
subjects taken. ix. Used as a subject for student to learn, e.g. Computer Science,
Information Technology, etc.
• Used for carrying out researches and experiments which may be dangerous for
human beings to do.
• Computers can also be used in Computer Aided Learning (CAL) and Computer Aided
Instruction (CAI).
CAI: a teaching system that operates on drill and practice principle, for instance, in
teaching computers, a student is presented with a word and its meaning. The student
studies it and will be asked its meaning at a later stage.
CAL: This whereby a lesson is rehearsed before the computer and then played back to the
class when the teacher is not physically present. The computer is thereby used to teach the
pupil. For example, the computer present a topic just like a teacher does in a lesson. Pupils
are asked questions. If they fail, the lesson is repeated; otherwise a new topic will be
presented. CAL has the following advantages:
• This system allows pupils to study at their own pace, repeating sections they do not
understand.
• Material is presented in a consistent way making learning easier.
• Few teachers are required.
• Computers are endlessly patient and can repeat sections that pupils did not
understand without hesitation.
• Used for typing and printing examination papers and keeping of student results.
Some schools have pupils who are either blind or partially sighted. Computers could be
used to help these pupils to learn in the following ways:
• Use of sound (voice) output and speech synthesiser.
• Use of speech (voice) input, recognition or microphones.
• Type using large characters (large font size) on the screen.
• Use of Braille keyboards, touch screens, touch pads.
• Use of bright colours to improve visibility.
• Use of scanners to input information and output speech.
• Use of printers which give output in Braille Xiii: Electronic Registration (e-
registration) of students
xiv. E-marking of student examinations
• Used for cash disbursement at the Automated Teller Machine (ATM). An ATM is a
computerised, special purpose cash disbursement machine outside banking halls used
even when banks are closed. Services offered at the ATM include:
• Balance enquiry,
• mini-bank statement,
• facility to change PIN code,
• cash withdrawal, etc
PIN (Personal Identification Number) - a secret number used by individual account
holders to access bank account and get service at the ATM. The account holder needs a
debit card for him/her to access bank services at the ATM.
The Account holder inserts the debit card into the hole on the ATM, which in turn request
the user’s PIN. The user enters the PIN and then presses enter. The ATM validates the PIN,
and if it is correct, allows the user to select service required from the list of options
available. If the user enters the wrong PIN for three consecutive attempts, the ATM would
not eject the debit card, assuming that you are not the owner of the card and no service
shall be given.
• Clearance of cheques: The main branch receives cheques from other branches and
processes them using the batch processing method. MICR is used to read data from the
cheques into the computer.
Electronic banking (e-banking): the process of carrying out all bank transactions
electronically on the internet (internet banking) and by use of cell phones. This is almost
similar to tele-banking.
For Internet banking, credit cards are required for clients to get access to the bank
accounts. Data about credit cards is stored on the magnet strip and this includes: Date of
issue, Bank code, Branch code, Account number, Card number and Expiry date. Information
entered by a client to access banking services from home includes: Account Number,
Account name and password.
In home banking, users can stop a cheque, enquire their account balances, transfer money
between accounts, pay bills, order a cheque book, look at account transactions for a given
period, request a change of pin or password, amend or create standing orders/direct
debits, print statements and change personal details. It is impossible to withdraw cash or
pay in cash.
When purchasing the goods, the supermarkets and any other shops check the following on
the credit card:
• Check if the card is valid.
• Check if credit limit is not exceeded.
• Check if credit card is not reported as stolen.
• Check if expiry date has not been exceeded.
The introduction of ATMs, EFT and electronic banking, including internet banking has the
following advantages and disadvantages.
Advantages to Bank workers
• Their workload is reduced, for instance the burden of counting cash and service
many clients can be done the ATM.
• Reduction in mistakes, for instance counting cash and updating wrong accounts as
the computers validate details during entry.
• Reduction in working hours.
• Increased salaries.
• Better working conditions
• Database Administrator:
• Manages the database of an organisation,
• Ensures security of data in databases
• allowing or controlling access to database,
• updating the database
• Hardware Technician:
• For troubleshooting hardware faults
• Repairing of computer hardware like printers, replacing parts, etc.
• maintenance of hardware
• Network Technician:
• for troubleshooting the network
• for network maintenance
• upgrading the network
• Network Administrator:
• giving access rights to the network
• Systems Analyst:
• Investigates information systems
• Identify system problems
• Carries out the cost-benefit analysis Recommends solutions to problems.
• Plans the development of the system
• Implements the system
• Test the developed system
• Programmer:
• Designs computer programs
• Coding of programs
• test computer programs
• debugging programs
• write algorithms (flowcharts, pseudocodes , etc)
• Produce user documentation
• Produce technical documentation