Computer Science Syllabus Notes
Computer Science Syllabus Notes
Definitions:
1. An electronic device that works under the control of stored programs to automatically accept, store and
process data into information
2. It is an electronic and digital data processing machine.
3. It is an electronic and digital data processing machine which works with stored programs.
4. It is an electronic machine capable of accepting, processing, storing and output data or information
Definition of terms
Electronic- it uses electricity to perform its functions.
Digital- accept and process data in binary form/digits i.e. zeros and ones.
Processing- Transforming data into information.
Machine- Anything which makes work easier.
Stored Program- Set of instructions kept for execution.
Program - a set of coded instructions which a computer follows
Data: Data- Refers to raw facts/unprocessed information/ raw facts and figures of an activity. It can just
be a list of numbers, names or a combination of these. Data is meaningless and needs to be processed. Data
cannot be used for decision making purposes as it is meaningless.
Information: Refers to processed data which is meaningful to the user. 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.
CHARACTERISTICS OF A COMPUTER
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.
STORAGE MEDIA
e.g Hard disk
Forms 1 to 4 Computer Science Syllabus Notes Page 2
ADVANTAGES OF USING COMPUTERS
They process data at very high speed thus large volumes of goods can be produced.
Computers are very accurate in making calculations and thus ensure that no calculation errors
occur.
Computers are very reliable to use since they rarely makes mistakes.
Computers store large volumes of data for a long period of time.
Computers cut labour costs as they can perform duties that need many people.
They replace humans and thus cut labour costs on wages, medical aid, retirement benefits, leave
payments, etc.
Computers can work for 24 hours a day with no complains as humans.
They do not get tired.
Computers create employment for the community, for example, computer teachers (tutors),
programmers, computer technicians, database administrators, etc.
High quality goods are produced using computers.
Ensures efficient, easier and faster communication through the internet.
DISADVANTAGES OF USING COMPUTERS
Continuous usage can lead to health problems like Repetitive Strain Injury (RSI), back ache,
eye problems, etc.
Lead to increase in computer crime (the use of computer to perform unlawful activities) like
computer fraud (improper electronic transfer of funds from one account to another using
computer).
Hacking (Obtaining unauthorised accessed to protected and secure computer
systems or network, usually using intelligent methods), music and software piracy (illegal copying,
selling and buying copyrighted software without certification.).
Data theft using computers, sending of viruses, etc.
Copyright: A document granting exclusive right to use, publish and sell software, musical or
artistic work.
Can lead to unemployment since computers can replace human labour as in car assemblies.
Expenses related to repairs, maintenance and safety can be high.
They only work when there is electricity.
End-user: A person or organisation who are the final beneficiaries of a program or a device like a
computer.
ELEMENTS OF A COMPUTER
The main elements (components) of a computer are classified into Hardware elements and Software elements
HARDWARE
Hardware refers to tangible devices of a computer. These are parts of a computer that exits in physical
form, for example mouse, keyboard.
Hardware is grouped into: Input Hardware, Processing Hardware, Output Hardware, Storage hardware/devices
*NB: - A character is any single symbol, digit or letter that can be entered into the computer. 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
(space, $, >, etc.).
*NB: - Control Character: - Refers to non-printable character code or number in the character set that do not
represent a written symbol. These are mostly used in peripheral devices control and for communication
purposes, for example, carriage return, tab or backspace; and others typed by depressing a key and the control
key at the same time.
Advantages Disadvantages
Enables fast entry of new Users with arm/wrist problems can find keyboards hard to use
text into a document
Very easy to use Fairly large and take up desk space
Information appears on the Entering data can be slow when compared to direct data entry (e.g. scanning a
screen as it is typed so it is bank card)
easy to verify (check for
correctness)
MOUSE
It is a mouse shaped device used to enter data and instructions into the computer by
clicking. It can also be used for pointing and selecting items. Clicking is the process of
pressing and releasing the mouse button. It is a fast method of entering data and for selecting
Advantages Disadvantages items.
Faster to select an option compared to People with poor hand movement or
using a keyboard. disabilities can find mice difficult
Mice enable easy navigation around Easily damaged and ball mice pick up dirt and
applications and internet become clogged/blocked
Small and take up very little space Hard to use without flat surface
It is an input device with a small ball that can be moved by passing the palm of your
hand over it. This will move an arrow on the screen. It is used to draw designs and to
select options from menu. It is mostly found on laptop computer
Advantages Disadvantages
People with limited hand/wrist Trackerball tend to be more expensive than mice
movement find the easier to use
Pointer can be positioned more
accurately on the screen than with a
mouse
Take up less desk space than a mouse
as they do not need to be moved
around
SCANNER
This is an input device used to convert images from paper into electrical signals for input
into the computer. The images can then be edited, printed or saved. Mostly used to
scan pictures, photographs, etc. A scanner can be connected to a computer
using USB, Firewire, Parallel, or a SCSI port. The picture shows an example of a flatbed
photo scanner, the Epson V300.
Advantages Disadvantages
Images can be stored for later editing at a The quality of the scanned images can be limited depending
later date on the quality of the scanner.
Scanners are much faster than having to Images lose quality during the scanning process
type in the documents again
You can scan in damaged documents then Images can take up a lot of disk space
repair using Graphic Editing software
TOUCH SCREEN
A screen display on which you could enter data by pointing with a finger on intended option, used on (ATMs)-
Automated Teller Machines, cell phones, computers, etc.
pti
uc Advantages Disadvantages
Faster to select an option compared to using a People with poor hand movement or disabilities can
keyboard. find touchpad difficult
Touchpads enable easy navigation around More difficult to control the pointer when compared
applications and internet with the mouse
Included in the laptop so no need for separate mouse. More difficult to perform operations such as drag
This helps improve portability and drop
Can be used even when there are no flat surfaces
available
Don’t get clogged with dirt as ball mice can
*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). These systems are now over 90%
accurate and 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 and can recognise natural
language. However, older systems were not speaker independent and allowed the user to speak slowly, using
specific words that were programmed for it to understand. Multimedia speakers, sound cards, a microphone and
voice recognition software are needed in voice recognition systems.
Advantages Disadvantages
Faster to read in text rather than type it in using a Sound files can be quite large and take up memory
keyboard
Sound input onto your computer can be edited Voice recognition software isn’t very accurate and can
using Sound Manipulation Software lead to errors (e.g. cannot tell the difference between
“their” and “there”).
Voice recognition can be used to make tasks
safer. (Like using voice to operate a radio in a
car
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.
GRAPHICS TABLET
Devices used to provide interface for drawing on the screen and links with the light pen.
Alternatively referred to as a drawing tablet and pen tablet, a graphics tablet is
a hardware input device that enables an artist to draw or sketch digitally using a pen
or stylus. They are helpful because they provide a more natural and precise feel than a
standard computer mouse. The picture to the right shows an example of a Pen Graphics
Tablet from Wacom.
DIGITAL CAMERA
A device use to capture photographs, films, videos or a combination of both for entry into the computer where
they can be edited.
Advantages Disadvantages
No film needed. No developing costs to view the Digital cameras can be very expensive
pictures
Images can be viewed immediately and Quality images can be quite large in size and can take
WEBCAM
A webcam is a hardware camera connected to a computer that allows anyone connected to the
Internet to view either still pictures or motion video of a user or other object. The picture of the
Logitech Webcam C270 is a good example of what a webcam may look. Today, most webcams
are either embedded into the display with laptop computers or connected to the USB or Fire
Wireport on the computer. A digital camera designed to take digital photographs and transmit
them over the internet.
Advantages Disadvantages
Webcams can be left on constantly. They Picture is often of poor quality (image break up)
only activate themselves when you need
them
Allow people to have face to face They need to be connected to a computer and internet
conversations without needing to travel connection in order to work
Chatting: are commonly used to allow people to see each other whilst chatting over the internet.
Formally this is called 'teleconferencing'
Tourists: There are hundreds Webcams of webcams dotted around the world that are pointed to an
interesting scene such as the outside view of a lab in the Arctic or maybe the Niagara Falls. The web
cam is attached to a computer which sends an image to a server on the internet on a regular basis.
People then connect to the server to see the latest image.
Security: Webcams can also be used to capture an image only if movement is detected in the scene in
front of it so they are widely used in burglar alarm and other security equipment
These are devices at Point of Sale Terminals (POS) that read bar codes on
products for automatic data entry into the computer. Mostly used in library
systems, luggage handling systems at airports, warehouse stock control, etc.
Bar codes are numbered vertical lines and spaces of varying size on products that provide data
for such a product to the computer when read by bar code readers. If the bar code reader fails
to read the bar codes, data is entered manually through the keyboard by entering the numbers below the bar
codes.
Advantages Disadvantages
Webcams can be left on constantly. They only Picture is often of poor quality (image break
activate themselves when you need them up)
Allow people to have face to face conversations They need to be connected to a computer and
without needing to travel internet connection in order to work
Product name
Check digit.
Product number.
Country of origin.
Manufacturer’s number.
Weight
How 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
DOCUMENT READERS
These are devices used for entering data automatically into the computer by reading through documents.
These include:
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 and reading pupils‟ registers. OMR is fast and
accurate in entering data. An Optical Mark Reader is the device that is used for
automatic data entry in OMR systems. OMR allows for the processing of hundreds or
thousands of physical documents per hour.
Advantages Disadvantages
Very fast way of inputting information. (10,000 Forms need to be accurately designed to make sure that
forms can be read per hour) the marks/shading are in correct position to be read by
the device.
100% accurate as documents are fed in If forms have been incorrectly filled in they cannot be
automatically and no need for user input. read properly.
(This means that they have to be manually checked
It is the use of light sensitive devices to recognise alphabetic characters and numbers on a sheet of
paper for automatic data entry into the computer. Mostly used by insurance companies, in billing
systems and processing of Bank Giro-forms. An Optical Character Reader is the device that is used
for automatic data entry in OCR systems.
Advantages Disadvantages
Much faster way of entering information into The system can have difficulty reading handwriting.
the computer compared with using a
keyboard.
Cheaper than paying someone to manually Not a very accurate technique
enter information.
100% accurate as there is no manual entering As it is not 100% accurate, information needs to be
of information. (Device does it manually checked for errors. This is time consuming.
automatically)
Advantages Disadvantages
Greater security than OCR because the special Only a very limited number of different characters can
ink characters cannot be changed. be read.
NO manual input… therefor less errors. (User Both Reader and Magnetic Ink are more expensive than
just swipes information through the reader). other methods of automatic data entry
SENSORS
An object whose purpose is to detect events or changes in its environment then provide
corresponding output e.g temperature sensor, pressure sensor, light sensor, sounds sensor,
humidity or moisture sensor, water level sensor, movement sensor, switch or button sensor,
proximity sensor etc
REMOTE CONTROL
Component of an electronic device such as television set, DVD player, radio etc. to operate the
device wirelessly from short distances.
ADVANTAGES:
DISADVANTAGES:
Easily lost
Need to be quiet close to object
NUMERIC KEYPAD
A numeric keypad, number pad, numpad, or ten key is the palm-sized, 17-key
section of a standard computer keyboard, usually on the far right. It provides calculator-
style efficiency for entering numbers. The numpad's keys are digits 0 to
9, addition (+), subtraction (-) , multiplication (*) and division (/) symbols, a decimal
point (.), Num Lock, and Enter. Laptop keyboards often do not have a numpad, but
may provide numpad input by holding a modifier key (typically labeled "Fn") and
operating keys on the standard keyboard. Particularly large laptops (typically those
with a 17 inch screen or larger) may have space for a real numpad, and many
companies sell separate numpads which connect to the host laptop by a USB
connection (many of these also add an additional spacebar off to the side of the zero where the thumb is
located, as well as an additional 00 key typical of modern adding machines and cash registers).
Advantages Disadvantages
Faster than keyboard for entering numeric Can be difficult to use due to small keys
information
Usually small devise (like mobile phones) are Difficult (but not possible) to enter text information.
easy to carry
JOYSTICK
An alternative to the mouse but specifically used for playing video games. There are many
different types, the more sophisticated respond to movement in 3 axis directions, as well as
having a number of configurable buttons.
It is also a pointing device used to move the cursor position on the screen. It consists of a small
vertical liver fitted on a base. Liver is used to move the cursor on the screen. It has a click,
double click and drag and drop switch.
Advantages of joysticks Disadvantages of joysticks
They give a better gaming experience for Some people find joysticks more difficult to control
racing or flying styles of computer games than a traditional mouse.
Joysticks are not particularly robust and can break
easily if too much force is used on them.
These are devices that display or output information/work which has been processed/being processed/done by
the computer in a readable format to users or devices used to display and produce data and information held
inside the computer, for example: speakers, Graph plotters,Projector,Screen, Printer etc
SPEAKERS
Speaker is a hardware device connected to a computer's sound card that outputs sound
generated by the computer.
When computers were originally released, they had on-board speakers that generated a
series of different tones and beeps. As multimedia and games became popular, higher
quality computer speakers began to be released that required additional power. Because
computer sound cards are not powerful enough to power a nice set of speakers, today's
speakers are self-powered, relatively small in size, and contain magnetic shielding.
ADVANTAGES DISADVANTAGES
They are provided with the computer. They can take up a fair amount of desk-space,
compared to headphones.
They're very simple to operate. They can distract people around you therefore
disrupting a communal work area.
They help blind people who would otherwise have
difficulty using a computer.
They can be useful for alerting computer users, even
when they're busy, such as in pop-ups.
HEADPHONES
Sometimes referred to as earphones, headphones are a hardware device that either plugs into
your computer (line out) or your speakers to privately listen to audio without disturbing anyone
else. The picture is an example of a USB headset from Logitech with a microphone and a popular
solution for computer gaming.
Advantages
The sound can only be heard by the user (mostly)
Portability - lightweight and easy to carry around
Can listen to music on the move
Although prices vary, many headphones and earphones are inexpensive
Disadvantages
If music is played too loudly or for long periods of time there is a risk of permanent hearing loss
Often not aware of surrounding noises such as cars in traffic or people talking
If the music is too loud or the headphones not fitted correctly then others can hear an annoying sound
from them.
Can be uncomfortable to wear for long periods of time.
If the device is large e.g. a computer, it is not easy to move about the room while wearing the
headphones
BRAILLE READER
A braille reader, also called a braille display, is an electronic device that allows a
blind person to read the text displayed on a computer monitor. The computer sends
SCREEN READER
A screen reader is any application that tries to read what is on a computer monitor using sound or some other
device. More specifically, a screen reader attempts to identify and interpret data that is being sent as output for
display. Once the data has been interpreted, it is presented to the user in some way; for instance a simulated
voice, a Braille output device, or text-to-speech software. Screen readers are quite helpful to those who are
visually impaired, blind, learning disabled, or unable to read. Common examples include Narrator for
Windows, VoiceOver for Mac OS, and ChromeVox for Chrome OS.
PLOTTERS
Plotters are used to produce a hard copy of schematics, high quality drawings and
other similar applications.
They are used by engineers, architects and map-makers to draw plans of buildings,
diagrams of machines or large scale maps. They can also be used for many other
similar tasks.
A plotter differs from a printer in that it draws images using a pen that can be lowered, raised and moved
across the paper to form continuous lines. The electronically controlled pen is moved around the paper by
computer controlled motors.
Advantages of plotters
Plotters can work on very large sheets of paper while maintaining high resolution.
PROJECTOR
A projector is an output device that can take images generated by a computer and
reproduce them on a large, flat (usually lightly colored) surface. For
example, projectors are used in meetings or in class to help ensure that all
participants or students can view the information being presented.
Advantages of Projectors
Large-Sized Picture: Digital projectors can be used to create extremely large sized images akin to
those seen in a cinema hall. Although a movie projector with very large light output can generate
images of up to 300", even commonly available digital projectors are capable of producing sharp
pictures as big as 120".
Advantage While Creating Small Images: Even if the projector is used to produce smaller sized
images of up to 60", it can still save you a lot of money when compared to a LCD TV of the same size.
Moreover, the picture at this size is very bright and can even be used with a few lights on.
Saves on Space: A ceiling mount projector does not occupy any space on the floor and remains mostly
unseen when not in use. Even a retractable screen can be put out of sight when not in use, which is
better than a bulky television set that is difficult to move frequently.
Ease of Installation: Other than ceiling mount projectors that need an expert for installation, a normal
projector is easy to setup and can be done without much effort.
Disadvantages of Projectors
Light Can Play Spoilsport: A projector works best when operated in low light conditions as the
pictures produced are clearer and brighter. This can often prove to be a disadvantage when you are
addressing a conference where your audience needs to take down notes.
Costly Maintenance: The maintenance cost of home theatre projectors is often on the higher side than
that of a LCD television. The lamp of a projector needs to be replaced occasionally, depending on your
usage and the projector model.
Separate Speakers Required: A movie projectors either has no audio of its own or has very little
sound that is inadequate if you want to watch movies or television programs. Therefore, setting up
home theatre projectors requires purchasing a separate audio system.
Ceiling Mount Projectors: If you are looking to ceiling mount your movie projector to save up on
floor space, it should be noted that the process can be a little tricky and may require the services of an
expert. Also, a projection screen will require separate installation.
MONITOR
Also called screen or Visual Display Unit (VDU). It is the main way of getting the processed
data out of the computer. Monitors produce soft copy. Soft copy means it is not tangible and can
easily be changed. A monitor (or screen) is the most commonly used output device. They come
in many different shapes, sizes and forms. In an exam question, you will need to be able to
choose the best type of monitor and then explain your reasons.
Larger monitors make working at the computer much easier on the eyes, but the larger the monitor, the more
money it costs!
PRINTERS
Printers produce “hard copy” printed on permanent material. Hard copy means it is tangible and
cannot be easily change.
ACTUATORS
Used to generate physical movement from signals sent by the computer which can be sent through wireless
transmission or cables.
An actuator is often part of a computer control system. The actuator is a mechanical device or motor which
carries out the action or decision made by the control system. For example the lens of this digital camera
moves in and out according to how much zoom is wanted.
This movement is controlled by an 'actuator'. In this case it is a tiny electric motor that is controlled by a
computer control system within the [Link] an actuator can be absolutely tiny or it can be truly massive
such as the devices that open and shut the Thames flood barrier gates.
But they all do the same thing, namely allow a computer to control movement or action.
Most of the computers have micro-computers (small execution chip found in microcomputers). With MS-DOS
(Microsoft Disk Operating System) computers, chips progressed from 286, 386 and 486 processors. Intel
Corporation then developed Pentium processors, ranging from Pentium 1, Pentium 2, Pentium 3 and Pentium 4,
with each processor being faster than the preceding one. Pentium 4 processors have a speed of about 2.6 GHz.
Newer chips are faster in processing. 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 measures in Megahertz (MHz).
ARITHMETIC
CPU
AND LOGIC
UNIT
MAIN
MEMORY
The processor comprises of: Arithmetic and Logic Unit (ALU) and the Control Unit (CU)
It coordinates and controls all hardware operations; It carries out the Fetch-Execute Cycle. ALU
operations on data are first loaded into the accumulator register, which store instructions, data being
processed and results of an operation.
Step 1. Fetch instruction: In the instruction phase, the computer’s control unit fetches the instruction to be
executed from memory. Microprocessor gets software instruction telling it what to do with data.
Step 2. Decode instruction: Then the instruction is
decoded so the central processor can understand what is
to be done. Microprocessor determines what the
instructions mean.
Step 3. Execute the instruction: In the execution phase,
the ALU does what it is instructed to do, making either
an arithmetic computation or a logical comparison.
Microprocessor performs the instruction.
Step 4. Store results: Then the results are stored in the
registers or in memory.
Step 3 & 4 are called the execution phase. The time it
takes to complete the execution phase is called the
EXECUTION TIME (E-time).
After both phases have been completed for one instruction, they are again performed for the second
instruction, and so on.
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
- 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.
Fan
A fan is used to cool the processor. It blows away hot air so that the processor remains cool.
STORAGE UNIT
Data and instructions entered into a computer system through input units have to be stored inside the computer
before actual processing starts. Similarly, results produced by the computer after processing have to be kept
somewhere inside the computer system before being passed on to an output unit. Moreover, a computer must
also preserve intermediate results for ongoing processing. Storage unit of a computer system caters to all these
need. It provides space for storing data and instructions, intermediate results, and the results for output.
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.
Methods of Accessing Data
These are methods used to retrieve data held on storage media. These include:
(1) Serial Access: Data is retrieved in the order it is stored, reading files one after another from the first until
the required data is found in an unsorted list of records. It is very slow and time wasting in accessing records
far away from the first position but is faster to access data at first position of the disk. It is used in magnetic
tapes.
(2) Sequential Access: Data is retrieved in the order stored, from the first until the required data is found,
using a key field in a sorted list of records, as in magnetic tapes.
(3) Direct (Random) Access: Data is retrieved by going directly to the needed file, as applied in hard disks,
diskettes, CD-ROM, DVD-ROM, Memory Sticks, etc. It is a very fast method of accessing data.
Bit: Computer are digital. This means they work by processing ones and zeros. The basic one or zeros is
called a bit of information.
Byte: There are eights bits in a Byte.
KB - Kilobyte: There are approximately a thousand bytes in a KB (also called a KByte)
MB - Megabyte: There are approximately a million bytes in a MB (also called a MByte)
GB - Gigabyte: There are approximately a thousand, million bytes in a GB (also called a GByte)
TB - Terabyte: There are approximately a million, million bytes in a TB (also called a TByte).
PRIMARY STORAGE
Primary storage, also known as main storage or memory, is used to hold pieces of program instruction and
data, intermediate result of processing, and recently produced result of those jobs on which computer is
currently working. These pieces of information are represented electronically in the main memory chip’s
circuitry and while it remains in the main memory, CPU can access it directly at a very fast speed. It is volatile
in nature i.e. as soon as the computer is switched off or reset, the information hold by it is erased. Primary
storage normally has limited storage capacity and is very expensive. In modern computers it is made up of
semiconductors.
Random Access Memory (RAM) is the best known form of computer memory. The
Read and write (R/W) memory of a computer is called RAM. The RAM is a volatile
memory; it means information written to it can be accessed as long as power is on. As
soon as the power is off, it cannot be accessed. RAM holds data and processing
instructions temporarily until the CPU needs it. RAM is considered “random access”
because you can access any memory cell directly if you know the row and column that
intersect at that cell. RAM is made in electronic chips made of so called semiconductor
material, just like processors and many other types of chips.
There are two main reasons that read-only memory is used for certain functions within the PC:
Permanence: The values stored in ROM are always there, whether the power is on or not. A ROM can
be removed from the PC, stored for an indefinite period of time, and then replaced, and the data it
contains will still be there. For this reason, it is called non-volatile storage.
Security: The fact that ROM cannot easily be modified provides a measure of security against
accidental (or malicious) changes to its contents.
STORAGE MEDIA
Regardless of the repository model that is used, the data has to be stored on some data storage medium.
Magnetic tape
Magnetic tape has long been the most commonly used medium for bulk data storage, backup, archiving, and
interchange. Tape has typically had an order of magnitude better capacity-to-price ratio when compared to
hard disk, but recently the ratios for tape and hard disk have become a lot closer. There are many formats,
many of which are proprietary or specific to certain markets like mainframes or a particular brand of personal
computer. Tape is a sequential access medium, so even though access times may be poor, the rate of
continuously writing or reading data can actually be very fast. Some new tape drives are even faster than
modern hard disks.
The capacity-to-price ratio of hard disk has been rapidly improving for many years. This is making it more
competitive with magnetic tape as a bulk storage medium. The main advantages of hard disk storage are low
access times, availability, capacity and ease of use.[8] External disks can be connected via local interfaces like
SCSI, USB, FireWire, or eSATA, or via longer distance technologies like Ethernet, iSCSI, or Fibre Channel.
Some disk-based backup systems, such as Virtual Tape Libraries, support data deduplication which can
dramatically reduce the amount of disk storage capacity consumed by daily and weekly backup data. The main
disadvantages of hard disk backups are that they are easily damaged, especially while being transported (e.g.,
for off-site backups), and that their stability over periods of years is a relative unknown.
OPTICAL STORAGE
Optical storage devices save data as patterns of dots that can be read using light. A laser beam is the usual
light source.
The data on the storage medium is read by bouncing the laser beam off the surface of the medium. If the beam
hits a dot it is reflected back differently to how it would be if there were no dot. This difference can be
detected, so the data can be read.
CD / DVD: These have largely replaced diskettes as a way of supplying programs. They can hold a lot more
data. Recordable CDs, DVDs, and Blu-ray Discs are commonly used with personal computers and generally
have low media unit costs. However, the capacities and speeds of these and other optical discs are typically an
order of magnitude lower than hard disk or tape. Many optical disk formats are WORM type, which makes
them useful for archival purposes since the data cannot be changed. The use of an auto-changer or jukebox can
make optical discs a feasible option for larger-scale backup systems. Some optical storage systems allow for
cataloged data backups without human contact with the discs, allowing for longer data integrity
Dots can be created using the laser beam (for media that is writable such as CD-Rs). The beam is used in a
high-power mode to actually mark the surface of the medium, making a dot. This process is known as
‘burning’ data onto a disc.
Advantages of CDs:
Provide fast and direct access to data.
Has large storage capacity of about 750 MB.
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
The different patterns of dots correspond to the data stored on the disc.
CD-ROM
DVD-ROM
Digital Versatile Disc - Read-Only Memory (DVD-ROM) discs can hold around 4.7GB of data
(a dual-layer DVD can hold twice that). DVD-ROMs are random-access devices.
DVD-ROMs are used in the same way as CD-ROMs (see above) but, since they can hold more
data, they are also used to store high-quality video.
Using a blue laser allows more data to be placed closer together on a Blu-Ray disc, than on
a DVD or CD, so Blu-Ray has a much higher storage capacity than these older discs.
HD DVD
High-density DVD (HD-DVD) discs can hold around 15GB of data (a dual-layer HD-DVD can
hold twice that). HD-DVDs are random-access devices.
HD-DVD discs are used in the same way as DVD-ROMs (see above) but, since they can hold
more data, they are also used to store very high-quality, high-definition (HD) video.
The HD-DVD format was launched at the same time as Blu-Ray. For about a year they
competed to be the 'next DVD'. For various reasons, Blu-Ray won the fight, and the HD-DVD
format has been abandoned.
Recordable Optical Discs
Recordable optical discs can have data written onto them (‘burnt’) by a computer user using a special disc
drive (a disc ‘burner’).
CD-R and DVD-R
CD-Recordable (CD-R) and DVD-recordable (DVD-R) discs can have data burnt onto them, but not erased.
You can keep adding data until the disc is full, but you cannot remove any data or re-use a full disc.
When CD-RWs and DVD-RWs are burnt the laser makes marks on the metal layer, but in a way that can be
undone. So these discs can be erased.
DVD-RAM
DVD-Random Access Memory (DVD-RAM) discs are a type of re-writable DVD. They often
come in a floppy-disc style case (to protect the disc).
The discs are much higher quality than normal DVD-RWs and can reliably store data for up to
30 years. This means that they are often used for video and data back-up and archiving.
Uses of DVDs:
Transferring large 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.7 GB or more.
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.
Also known as flash memory, thumb drives, USB flash drives, CompactFlash,
SmartMedia, Memory Stick, Secure Digital cards, etc., these devices are relatively expensive for their low
capacity in comparison to hard disk drives, but are very convenient for backing up relatively low data
volumes. A solid-state drive does not contain any movable parts unlike its magnetic drive counterpart, making
it less susceptible to physical damage, and can have huge throughput in the order of 500Mbit/s to 6Gbit/s. The
capacity offered from SSDs continues to grow and prices are gradually decreasing as they become more
common.
As broadband Internet access becomes more widespread, remote backup services are gaining in popularity.
Backing up via the Internet to a remote location can protect against some worst-case scenarios such as fires,
floods, or earthquakes which would destroy any backups in the immediate vicinity along with everything else.
There are, however, a number of drawbacks to remote backup services.
First, Internet connections are usually slower than local data storage devices. Residential broadband is
especially problematic as routine backups must use an upstream link that's usually much slower than
the downstream link used only occasionally to retrieve a file from backup. This tends to limit the use
of such services to relatively small amounts of high value data.
Secondly, users must trust a third party service provider to maintain the privacy and integrity of their
data, although confidentiality can be assured by encrypting the data before transmission to the backup
service with an encryption key known only to the user. Ultimately the backup service must itself use
one of the above methods so this could be seen as a more complex way of doing traditional backups.
Diskette (floppy disk): The original IBM PC did not have a hard disk, the operating system, programs and
data had to be contained in one or two diskettes. Later a hard disk was
added, after which point diskettes were used for supplying programs
which could be installed (i.e. copied) to the hard disk, or you could
back up small amounts of data to the diskette. Most modern PCs are no
longer supplied with a diskette drive, due to the fact that diskettes are
unreliable and are easily damaged. They only hold very small amounts
of data.
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.
Network Drives: Seen by your computer as a normal drive, but in reality the network drive is a folder located
on another computer which is connected to the network.
ZIP DRIVE
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
*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.
HARDWARE MAINTENANCE
SYSTEM MAINTENANCE
Keep your system functioning smoothly by managing hard drive space, scanning for system errors and
regularly defragmenting the hard drive. Virus protection is also important, as some viruses can interfere with
computer hardware.
PHYSICAL MAINTENANCE
Keeping computers away from dust and dirt, keeping them clean and avoiding extreme temperature changes
all help to maintain hardware. Keep liquids away from the computer. Solvents should never be used to clean a
computer; rather, you should wipe the monitor and keyboard regularly with a soft cloth.
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. It is program designed to give instructions to the computer. Without
software, a computer will be useless.
TYPES OF SOFTWARE
Software is grouped into systems software and application software.
SYSTEMS SOFTWARE:
Refers to programs that control and manages the performance of all computer systems.
a) Operating System
It refers to the programs that supervise, control and manage the performance of the computer hardware in
accordance with set objectives for example Windows XP.
Examples of operating systems include
Windows 95
Windows 98.
Windows 2000.
Windows XP
Windows VISTA
Windows 7
Windows 8.
Microsoft Disk Operating System (MS-DOS),
Unix, Linux, OS/2
Android
FUNCTIONS OF THE OPERATING SYSTEM
It must be reliable in terms of being free from errors and handling of all jobs.
Efficient, that is should be able to use resources fully ensuring good job processing, response
time, turnaround time, etc
It must be maintainable
Must be small in terms of storage space on the disk.
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.
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
1. 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.
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
2. Time sharing operating systems: This type of operating system allows many users to use the
*NB: - Time slice: A brief period of time during which a particular task is given control of the
microprocessor in a time-sharing multitasking environment. A computer's processor is allocated to an
application, usually measured in milliseconds. Time slice is also called quantum.
Multitasking: It is the concurrent execution of two or more programs on the same computer by use of time
slices.
3. Multi Access / Multi user operating systems: It is when many online users access one processor
at the same time to make use of multi-programming.
4. Multi-programming: This is whereby two or more programs (tasks) are being processed (run) at
the same time on one computer by use of time slices, for example playing music while typing a
document. Programs may take turns to make use of the processor, thus when one is using the CPU,
others will be using the peripherals. It uses interrupts to pass control from one program to another.
5. Multiprocessing: A type of operating system that allows one computer to have two or more processors but
sharing the same memory, e.g. dual core computers.
6. Batch Processing System: - A system in which data is collected over a long period of time, put in groups
and processed with minimum or without user interaction as in payroll processing. Jobs can be entered at a
remote terminal, that is, without direct communication with the host computer. Thus batch processing
promotes Remote Jo
b Entry (RJE): which is the entering of data into the computer through a terminal far away from the host
computer.
For instance, a central computer can process batches of cheques collected from different branches,
mostly during the night. If there are errors, the results will also be wrong. Batch processing is very cheap
to operate and easy to run. Users can also perform some other tasks while batch processing takes place.
In batch processing, there is minimum or no human intervention during data processing period. It is
used where large amounts of data is processed and where processing does not need to be done
immediately, e.g. in Payroll processing, water billing, electricity billing, telephone billing, clearance of
cheques, etc).
b) Translators
These are programs that convert source code to object code. Translators are in two forms, which are
interpreters and compilers. A translator or programming language processor is a computer program for
specifying a program in one programming language (the target language) that is functionally equivalent to that
(a translation of another) in a different language (the source language). This is without losing the functional or
Examples of widely used types of computer languages translators include interpreters, compilers and
decompilers, and assemblers and disassemblers.
c) Utility Programs
These are programs used to perform specific, useful and frequently needed tasks in a computer.
These are programs designed into the operating system to support programs and also help users when writing,
storing and running their programs
They are also programs that perform certain tasks which are often needed e.g. a sort routine, providing a list of
files virus scanning etc.
ii. 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.
iii. Debuggers: These are utilities used for assisting in correcting errors in programs.
iv. 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.
v. Editors: These are programs used to make changes to data already held in the computer.
vi. Peripheral Transfer Utility: These are programs used to transfer data from one peripheral device to another.
vii. System Status Utilities: These are programs that provide information on the state of files,
memory, users and peripherals.
viii. File Maintenance Utilities: These are programs used to reorganise programs and to update them.
APPLICATION SOFTWARE
This refers to programs and their documentation, designed to perform a specific task like payroll
processing, word processing, etc. Programmes designed to meet user needs.
Application package (suite):- a collection of application programs purchased as one package, for example
Microsoft Office 2007.
They are not tailored for individual user requirements. Organisations purchasing them have
little or no control over their use.
The packaged programs can only be modified by the programmers (owners). Most of the
need regular updating, which may be expensive.
Methods of Acquiring Software
1. Off-the-Shelf: This refers to buying generalised software like Microsoft Word from software vendors.
Generalised (generic) software refers to application programs designed for use in a number of
organisations without problems, for example Microsoft Word. A software vendor is an organisation
that specialises in selling generic software.
Cheaper than custom written (tailor made) packages. They are immediately available in
shops.
They are tried and tested and therefore are free from errors.
Documentation is always provided in form of manuals, user guides and tutorials that may be in
soft or hardcopy.
Training courses can be available from other end-users.
Technical support is always available from other users and from the internet. Other users of the
package can be consulted before purchasing or when a problem occurs.
Upgrades are always available every year or two.
Disadvantages of Generic Software
May not meet the individual needs of an organisation. May not run on the organization’s hardware.
May not interface with other software already in use in the organisation.
Organisations purchasing them have little or no control over their usage.
Organisations purchasing them have no right to modify them.
These are programs specifically designed to meet the needs of only one organisation, for example a bank. The
organisation would employ or hire an analyst / programmer who will first asses the needs of the organisation
before designing a program that will solve the problems of the organisation.
Disadvantages of Tailor-made software
*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.
Off - the - self software is cheaper to buy while tailor-made software is expensive.
Generic software has been tried and tested hence free from errors while tailor-made software may
have some errors.
Generic software is easier and faster to implement while tailor made software takes long to
implement.
Generic software is used by many organisations; therefore users can share information on its usage
while tailor-made software is only used by one organisation.
Generic software has regular updates available for download on the internet while tailor-made software
does not.
Advantages of tailor made software as compared to Generic Software
1) Word processors
2) Desktop publishing
3) Database management
4) Spread sheet
5) Graphics/ pant/ draw
Word processing software
Are programs designed to solve problems of written work.
They use the concept of type written with memory
This type of software is used to produce written material such as latters, memos, reports, projects and books.
The main advantage of using Word processors is that text can be changed on the screen and mistakes
corrected until the document is perfect and it can then be printed.
Multimedia Applications
Multimedia is a technology that has been introduced in recent years. It is a technology
that deals with the combination of text and graphic, sound , video and animation,
This has been very useful in the fields of Education and Training. Most educational
Program the user can stop pause, restart and replay it at will
Examples
Encyclopaedias such as Ms Encarta, Edusoft [Everyday]
Mathematics and English Discovery. The world of Natured]
Games like the Silent Steel, Need For Speed, Zuma etc.
Educational Programs like Science Advantage 2000(a biology, physics, chemistry, CD package.
Reasons for various software
New versions of software are released to update older versions
As hardware gets more advanced so the operating system and software applications that runs on them
need to be developed to not only supply the need of the user but to keep in time with new
development.
Some old versions of programs will not run don’t run on move advanced us.
Equally newer versions of applications may not run on older version of operating system
Newer versions typically patch up areas that may not have been taken into consideration in previous
versions.
Also different versions of programs aimed at different users i.e. office.
SUMMARY
Software
System Application
Operating system Word processor
Ms Dos Word perfect, Word pad, Note pad, Ms word Ampiro
Windows 95, 98, 2000NT, XP, Vista, 7, 8
The production capacity in farming and animal husbandry has increased due to use of computer in agriculture
field .There are less losses since work is monitored by computer.
By using computer in traditional field like agricultural field we can increase the productivity and minimize the
errors.
Computers used in scientific research have the ability to analyze data in ways and at
speeds not possible with the human eye. They are able to analyze percentages of
materials present in a variety of compounds from soil samples to chemicals and even
the air you breathe. Additionally, computers used in this manner can determine trends
in data samples. For example, computer analysis of data in research could determine
the temperature at which certain chemical compounds break down or the percentages
of improvement patients show when administered a certain medication.
Scientific research often requires that complex mathematical equations be solved in order to
determine if data is valid or if a certain structure of molecules will remain stable. Computers
are integral to this calculation process since scientists can write software programs specifically
to provide answers to such questions. This removes the element of human error, which can cost research
institutions millions of dollars in fixing a product that was created with even the smallest amount of flawed
data.
Prediction Modeling
Scientists and researchers are able to use computer programs to model how data might
manifest itself in the future. This ability is useful in predicting climate patterns, simulating
how engineered products might perform in the field, predicting the erosion rate of beaches
and anticipating the absorption rate of medications in the body. Scientists and engineers
are then able to adjust building strategies or chemical compositions of products to ensure
safe operation and consumption.
Today Computers are an essential part of an hospital. Doctors and administration staff uses computers to
manage patient history and medicine stocks etc.
Computer plays a major role in medical field by helping doctors as an assistant to cure people.
Computer are used to store details of patients such as Name, Age, Address, Date of admition etc…storing
such a type of details in computer is more easier than writing in books or papers because books and papers can
be missed or lost and it is difficult to search immediately in an emergency time. Computer save time and make
our work easier. This type of information system is known as Electronic Medical Record (EMR).Electronic
Medical Reports and Electronic Health Report are connected all the branches of a certain hospital by the
server. So in an emergency time it can be obtained from any branch of a particular hospital.
Their uses include storing patient related data, housing knowledge bases, providing the logic and circuitry for
medical equipment, scanning and imaging the body, and facilitating speedy communications. Computers can
be used in medical field in the following ways:
Patient records and history are stored on computer databases in the medical field. The medical history of a
patient includes physical symptoms, diagnoses, treatments, and even family medical history.
Details of the medications prescribed are stored together with details of any that can not be prescribed, such as
an allergy to penicillin.
Appointments are scheduled using a computer database.
Billing information is also stored.
Hospitals and surgeries depend on computers for administrative and financial functions.
3. Monitoring Systems
Many computerized devices are used to monitor the blood pressure, heartbeat and brain of the patients.
Computers guide in some surgical operations, too. For example in laparoscopic surgery, the surgeon inserts
the medical tools and a small camera, and conducts the operation with the help of computers and monitors.
Computers also monitor heart rates, pulse rates and brain readings. Therefore, we conclude that computers
make this possible to deal with such complicated operations. It would be virtually impossible for a human to
do this.
To get an accuracy in above mention Imaging computer has been added to the medical equipment .Because of
computers are connected to do above mention Imaging doctors can get a very good idea to do the rest of the
work to cure a person.
Types of monitoring
1. Cardiac monitoring
2. Hemodynamic monitoring
3. Respiratory monitoring
4. Neurological monitoring
4. Diagnosis of Diseases
Computers are being used to diagnose diseases with the help of software. There are some Medical Software to
diagnose diseases and prescribe medicine on the basis of symptoms.
5. Life Support system
Life support systems are used to help disabled persons, for example hearing aid device for deaf people. Latest
life support devices use computer technology to help the disable people, to overcome their disabilities.
6. Faster and Cheaper Communications
Doctors and other staff can use internet to communicate to doctors in other parts of the world, for sharing
information on medical topics or even about a particular patient case. They can exchange pictures, reports and
other documents, too.
7. Computer are used in medical imaging as well
1. Ultrasound imaging
2. Magnetic response imaging(MRI)
3. Medical x-ray
Computers are being used in Medical Radiology / Diagnostic Imaging. Computers play an role in all types of
clinical image processing like CT scan and ultrasound. Ultrasound uses sound waves that bounce off body
parts, producing echoes. A computer translates the echoes into images, showing broken bones, muscle
problems, or changes in organs, accurately.
Computers are more helpful in receiving necessary details quickly, accurately and computers are also used in
imaging and Monitoring .Due to this usefulness of computer in medical field people can be cured as much as
possible.
ROBOTICS
The functions of this combination software is divided into two main categories:
• Manufacturing Planning: In this process, the computer delivers information for production planning as
well as management. This may include:
Computer Aided Process Planning (CAPP)
Computer Assisted NC Part Programming
Computerized Machinability Data System
Work Standards Development
Inventory and Production Planning
• Manufacturing Control: In the process, the computer is used to manage and control the physical operations
of the manufacturing plant. These may include:
Shop Floor Controlling
Process Monitoring and Controlling
Inventory Controlling
Production Delivery Controlling
Here are the various advantages they can avail by using these software applications.
• Improves Machining Capabilities: By using a CAD-CAM system, manufacturers can improve their
machining capabilities. For example, when a manufacturer takes up a complex 3-axis machining task, they
rely on the combination software to create a tool path for machining projects such as molding. The CAM
system automates the process, and makes it easier for manufacturers to complete the project in time.
• Improves Client Accessibility: The CAD-CAM software allows manufacturers to receive CAD files from
their customers. After receiving these files, they can set up the machining tool path, and perform simulations,
which helps them calculate the machining cycle times. The software allows manufacturers to minimize errors,
execute projects easily, and deliver products to the market within a shorter turnaround time.
• Helps Improve Productivity of CNC Machines: Most CAM-CAD systems provide high–speed machine tool
paths, which help manufacturers minimize their cycle times, reduce tool and machine wear. High-speed
tool paths enable manufacturers to improve their cutting quality and accuracy. This type of high- speed
machining helps improve the productivity of the CNC machine by more than 50%.
• Helps Reduce Material Wastage: As CAM–CAD software feature simulation features, it helps a
manufacturer to visually inspect the process of machining. This allows him to capture tool gouges, and
collisions at an early phase. This feature contributes to the overall productivity of a manufacturing set up. This
also helps them eliminate mistakes, as well as reduce material wastage.
Computer Aided Design (CAD) is the use of computer software to facilitate the generation, modification,
and optimization of a part or a compilation of parts. Using software to facilitate part design allows for higher
precision, simpler and more accurate design iterations, and comprehensive documentation for part and/or
project management (e.g. integration with a traditional Bill of Materials or BOM). There are a number of
vendors that provide CAD software. At Creative Mechanisms we use Solidworks. Some of the benefits of
CAD over traditional drafting and/or 3-D model making include the following:
CAD allows for simple and accurate automation and/or process modeling (known as Mechanical
Design Automation). Traditionally MDA was not possible without first building a physical prototype
of every part in the system and then assembling it to check functionality. The ability to digitally model
and automate a prototype before ever generating a physical model adds enormous efficiency to
manufacturing processes and cost reduction benefits.
CAD allows for the ability to conduct Computer Aided Manufacturing (CAM). For example,
integrating CAD technology with Computer Numerical Control (CNC) machines or Additive
Manufacturing processes (3D printers) e.g. Fused Deposition Modeling (FDM) machines.
CAD takes into account material properties and interactivity characteristics between different
materials.
CAD allows for highly accurate dimensional analysis and mathematical scalability using vector
graphic technology (digital images based on mathematical formulas).
CAD for Static Mechanical Design or Mechanical Design Automation (MDA): One of the enormous
benefits of CAD software is the ability to automate 3D imagery and integrate different pieces of the same
product in tandem with one another.
CAD for Computer Aided Manufacturing (CNC & Additive Manufacturing): At Creative Mechanisms
we use a fully integrated software-hardware package that ties together our Computer Aided Design software
(Solidworks) and our heavy machinery (two single tool CNC machines, one 16-
tool CNC machine, and an industrial grade FDM machine or “3D printer”). The
benefit of having a fully integrated system is that design iterations can be made
near-instantaneously without the headache of downloading and reuploading
everything each time you want to print an updated part. This is a small thing that
makes a big difference when it comes to rapid prototyping productivity.
CAD for Manufacturing (Injection Mold Automation): When it comes to mass-manufacturing there aren’t
a lot of technologies that compete with injection molding. One of the most important things to analyze when
designing for injection mold production are the particulars of the mold flow (the way in which molten plastic
works its way through the mold tool prior to solidifying into the shape of your part). We utilize Solidworks
plastics to optimize our designs for production. Proper diagnostics with the right software tools and design
experience will help you minimize defects and maximize your return on investment.
INTELLIGENT SYSTEMS
Artificial intelligence is the simulation of human intelligence processes by machines, especially computer
systems. These processes include learning (the acquisition of information and rules for using the information),
reasoning (using the rules to reach approximate or definite conclusions), and self-correction. Particular
applications of AI include expert systems, speech recognition, and machine vision
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 SYSTEM
-An expert system is a computer program that uses artificial intelligence (AI) technologies to simulate the
judgment and behavior of a human or an organization that has expert knowledge and experience in a particular
field.
-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. 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
Components (Elements) of an Expert System
- The diagram below shows some of the components:
Speech recognition
Speech recognition is the ability of a machine or program to identify words and phrases in spoken language
and convert them to a machine-readable format. Rudimentary speech recognition software has a limited
vocabulary of words and phrases, and it may only identify these if they are spoken very clearly. More
sophisticated software has the ability to accept natural speech.
How it works
Speech recognition works using algorithms through acoustic and language modeling. Acoustic modeling
represents the relationship between linguistic units of speech and audio signals; language modeling matches
sounds with word sequences to help distinguish between words that sound similar.
Often, hidden Markov models are used as well to recognize temporal patterns in speech to improve accuracy
within the system.
Applications
The most frequent applications of speech recognition within the enterprise include call routing, speech-to-text
processing, voice dialing and voice search.
Advantages
The pros of speech recognition software are;
it is easy to use and readily available.
Speech recognition software is now frequently installed in computers and mobile devices, allowing for
easy access.
Speech recognition offers a way to communicate with the technology around us.
Performance
Speech recognition performance is measured by accuracy and speed. Accuracy is measured with word error
rate. WER works at the word level and identifies inaccuracies in transcription, although it cannot identify how
the error occurred. Speed is measured with the real-time factor. A variety of factors can affect computer
speech recognition performance, including pronunciation, accent, pitch, volume and background noise.
It is important to note the terms speech recognition and voice recognition are sometimes used interchangeably.
However, the two terms mean different things. Speech recognition is used to identify words in spoken
language. Voice recognition is a biometric technology used to identify a particular individual's voice or for
speaker identification.
Machine vision is used in various industrial and medical applications. Examples include:
Electronic component analysis
Signature identification
Optical character recognition
Handwriting recognition
Object recognition
Pattern recognition
Materials inspection
Currency inspection
Medical image analysis
The term machine vision is often associated with industrial applications of a computer's ability to see, while
the term computer vision is often used to describe any type of technology in which a computer is tasked with
digitizing an image, processing the data it contains and taking some kind of action.
WILDLIFE MANAGEMENT
Applications of ICT in wild life conservation
Output
- Possible mineral deposits that can be found in that area
- Geological maps
Data Logging
The automatic collection of data from source at set intervals, over a period of time, for use at a later stage,
using sensors. A device that automatically collects data from source at set intervals for use at a later stage is
called a data logger.
- 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
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 e.g. 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:
Examples of control systems include: controlling a nuclear reactor, controlling a chemical process,
controlling a greenhouse environment, controlling central heating system, controlling a set of traffic lights
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)
Processing:
- Computers analyse data from sensors.
- Computers calculate average traffic flow and speed.
- Computer sends signals to actuators to adjust change of lights and timing
Output:
- Change of lights at junction.
- change timing plan
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
Benefits of Monitoring and Control Systems
- It is safer to use computer control than human beings, e.g. in monitoring temperature in a blast furnace,
monitoring radiation level in a nuclear reactor, etc.
- It is faster to respond to problems that may affect the system, e.g. nuclear reactor can automatically shut
down in response to earthquake
- They don’t get tired, thus computers can work 24/7
- Computer systems do not miss key data that must be entered into the system as humans do.
- Computer control is more reliable than human beings as computer does not forget to take readings
- computers are more accurate and can take more frequent readings (e.g. if readings need to be taken every 30
seconds, humans can make mistakes or miss readings or even find it impossible to take readings at such short
time intervals)
- data can be automatically displayed and analysed without the need to enter data manually (which in itself
could introduce errors into the system)
- Data can be automatically stored and used in other programs.
- The results of the system can be automatically stored in a spread-sheet package or a database package for
future reference.
- Computer’s response time is faster, which is important especially in patient monitoring
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:
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.
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
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.
*NB:-Tasks performed by microprocessor inside some of the devices include:
- In digital camera: automatically adjust film speed, positions the end of film, adjust distance from object,
adjusts light.
- In washing machine: Controls the amount of water. Adjust and controls speed of wash. Control temperature
of water and the time taken to wash the clothes.
- In fridges: Controls temperature level. Control the display panel. Switch on lights if door is opened and off
when closed.
- In air conditioners: Controls temperature. Controls timing and the display panel
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.
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
- Positioning depends on very accurate timing – atomic clocks are used because of their accuracy to within a
fraction of a second per day.
- Each satellite transmits data indicating its position and time.
- The computer in the vehicle calculates its location based on the information from at least three satellites as
shown below:
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).
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
Data Representation refers to the form in which data is stored, processed, and transmitted.
Devices such as smart phones, iPods, and computers store data in digital formats that can be handled by
electronic circuitry.
Computers store all data as patterns of 0's and 1's. Information systems using 0's and 1's are collectively
known as binary information systems.
Each 0 or 1 in a binary value is called a bit, which is short for binary digit.
A collection of 8 bits is called a byte. A byte is a very common unit of storage for electronic memory. It is
usually the smallest chunk of data that programs process, although many languages support processing
individual bits as well. Processing data smaller than a byte is generally not as easy as processing whole bytes.
A word is the maximum amount of data a CPU can process at once, and is usually 1, 2, 4, or 8 bytes (8 to 64
bits).
Numeric data is stored using several different binary number formats, all of which use a finite number of
binary digits (bits), and therefore are subject to overflow and round-off.
Denary, also known as "decimal" or "base 10," is the standard number system used around the world. It uses
ten digits (0, 1, 2, 3, 4, 5, 6, 7, 8, and 9) to represent all numbers. Denary is often contrasted with binary, the
standard number system used by computers and other electronic devices.
The first two letters in denary ("de") are an abbreviated version of "dec" which is a Latin prefix meaning
"ten." The Latin prefix "bi" means two. Therefore, the denary system contains ten digits, while the binary
system only contains two (0 and 1). Both systems can be used to represent any integer.
DECIMAL BINARY
Base 10 (Decimal) — Represent any number using 10 digits [0–9]
Base 2 (Binary) — Represent any number using 2 digits [0–1]
NUMBE BINARY
R
0 0000
1 0001
2 0010
3 0011
4 0100
5 0101
Example 1
1x 22 + 0 x 21+ 1 x 20
4 + 0 +1
=5
Example 2
Answer
23 22 21 20
1 0 1 1
1 x 23 + 0 x 22 + 1 x 21 +1 x 20
8 + 4 + 2 + 1
=15
Example 3
Covert 5 to binary
Answer
Deviser Decimal Remainder
2 5
2 2 1
2 1 0
0 1
Answer = 10012
Example 4
Convert 15 to binary
Answer
Deviser Decimal Remainder
2 15
2 7 1
2 3 1
2 1 1
0 1
OCTAL
Base 8 (Octal) — Represent any number using 8 digits [0–7]
To convert octal to binary, replace each octal digit by its binary representation.
58 = 1012
18 = 0012
The process is the reverse of the previous algorithm. The binary digits are grouped by threes, starting from the
least significant bit and proceeding to the left and to the right. Add leading zeroes (or trailing zeroes to the
right of decimal point) to fill out the last group of three if necessary. Then replace each trio with the equivalent
octal digit.
The conversion is made in two steps using binary as an intermediate base. Octal is converted to binary and
then binary to hexadecimal, grouping digits by fours, which correspond each to a hexadecimal digit.
To binary:
1 0 5 7
001 000 101 111
then to hexadecimal:
0010 0010 1111
2 2 F
Hexadecimal to octal conversion proceeds by first converting the hexadecimal digits to 4-bit binary values,
then regrouping the binary bits into 3-bit octal digits.
To binary:
3 F A 5
0011 1111 1010 0101
then to octal:
0 011 111 110 100 101
0 3 7 6 4 5
HEXADECIMAL
Base 16(Hexadecimal) — Represent any number using 10 digits and 6 characters [0–9, A, B, C, D, E, F
The hexadecimal system is Base Sixteen. As its base implies, this number system uses sixteen symbols to
represent numbers. Unlike binary and octal, hexadecimal has six additional symbols that it uses beyond the
conventional ones found in decimal. But what comes after 9? 10 is not a single digit but two… Fortunately,
the convention is that once additional symbols are needed beyond the normal ten, letters are to be used. So, in
hexadecimal, the total list of symbols to use is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. In a digital
display, the numbers B and D are lowercase.
When counting in hexadecimal, you count 0, 1, 2, and so on. However, when you reach 9, you go directly to
A. Then, you count B, C, D, E, and F. But what is next? We are out of symbols! When we run out of symbols,
we create a new digit placement and move on. So after F is 10. You count further until you reach 19. After 19,
the next number is 1A. This goes on forever.
Digits are explained as powers of 16. Consider the hexadecimal number 2DB7.
BINARY OPERATIONS
0-0=0
1-0=1
1-1=0
0 - 1 = 1 (with a borrow of 1)
0x0=0
0x1=0
1x0=0
1x1=1
0/1=0
1/1=1
Character encoding is the American Standard Code for Information Interchange, and is the US precursor to
ISO 646 (internationally defined character sets). ASCII is a 7-bit code, meaning that 128 characters (27) are
defined. The code consists of 33 non-printable and 95 printable characters and includes both letters,
punctuation marks, numbers and control characters.
What is ASCII?
ASCII is a standard used to represent characters on electronic devices. To understand how it works, you first
need to be familiar with how a calculator functions: in a computer, the computational processes are always
based off a binary system, meaning that zeroes and ones determine the processes. That is the reason why
ASCII is also built on this system. The original ASCII standard defines different characters within seven bits –
seven digits that indicate either a 0 or a 1. The eighth bit, which is one full byte, is traditionally used for
checking purposes. The ASCII-based extended versions use this exact bit to extend the available characters to
256 (28).
Each character corresponds to a seven-digit sequence of zeroes and ones, which can then be represented as a
decimal number, or as a hexadecimal number. The ASCII characters can be divided into several groups.
Control Characters (0–31 & 127): Control characters are not printable characters. They are used to
send commands to the PC or the printer and are based on telex technology. With these characters, you
can set line breaks or tabs. Today, they are mostly out of use.
Numbers (30–39): These numbers include the ten Arabic numerals from 0-9.
Letters (65–90 / 97–122): Letters are divided into two blocks, with the first group containing the
uppercase letters and the second group containing the lowercase.
ASCII
Bin. Hex. Dec. Explanation Group
Symbol
Control
0000000 0 0 NUL The null character prompts the device to do nothing
Character
Control
0000001 1 1 SOH Initiates a header (Start of Heading)
Character
Ends the header and marks the beginning of a message. (start of Control
0000010 2 2 STX
text) Character
Control
0000011 3 3 ETX Indicates the end of the message (end of text)
Character
Control
0000100 4 4 EOT Marks the end of a completes transmission (End of Transmission)
Character
Control
0000101 5 5 ENQ A request that requires a response (Enquiry)
Character
Control
0000110 6 6 ACK Gives a positive answer to the request (Acknowledge)
Character
Control
0000111 7 7 BEL Triggers a beep (Bell)
Character
Control
0001000 8 8 BS Lets the cursor move back one step (Backspace)
Character
TAB A horizontal tab that moves the cursor within a row to the next Control
0001001 9 9
(HT) predefined position (Horizontal Tab) Character
Control
0001010 A 10 LF Causes the cursor to jump to the next line (Line Feed)
Character
The vertical tab lets the cursor jump to a predefined line (Vertical Control
0001011 B 11 VT
Tab) Character
Control
0001100 C 12 FF Requests a page break (Form Feed)
Character
Moves the cursor back to the first position of the line (Carriage Control
0001101 D 13 CR
Return) Character
Control
0001110 E 14 SO Switches to a special presentation (Shift Out)
Character
Control
0001111 F 15 SI Switches the display back to the normal state (Shift In)
Character
Changes the meaning of the following characters (Data Link Control
0010000 10 16 DLE
Escape) Character
Control characters assigned depending on the device used Control
0010001 11 17 DC1
(Device Control) Character
0010010 12 18 DC2 Control characters assigned depending on the device used Control
EXAMPLE:
CONVERT ASCII CHARACTERS
In ASCII, the system converts binary numbers into printable and non-printable characters according to a
specified standard, as listed in the table above. Users can also perform these computational processes without
any aids. All you have to do is understand how to calculate in binary or hexadecimal. In a number system,
each digit corresponds to the power on a particular basis: in the decimal system, the base is 10. The base is 2
for binary and 16 for hexadecimal systems. Multiply the value of the digit by the value of the digit.
Decimal system
100 101 102 103 …
Therefore:
Binary system
20 21 22 23 …
1 2 4 8 …
1011 = 1 * 2³ + 0 * 2² + 1 * 2¹ + 1 * 2⁰ = 11
Hexadecimal system
160 161 162 163 …
1 16 256 4096 …
With this information and the ASCII table, ASCII strings can be converted into any number system. See this
example, using the term “Digital”:
68 = 1 * 2⁶ + 1 * 2² = 1000100
68 = 4 * 16¹ + 4 * 16⁰ = 44
105 = 1 * 2⁶ + 1 * 2⁵ + 1 * 2³ + 1 * 2⁰ = 1101001
97 = 1 * 2⁶ + 1 * 2⁵ + 1 * 2⁰= 1100001
97 = 6 * 16¹ + 1 * 16⁰ = 61
108 = 1 * 2⁶ + 1* 2⁵ + 1 * 2³ + 1 * 2² = 1101100
Symbol D i g i t a l
Dec 68 105 103 105 116 97 108
Bin 1000100 1101001 1100111 1101001 1110100 1100001 1101100
Hex 44 69 67 69 74 61 6C
ASCII is still widely used today, even though UTF-8 has become more important when presenting a text.
However, Unicode has only been displacing the old character encoding method used during the early days of
the internet since 2008. The advantage of using UTF-8 is that the code is almost backwardly compatible:
ASCII is a subset of UTF-8, so the first 128 characters are identical. Since ASCII can be considered the lowest
common denominator of most new encoding forms, the old encoding method is still used in emails and URLs.
In addition, ASCII has long been used for artistic purposes as well as technical ones: ASCII art uses
exclusively printable ASCII table characters to produce creative works. The spectrum ranges from lettering, to
simple stick figures, to real paintings. ASCII artists use the different brightness levels of individual characters
to create light and shade in their artworks.
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.
- Logic gates are the building blocks of digital technology. 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.
- They can be used in applications like:
Building computer chips, Programming traffic signals, Chips for automatic alarm systems, Chips for
automated control systems, etc
- Electronic circuits operate using binary logic gates.
- Logic gates process signals which represent TRUE or FALSE, ON or OFF , 1 or 0
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
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
(2) 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
- 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
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.
The output (X) is true when the INPUT A is NOT TRUE.
The output (X) is False when the INPUT A is TRUE.
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)
Boolean Expressions
Boolean Expressions are equivalent expressions of the logic state of gates. For example, the Boolean
expression for:
a NOT gate with input A and output C: C = NOT A
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 and Logic Gates
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:
- C = AxB,
- C = A.B
- C= (AB)(AC)
- C = (A.B).(A.C)
- All these are various versions of the AND gate.
3. Complement sign (‘ or – above an input)
- This represents a NOT gate
- For example: NOT A can be given as any one of the following:
A’
_
A
Logic Gate Problems:
Question: Worked Example
A steel rolling mill is to be controlled by a logic network made up of AND, OR and NOT gates only. The mill
receives a stop signal (i.e. S = 1) depending on the following input bits:
Answer
Step 1: Deduce and Write the logic statement
- 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.
Questions
1. 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.
2. A traffic signal system will only operate if it receives an output signal (D = 1).
This can only occur if:
Either (a) signal A is red (i.e. A = 0)
Or (b) signal A is green (i.e. A = 1) and signals B and C are both red (i.e. B
and C are both 0)
Design a logic network and draw a truth table for the above system.
3. 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
a. A • C + A • B • C
b. (A + B) • (B + Ā)
c. A • (Ā + C) + C
b. For each of the previous questions, create a circuit for the Boolean expression before simplification.
Definition of Terms
Network: A connection of computers for them to share data, files and resources like a printer.
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.
1. Ring Network:
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
Definition of Terms
NB: Point – to-Point Connection: Point-to-point topology is the simplest connection, consisting of two
connected computers.
Peer-to-Peer Networks
- A peer-to-peer network is the one which does not have a server.
- All computers have an equal status.
- Each workstation can use resources from any other workstation and communicate directly with every other
node on the network without using a server.
- Used when users do their own work and share data.
- Storage facilities are distributed throughout the network
- It can be difficult to remember which files are located in which computer
- Each computer has its own software
- Less expensive
- Less difficult to administer
- Appropriate for small businesses
- Security is not centralised
- Backup is a responsibility of individual computer user
- Cheap to use
- No need for special network operating system
Diagrams:
THE INTERNET
It is a global connection of computer networks.
Hardware Requirements for an Internet Connection
Modem (Modulator Demodulator):- a device that converts analogue data to digital form and vice
versa, often for internet connection using a telephone line. Alternatively one may acquire a GPRS
(general packet radio service) modem.
Communication link: Acts as a transmission media for data, e.g. telephone line, satellite
transmission, etc.
Network cards for each computer:- a device that identifies computers to the network, where network
cables are plugged on the computer.
Other requirements
An 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 and Google.
Can be accessed from anywhere in the world. Information on the internet is up-to-date.
Multimedia can be used. Huge amounts of information can be accessed; e.g., magazines,
encyclopaedia, dictionaries, newspapers, textbooks, etc. Search engines are available to assist in finding
information. Using emails you can access experts from all over the world on certain subjects.
Equipment and connections needed are very expensive (computers, modems (ISDN adapters).
ISP, telephone). One needs knowledge to perform searches effectively. Problem of hackers.
Breaches of copyrights are very common.
Rampant spread of rumours on the internet.
Spread of pornography to young people.
Leads to loss of privacy.
Some people become internet addicted and tend to interact with computers more than with human
beings.
Credit card fraud is rampant.
SERVICES PROVIDED BY THE INTERNET
Electronic Mail (E-Mail): These are written messages send electronically over networked computers. In-
order to send and receive e-mails, the following is needed:
(a) An internet connection
(b) An E-mail Address: This is a unique identifier of the storage location of a person’s mailbox. An e-mail
address is made up of two parts that are separated by the “@” symbol, for example, kapondenit@[Link].
The first part (kapondenit) is the username and is used to identify the name of the person or organisation that has
the mailbox. The username is unique. The second part (gmail) is the domain name and is used to identify the
server where the person has a mailbox. The other part (the one after the dot (.) indicates the domain type e. g
.com - commercial organisation
. edu - educational organisation
. org - non-profit making organisation, etc
An e-mail address should be known by many people so that they will know the address where to send the emails.
Every mailbox is protected from illegal access by use of password. A password is a secret group of
alphanumeric characters used to protect a document from unauthorised access.
NB. When creating an e-mail, one is requested to enter the password twice in order to verify if it is the one
you intend to use.
Mailbox: - An electronic folder used to store electronic mails. It contains the inbox which contains
incoming mails and the outbox, which is used to save outgoing messages.
When sending an email, the user first logs on to email address, compose the message and then send it by
clicking on the send button. The computer processes involved after the user presses the send button are as
follows;
The message is transmitted to the sender’s ISP/central host computer. The message is stored on a central
host computer. The message is transmitted to intermediate computers. The message is stored on the
intermediate computers. The message is received by the addressee’s host computer/ISP. The addressee
logs in to a local computer and receives the mail.
it is very fast in sending messages (can be delivered promptly while ordinary mails can take days to
reach their destination).
It is very cheap to send e-mails since there is no need for envelopes, stamps, paper and pen, which are
needed in conventional mail.
They are reliable since e-mails rarely get lost.
E-mails are time independent as they can be send any time of the day other than conventional mails
which can be send during the normal working hours.
E-mails allow multiple addressing, that is, one e-mail message can be send to several recipients
simultaneously without having to retype it.
E-mails can be saved for future use or reference. E-mails are more convenient to use as there is no need
to travel to the post office or to shops to buy stamps and envelopes.
In e-mails, attachments in form of reports, scanned documents, pictures and curriculum vitae can easily
be attached to the e-mail.
Disadvantages of e-mail
Not everyone has equipment to send e-mails. Junk mail (spam) is a problem.
You waste a lot of time looking through mails that are just adverts.
E-mails are not as secure as traditional mails.
The system relies on people checking their mails regularly.
Old people feel left out as they consider themselves too old to learn.
Equipment used to send and receive e-mails is very expensive as compared to traditional
methods.
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.
Teleconferencing: A method of conducting discussion with several people in different locations using the
telephone.
Video conferencing: Conducting meetings with several people in different locations and seeing each other on
the screen of networked computers. Delegates do not need to leave their homes or work places.
A computer with a codec, Video cameras, Microphone, Speakers, Large and high resolution
monitor.
An integrated Services Digital Network (ISDN) line with a high bandwidth to transmit video data at fast
speed.
Sound card.
Video card
View data (videotext) systems: These are interactive systems on which users view data when they access
specialized databases like Prestel. The requirements include the telephone line or cable TV, specialized
keyboard and a Television set. Information on the database is provided by companies that advertise their
products like news, weather reports, and so on. View data systems have the advantage that they are interactive
and the service is provided for free to the public. However, its requirements are expensive.
Teletext: It is a broadcast service that comes as a television transmission. It is cheaper than the internet service.
However, it is non-interactive.
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:
*NB- The use of computers to perform all clerical and office duties is called Office Automation.
modem,
very fast communication links (for example telephone line),
computers,
internet services, etc
Benefits of telecommuting
Disadvantages of tele-commuting
1. Web browser (search engine) - software used to search, download and view web pages from the World
Wide Web (www). A web page is a site on the internet that provides information about
an organisation. The World Wide Web (www) is a group of websites on the internet. Web pages
can be created using any of the following software: HTML (editor), word processing, desktop
publishing software, web publishing software, presentation software.
2. File Transfer Protocol (FTP): program that allows users to transfer files from host computers on the
internet to their personal computers.
3. News groups: a global electronic bulletin board system in which users exchange information on different
topics.
4. Entertainment: the internet provides an option for users to download and listen to music,
newspapers, radio stations, etc.
5. Internet Shopping: (Internet buying, electronic commerce, online shopping): The internet
provides a facility for customers to purchase products from the internet without visiting shops. Credit cards are
used in internet buying.
To the customers
Programs are available to search for the cheapest products on offer.
Customers have more time to choose.
Shopping is done any time of the day, thus providing a 24 hour service.
A wide choice of products is available. Shopping can be done by setting up a file. It is very convenient
to use as customers do not leave their homes for shopping.
It cut travelling costs to the shops.
Customers do shopping without being jostled by crowds.
There are less cases of impulse buying.
Product reviews are obtainable before purchase.
Goods and services usually cheaper on the internet.
Customer need not to go to shop and therefore save travelling time
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 customers
There are chances of losing money through credit card fraud and hacking.
Customers lack interaction with others.
Customers fear of rogue companies (customers may not receive the goods).
Customers cannot see the goods first. Not everyone has a computer and is connected to the internet.
Not everyone has credit cards.
Problem of spam (Unwanted e-mail, usually of a commercial nature sent out in bulk).
b. 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.
This refers to the use of electronic commerce thereby reducing handling of hard cash amongst
individuals. However, it seems impossible to completely have a complete cashless society.
Credit is normally given only to those who are working and have a steady source of income.
People will spend more than they can afford thereby getting into debt.
Wrong information about individuals is kept as more information about people is kept in computers for
their credit rating.
It is difficult for individuals to track how much they spent.
E-COMMERCE
Short for electronic commerce, e-commerce is any business or transactions that results in profit made over
the Internet.
FORMS/TYPES OF E-COMMERCE
1. Business-to-Business (B2B)
2. Business-to-Consumer (B2C)
3. Consumer-to-Consumer (C2C)
1. Business-to-Business (B2B)
Business-to-Business (B2B) e-commerce encompasses all electronic transactions of goods or services
conducted between companies. Producers and traditional commerce wholesalers typically operate with this
type of electronic commerce.
2. Business-to-Consumer (B2C)
The Business-to-Consumer type of e-commerce is distinguished by the establishment of electronic business
relationships between businesses and final consumers. It corresponds to the retail section of e-commerce,
where traditional retail trade normally operates.
These types of relationships can be easier and more dynamic, but also more sporadic or discontinued. This
type of commerce has developed greatly, due to the advent of the web, and there are already many virtual
stores and malls on the Internet, which sell all kinds of consumer goods, such as computers, software,
books, shoes, cars, food, financial products, digital publications, etc.
When compared to buying retail in traditional commerce, the consumer usually has more information
available in terms of informative content and there is also a widespread idea that you’ll be buying cheaper,
without jeopardizing an equally personalized customer service, as well as ensuring quick processing and
delivery of your order.
3. Consumer-to-Consumer (C2C)
Consumer-to-Consumer (C2C) type e-commerce encompasses all electronic transactions of goods or services
conducted between consumers. Generally, these transactions are conducted through a third party, which
provides the online platform where the transactions are actually carried out.
4. Consumer-to-Business (C2B)
In C2B there is a complete reversal of the traditional sense of exchanging goods. This type of e-commerce is
very common in crowd sourcing based projects. A large number of individuals make their services or products
available for purchase for companies seeking precisely these types of services or products.
Examples of such practices are the sites where designers present several proposals for a company logo and
where only one of them is selected and effectively purchased. Another platform that is very common in this
type of commerce are the markets that sell royalty-free photographs, images, media and design elements, such
as iStock photo.
5. Business-to-Administration (B2A)
This part of e-commerce encompasses all transactions conducted online between companies and public
administration. This is an area that involves a large amount and a variety of services, particularly in areas such
as fiscal, social security, employment, legal documents and registers, etc. These types of services have
increased considerably in recent years with investments made in e-government.
6. Consumer-to-Administration (C2A)
The Consumer-to-Administration model encompasses all electronic transactions conducted between
individuals and public administration.
Both models involving Public Administration (B2A and C2A) are strongly associated to the idea of efficiency
and easy usability of the services provided to citizens by the government, with the support of information and
communication technologies.
ADVANTAGES OF E-COMMERCE
The main advantage of e-commerce is its ability to reach a global market, without necessarily implying a large
financial investment. The limits of this type of commerce are not defined geographically, which allows
consumers to make a global choice, obtain the necessary information and compare offers from all potential
suppliers, regardless of their locations.
By allowing direct interaction with the final consumer, e-commerce shortens the product distribution chain,
sometimes even eliminating it completely. This way, a direct channel between the producer or service
provider and the final user is created, enabling them to offer products and services that suit the individual
preferences of the target market.
E-commerce allows suppliers to be closer to their customers, resulting in increased productivity and
competitiveness for companies; as a result, the consumer is benefited with an improvement in quality service,
resulting in greater proximity, as well as a more efficient pre and post-sales support. With these new forms of
electronic commerce, consumers now have virtual stores that are open 24 hours a day.
Cost reduction is another very important advantage normally associated with electronic commerce. The more
trivial a particular business process is, the greater the likelihood of its success, resulting in a significant
reduction of transaction costs and, of course, of the prices charged to customers.
DISADVANTAGES OF E-COMMERCE
The main disadvantages associated with e-commerce are the following:
Strong dependence on information and communication technologies (ICT);
Lack of legislation that adequately regulates the new e-commerce activities, both nationally and
internationally;
Market culture is averse to electronic commerce (customers cannot touch or try the products);
The users’ loss of privacy, the loss of regions’ and countries’ cultural and economic identity;
Insecurity in the conduct of online business transactions.
An ATM is a computerised, special purpose cash disbursement machine outside banking halls used even when
banks are closed.
PIN (Personal Identification Number) - a secret number used by individual account holders to access his 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 Funds Transfer at Point of Sale (EFTPOS): This is a method of transferring money from one
account to another electronically without handling of cash at the Point of Sale terminal in shops. The Point of
Sale terminals will be online the bank’s database, enabling the shop to deduct cash from the customer’s account
and transfer it to the shop’s account. For this to occur the customer is supposed to produce the debit card, which is
wiped on the card reader which in turn requests the client to enter the PIN. Some cash back is available at the
POS.
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.
Account Number,
Account name
password.
Less personal touch is involved hence no socialisation with friends and neighbours.
More expensive phone bills are to be paid.
Lack of exercises as user just sits on the computer.
Hackers can access personal details and transfer money to their accounts.
You have to have a computer and an Internet access of which less people can afford.
Users are unable to withdraw cash
When purchasing the goods, the supermarkets and any other shops check the following on the
credit card:
The introduction of ATMs, EFT and electronic banking, including internet banking has the following
advantages and disadvantages.
Their workload is reduced, for instance the burden of counting cash and service many clients can
be done by 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
SOCIAL NETWORKING
Alternatively referred to as a virtual community or profile site, a social network is a website that brings
people together to talk, share ideas and interests, or make new friends. This type of collaboration and sharing
of data is often referred to as social media. Unlike traditional media that is often created by no more than 10
people, social media sites contain content that has been created by hundreds or even millions of different
people. Below is a small list of some of the biggest social networks used today.
Warn: Due to their increased popularity amongst children and teenagers, some social networking sites have
become a popular location for online predators. Parents should always be active with their children and aware
of what they are doing while online.
Social networking is a relatively new advancement in technology. They are different platforms or websites
that people can create personal profiles, share pictures, videos, and text updates to their friends, family, and
people from all over the world. News, trends, videos, pictures, and just about anything else can go “viral” in a
matter of hours, which makes you wonder, what is all of the craze about? It is very easy to get carried away
with the attention and interactions you can have twenty four hours a day on websites like Facebook, Twitter,
and Instagram, but what are the pros and cons that these social networking sites are having on our society?
1. Staying Connected
The main purpose of social media is to be able to stay connected to friends and families in today’s fast paced
and ever changing worlds. You are able to rekindle old friendships, share family photos, and special events in
your life with just about everyone you know, at the same time.
2. Finding People With Common Interests
Social networking is also a great way to meet entirely new people. You can seek out groups that are focused
towards your special interests and hobbies and connect with local people that share the same interests. Online
and social media dating is almost more common than traditional dating is in today’s world.
3. Invaluable Promotional Tool
Companies, artists, and musicians can reach an impossibly large and diverse amount of people using social
media sites. This allows them to promote and market themselves and their products in a way that has never
been seen before.
4. Information Spreads Incredibly Fast
Breaking news and other important information can spread like wildfire on social media sites. Important
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
iii. 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.
iv. 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.
v. 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.
COMPUTER VIRUSES
A computer virus is a program which replicates itself, damages or corrupts files and memory of the
computer, for example, a Trojan horse. By replication, it means that the virus can multiply itself
(produces several similar copies of itself) when it enters the computer system.
to boot.
Effects of computer viruses
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.
Antivirus software must be updated regularly to stay effective against new viruses. Most antivirus software is
designed to update automatically, but you can also update your software manually.
Windows doesn't come with antivirus software, but it can often detect and monitor antivirus software that was
installed by you or your computer manufacturer. The status of your antivirus software is typically displayed in
Action Center.
1. Open Action Center by clicking the Start button , clicking Control Panel, and then, under System
and Security, clicking Review your computer's status.
2. Click the arrow button next to Security to expand the section.
If Windows can detect your antivirus software, it will be listed under Virus protection.
3. Click Update now.
NB: The update now options only appear if Windows detects your antivirus software is out of date. Not all
antivirus software reports its status to Windows.
If your antivirus software isn't displayed in Action Center, go to the downloads section of your antivirus
software provider’s website. Find the update for your version of the software and your operating system, and
then install it. For more information, check the Help for your antivirus software.
Most antivirus software updates are free, but some providers charge a small fee for the updates. If you're using
an older version of the software, you might also have to pay to upgrade to a more recent version to continue to
receive the updates.
The boot sector virus replace the disks original boot sector with its own, and loads the virus into memory,
once in memory the virus can spread to other disks.
b) File Infector viruses
Adds codes to files that run the programs ,so the virus is activated each time you run that
program. When the virus is activated it spreads to other pro0gram files
a) Trojan Horse
A Trojan Horse virus disguise as a legitimate program .When you run a program infected by a Trojan
Horse Virus ,your computer may be damaged. Trojan Horse viruses are much more likely to damage
files and then other viruses. Files or disks infected by Trojan horse may not be coverable.
Known Virus
Pakistan Israel Boot Malmo Scores Friday 14th Bootworm
th
Peace December 13 Melisa Lehigh Weases Marijuana
Brian
Signs of infection
Computer takes long time to boot and loading programs
Different disk noise
Disk drive loads on at unusual times
Error messages
Funny characters displayed on screen/documents
Change of icons and file sizes
Different numbers from check disk
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.
iii. 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
Disadvantages of questionnaires
Some questions are left blank.
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 out-weigh 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.
4. 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:
File Structure:
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)
Output formats
Bugs in the system
Hardware requirements
Software requirements
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:
i. 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
ii. Classroom training: Users are send to other colleges and institutions which offer courses on the subject matter.
This could be expensive to organisations since employees take study leave while being paid at the same time.
Employees can also be trained on aspects that they will not apply when they finish the course. The gap between
what is learnt and what is needed at the job may be too wide.
Considerations when training users:
1. All staff need training that is relevant to their work using the computers. However, others may find it difficult to
learn the new system and may resist.
2. Age problem of trainees-older workers takes long to conceptualise concepts
3. Reluctance of employees to learn (use new system)
4. Computer based system means training on the computer
5. Regular updates means new training each time an upgrade is made
6. The type of training should be chosen carefully as it is important
7. Course type with trainer
o It may restrict learning times
o Can be intimidating to other employees
o Difficult to satisfy all trainees’ demands
ii. Abrupt (Direct) changeover: Involves stopping using the old system on a certain day and the new system takes
over on the next morning. This is suitable for control systems like in chemical plants and for traffic lights.
Advantages of Direct Changeover
Reduces cost as of running two systems at the same time.
Faster and more efficient to implement.
There is minimum duplication of tasks.
Enough resources can be allocated to make sure that the new system operates successfully.
iii. Phased / Partial conversion: This is whereby the old system is gradually removed while the new system is
gradually moved in at the same time. This can be done by computerising only one department in an organisation
this month, then the next department in two months’ time, and so on until the whole system is computerised.
Advantages of phased conversion
Avoids the risk of system failure.
Saves costs since the new system is applied in phases.
It could be easier to revert to the old system if the new system fails since only one department will be affected.
iv. Pilot conversion: This is whereby a program is tested in one organisation (or department), and is applied to the
whole organisation if it passes the pilot stage. It serves as a model for other departments. A pilot program can then
be applied in phases, directly or using the parallel run method.
NB: Implementation also involves the following activities:
- Acquisition of the necessary equipment / hardware and software
- Identifying and specifying modules to be used
- Identifying the main data structures within the program
- Identifying the main modules / algorithms to be used
- Installation of hardware
a) A systems flowchart for a payroll processing system that uses batch processing
b) A systems flowchart that is used to update a stock master file when stock items are purchased.
a) b)
(b) What would need to be done before the new computerised system become ‘Live’?
(c) Why would PILOT and PARALLEL change over methods be suitable in this application?
2. 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.
3. Name five tasks that would be carried out at the DESIGN stage in systems analysis.
4. 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.
5. Describe how the effectiveness of a new computer system can be assessed
DATA CAPTURE / COLLECTION
Data capturing can be either automatic or manual.
Manual methods are slow in entering data and are also prone to errors, e.g. typing 2.3 instead of 3.2. Manual data
capturing techniques includes the following:
- keyboards/keypads to type in data
- touch screens to select data/options
Automatic data capturing techniques are more accurate and faster but are more expensive and involves use of the
following:
(a) Data logging: this technique involves collecting data automatically using sensors; mostly used when doing
scientific experiments or monitoring a control system
(b) Barcode readers: these take data from printed barcodes and allow automatic stock control in, for example,
supermarkets.
(c) Radio Frequency Identification (RFID): this method involves using small electronic devices containing a
microchip and antenna; they work in a similar way to bar codes but can be read from a distance of 5 metres; often
used to track livestock, vehicles, library books and goods sold in shops.
(d) Biometrics: this involves obtaining data and identifying characteristics automatically in security systems e.g.
use of finger prints, palm prints, facial images and iris prints
(e) Magnetic Strips: these contain information/data stored on magnetic material often on the back of a credit/debit
card; the information is automatically read by swiping the magnetic stripe past a reading head (reading device).
(f) Optical character recognition (OCR): information on paper is automatically read by a scanner and is then
analysed/processed by OCR software and stored in an electronic format.
(g) Voice recognition: these systems recognise spoken words e.g. for disabled people who can’t use keyboards
where they speak commands instead of having to type
(h) Smart cards: these contain embedded microchips and receive power from the card readers; the microchip is
made up of RAM, ROM and 16-bit processor and the stored data is automatically read by the card reader; used in
credit cards, security cards, loyalty cards, etc.
(i) Optical Mark Recognition (OMR): OMR technology scans a printed form and reads pre-defined positions
(where specific fields have been filled in e.g. ●─● or ▄); the system records where marks have been made so can
automatically determine responses to, for example, a questionnaire.
2. Validation: A process done by the computer to detect if data entered is valid, correct, complete, sensible and
reasonable. For instance the height of a person entered as 12 metres is incorrect, is not sensible, neither is it
reasonable, and therefore the computer should reject this. Validation is a process of checking if data satisfies
certain criteria when input i.e. falls within accepted boundaries. Validation is done by the computer.
Types of Validation Checks on Data
(a) Character type check: A validation check for detecting if the correct characters have been entered, for
example can detect and reject alphabetic letters where numbers are needed. The computer should also reject if a
digit is entered where a name is needed, e.g. John5 is wrong since there is a wrong character in the name, i.e., 5.
(b) Range Checks: Are validation checks performed on data to make sure they lie in a specified range. For
example, you are required to enter a number between 5 and 20, and you enter 51, the computer should
automatically reject this since it lies outside the required range.
(c) Limit Check: this is similar to a range check except only ONE of the limits (boundaries) is checked e.g. input
data must be > 10.
(d) Presence checks: check that data is actually present and not missed out e.g. in Student form, somebody’s
Student Surname may been left out yet it is a required field name. The computer does not allow the user to
continue until an entry has been made in a required field name.
(e) Length checks: These are validation checks used to determine if data entered is of the required number of
characters. For example, if a student number has 5 digits, the computer should reject if a number with 4 or less
digits or even more digits is entered.
(f) Format Check: this checks that data is in a specified format (template) e.g. date should be in the form
dd/mm/yyyy.
(g) Consistence (Cross Field) Check: this checks if fields correspond with the other, e.g. if one enters ‘MR’ on
Title field, the Sex field must contain ‘Male’ or ‘M’. If one enters the title as Mr and then on sex enters Female,
there is no correspondence on the two fields and therefore the computer must reject this.
(h) Spell Checkers: These are validation checks that determine if accurate text has been entered especially in word
processing. Spell checkers use custom dictionaries to check spelling mistakes in documents. If a word is typed in, it
is checked if it is in the custom dictionary, if not, it is treated as an error. Spell checkers cannot be used in case of
names of people, places, computer jargon, new slang words, etc.
(2) Re-calculate without removing the given check digit using the example given below:
Example:
The ISBN to check is given as with X as the check digit: 0 - 1 3 1 5 - 2 4 4 7 – X
Remember X means 10, so 10 is the check digit in the example above.
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.
Therefore the check digit is correct.
NB: If the remainder obtained is 0, then the check digit is correct, if not, then the check digit is wrong.
Questions
1. Describe 4 methods of automatic data capture, giving an application of each method
2. A record contains the following fields:
- Title (Mr/Mrs/Miss) and Sex (Male or Female)
- Date of birth (written in the form dd/mm/yyyy)
- Pay Number (which is made up of 8 digits)
- Telephone Number
- Pay
Give a different validation check for each of the above fields and explain why it is used.
3. (a) Which of the following numbers have the correct check digit?
(i) 0 – 5 5 5 – 2 1 6 2 2 – 5
(ii) 0 – 1 2 1 – 9 0 0 2 1 – X
(b) Calculate the check digit for the following number:
0 1 5 0 2 4 6 2 2 ………
(c) Discuss the types of errors that check digits can identify.
4. (a) Give 2 different ways of carrying out verification checks.
SOFTWARE
Software refers to a set of instructions written in computer language that tell a computer to perform a specific task,
e.g. word processor, spreadsheet, etc. 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.
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.
Features (characteristics) of operating systems:
- Must be reliable in terms of being free from errors and handling of all jobs.
- Must be efficient, that is should be able to use resources fully ensuring good job processing, response time,
turnaround time, etc.
- Must be maintainable.
- Must be small in terms of storage space on the disk.
*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.
Turnaround Document: a document produced by the computer and later used as an input document to the same
computer, e.g. electricity bill
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
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
2. Time sharing operating systems: This type of operating system allows many users to use the same processor at
a time, using the round robin method by use of time slices. In ‘O’ Level Computer Studies Notes-ZIMSEC Syllabus
Compiled by: Kapondeni T. Cell: 0772 245 866. Email: kapondenit@[Link] Page 108 of 151 Date: 14-Jan-16
b. 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.
c. 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:
i. Virus Scan Utility: These are programs that protect computers from virus attacks, for example Norton Antivirus,
AVG, Avast, Esat NOD32, MacAfee, etc.
ii. 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.
iii. Debuggers: These are utilities used for assisting in correcting errors in programs.
iv. 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.
v. Editors: These are programs used to make changes to data already held in the computer.
vi. Peripheral Transfer Utility: These are programs used to transfer data from one peripheral device to another.
vii. System Status Utilities: These are programs that provide information on the state of files, memory, users and
peripherals.
viii. 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. ‘O’
Level Computer Studies Notes-ZIMSEC Syllabus
Compiled by: Kapondeni T. Cell: 0772 245 866. Email: kapondenit@[Link] Page 110 of 151 Date: 14-Jan-16
2. Tailor-made Software (bespoke/user application software): These are programs specifically designed to meet
the unique needs of only one organisation, for example a bank. The organisation would employ or hire an analyst /
programmer who will first asses the needs of the organisation before designing a program that will solve the
problems of the organisation.
Advantages of Tailor-made software
- Easier and more intuitive to use.
- Much better customer support since they will be in direct contact with the software designers.
- Specifically designed for the application and therefore more efficient and will only contain the features wanted by
the user.
- can be customised to interface with all other software within the company thus preventing software clashes
- easier to use since very specific and the writers of the software can also be involved in the training of staff which
will be geared towards their requirements
- can be modified/updated as the company’s requirements change
*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.
Advantages of Off-the-Shelf Software Over tailor-made software:
- Off - the - self software is cheaper to buy while tailor-made software is expensive.
- Off-the-Shelf software has been tried and tested hence free from errors while tailor-made software may have
some errors.
- Off-the-Shelf software is easier and faster to implement while tailor made software takes long to implement.
- Off-the-Shelf software is used by many organisations; therefore users can share information on its usage while
tailor-made software is only used by one organisation.
- Off-the-Shelf software has regular updates available for download on the internet while tailor-made software does
not.
*NB: Editing: the process of correcting mistakes in a document, for example, spelling mistakes. ‘O’ Level Computer
Studies Notes-ZIMSEC Syllabus
Compiled by: Kapondeni T. Cell: 0772 245 866. Email: kapondenit@[Link] Page 113 of 151 Date: 14-Jan-16
*NB: Animation: - Creating illusion of moving sequence using a series of still images as done in movies and
cartoons.
4. 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:
(a) 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.
(b) 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
(c) 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.).
(d) 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.
(e) 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 ‘O’ Level Computer Studies Notes-ZIMSEC Syllabus
Compiled by: Kapondeni T. Cell: 0772 245 866. Email: kapondenit@[Link] Page 115 of 151 Date: 14-Jan-16
8. Authoring Packages (Authorware): Software that can be used to write interactive, hypertext or multimedia
computer programs without the technically demanding task of computer programming. Also used in multimedia
presentations. These programs can be used for developing databases and material for Computer Aided Instruction
(CAI).
Authoring tools require less technical knowledge to master and are usually used for applications that present a
mixture of text, graphics, and audio/music files. Authoring tools usually allow the creation of the actual required
application by linking together objects which can be text, graphics, music file, etc. By defining the relationship
between objects it is possible to produce very useful and eye catching applications.
(9) Web Browsers: Software used to open web pages on the internet, examples are: Mozilla Firefox, Microsoft
Internet Explorer, Safari, Opera, etc.
(10) 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.
Factors to consider when purchasing an application package:
- Application intended for.
- Easiness of installation.
- Mode of processing (single user, multi user, etc).
- User friendliness.
- Availability of support personnel.
- Availability, readability and clarity of documentation.
- Memory requirements.
- Hardware requirements.
Types of Systems
1. 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-real-time) 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
‘O’ Level Computer Studies Notes-ZIMSEC Syllabus
Compiled by: Kapondeni T. Cell: 0772 245 866. Email: kapondenit@[Link] Page 117 of 151 Date: 14-Jan-16
8. Distributed (decentralised) Systems: A system whereby processing is done independently in more than one
location but with shared and controlled accessed to common facilities, like file storage as applied in departmental
shops. These systems are normally found in departmental shops, bank branches that will be linked together, etc.
Advantages of distributed systems:
- Users feel more involved and responsible and this increase motivation.
- Systems often meet user specific needs and requests for changes are more readily met.
- Costs of physical and electronic movement of data are reduced.
- The total breakdown of information processing disappears.
9. 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.
‘O’ Level Computer Studies Notes-ZIMSEC Syllabus
Compiled by: Kapondeni T. Cell: 0772 245 866. Email: kapondenit@[Link] Page 119 of 151 Date: 14-Jan-16
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.
1. 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.
2. 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 ‘O’ Level Computer Studies Notes-ZIMSEC Syllabus
Compiled by: Kapondeni T. Cell: 0772 245 866. Email: kapondenit@[Link] Page 121 of 151 Date: 14-Jan-16
4. File maintenance: This is the process of reorganising the structure of records and changing (adding or removing
or editing) fields. This can be due to changes due to addition or deletion of records.
5. File Updating: Updating is the process of either adding new record, deleting unwanted records or modifying
existing records. It involves making necessary changes to files and records. Mostly master files are updated and
they must be up-to-date (contain accurate and most recent information).
For updating to occur, any one of the following must have occurred:
A new record has been entered.
Deletion of an unwanted record.
An amendment (change) to the existing data has been made, e.g. change in date of birth only.
The most common methods of file updating are: Updating in situ and Updating by copying.
a. 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.
*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 CD-ROM 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
This occurs in random and indexed-sequential files, thus on devices like hard discs and memory sticks
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.
Programming languages are of the following types:
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:
(i) Programs run faster since they are already in computer language. There is no need for conversion as programs
are in machine language.
(ii) Programs occupy very small disc storage space by storing just 1s and 0s.
Disadvantages of Machine Language:
They are very difficult to learn.
They are difficult to understand.
Very difficult to use and takes too long to find an error in a program.
It takes too long to develop working programs.
They are machine dependent (they can only work on type of computer designed for and not work on other
computers)
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.
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:
1. 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.
2. 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
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.
Difficult to find errors in compiled program.
*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.
3. 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.
6 Occupy large disk storage Occupy small disk storage space on the computer
space on the computer
However,
It may be difficult to link the modules together.
There could be problems of usage of variables as similar variable names may be referring to different sets of
data. They may also vary in scope.
*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 sub-program 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
a. 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.
b. Pseudocodes: These are English-like statements, closer to programming language that indicate steps followed in
performing a specific task. They are however independent of any programming language. An example is as
follows:
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
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
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
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
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.
Symbol Explanation
Process Symbol - Indicates where some form of processing
occur
Arrow -Shows directional flow of data (data flow
symbol)
Input /output - Parallelogram in shape. Indicates where
data is entered and output form, either screen
display or printout.
Terminal - Oval in shape. Indicate the start and stop of
a program. Therefore it is written either
Start/Begin/Stop/End.
Connector - Circular in shape. Denotes the start and end
of a subroutine. Nothing should be written
inside it.
Pre-defined process Indicates a module/subprogram/procedure
inside another program
Start
Enter number, A
Enter number, B
Sum = A + B
Display Sum
Stop
Pseudocode for the flowchart on the left:
3. Using Iteration
(a) Repeat ... Until Structure
Flowchart
Flowchart
Count = count + 1
WEND
Average = Sum / count
Display Sum, count, Average
END
Flowchart (a) above indicates modules named Accept Numbers, Add numbers Multiply Numbers and Display
Results. Flowcharts for individual modules can then be designed as given in diagram (b) above, only the first
module is indicated. Can you do the rest?
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.
PROGRAMMING
Programming Concepts
Programming Concepts
Functions
Testing and Debugging
Interface design
Interface design
Visual Programming
Testing and Debugging
Errors
Testing and Debugging
Coding programs
WEB DESIGN
Web content development
Web page templates
Web content development
Web page templates Content management systems (CMS) Web site templates
Web Content Development
Testing and Debugging
Plugins and Extensions
Graphic design
Ads
Web Security
Plugins/ Extensions
Web development
Web Securuty
Testing and Debugging
TECHNOPRENEURSHIP
Technopreneur is the person who destroys the existing economic order by introducing, new products and
services, by creating new forms of organizations and by exploiting new raw materials. It is someone who
perceives an opportunity and creates an organization to pursue it. A person who undertakes risks that has the
chance of profit. Technopreneurs distinguishes themselves through their ability to accumulate and manage
knowledge, as well as their ability to mobilized resources to achieve a specified business or social goal.
Entrepreneurship is a way of thinking and acting that is opportunity obsessed, holistic approach and leadership
balanced for the purpose of wealth creation. Searches for change , responds to it, and exploits it as an
opportunity. Innovation is the specific tool of entrepreneurs, the means by which they exploits change as an
opportunity for a different business or a different service. Entrepreneurship pursuit of opportunity without
regard to the resources currently under one’s control.