Chapter 3 - Computer Software
Chapter 3 - Computer Software
3.1. Introduction
Software is simply set of instructions that cause a computer to perform one or more tasks. The set of
instructions is often called a program or, if the set is particularly large and complex, a system. Computers
cannot do any useful work without instructions from software; thus a combination of software and
hardware (the computer) is necessary to do any computerized work. A program must tell the computer
each of a set of tasks to perform, in a framework of logic, such that the computer knows exactly what to
do and when to do it. Data are raw facts and ideas that have not been processed while Information is data
that has been processed so as to be useful to the user
Software
System Software:- Which controls all processing activities and makes sure that the resources and the
power of the computer are used in most efficient manner . The System software can categorized in to
1. Operating System
2. Language Processors (Assemblers, Compilers, Interpreters)
3. Utilities Programs
4. Service Programs - Device Drivers
5. Basic Input Output system (BIOS)
Classification;
1. Operating systems and control programs: a complex program and most important program that runs
on a computer and which controls the operation of a computer. It perform basic tasks, such as
recognizing input from the keyboard, sending output to the display screen, keeping track of files and
directories on the disk, and controlling peripheral devices such as disk drives and printers. In general
the operating system supervises and directs all the software components and the hardware
components. Sophisticated operating system could handle multi-processors, many users and tasks
simultaneously. Examples of computers operating systems are UNIX, Microsoft windows 95/98,
Windows NT, Windows 2000, Windows XP, Windows Vista and Linux.
2. Language Processors
Translators: used to translate programs developed using standard programming languages into
machine language that is understood by the computer.
There are three basic types of translators they are
i. Compilers: - A compiler is a software that will convert the high level instructions into
equivalent Machine level instructions at a time.
ii. Interpreters:- A Interpreter is a software that will convert the high level instructions into
equivalent Machine level instructions step by step.
iii. Assembler:- Assembler is a software that will convert the high level instructions into
equivalent Machine level instructions but here, the input programs are in assembly language.
The output is in machine language.
3. Utilities Programs: systems programs that provides useful service to the users of the computer by
providing facilities for performing common tasks of a routine nature. Common types includes
Sort: used for sorting data
Editor: also called text editors are used at a terminal and provide facilities for the creation or
amendment of programs
File copying: also called media conversion are used to copy data from one medium to another.
Dump: used to copy the content of the main memory to an external storage device.
File maintenance: program used to carry out the process of insertion/deletion of records in any
file. It can also make amendments to the standing data contained in a record.
Tracing and Debugging: used in conjunction with the debugging and testing of application
programs. Tracing involves producing diagnostic information after obeying specified instructions
so that the cycle of operation can traced and errors located. Debugging is the term given to the
process of locating and eliminating errors (bugs) from a program.
Libraries- commonly used parts or portions of a program which can be called or included in the
programmer’s code without having to recode that portion.
In addition, there is more than one BIOS in your computer. The one commonly referred to is the main
system BIOS. However, there are other BIOS chips that can be found in many of your computer's
peripherals. The system BIOS activates all of the other BIOS chips.
If everything is found to be working properly during the POST, the BIOS will then try to boot the
computer from the hard drive. This is the process of launching the Operating system so that you can
use many different computer programs, like playing games or surfing the Internet!
3.4 Functions of OS
The operating system is responsible for the following activities in connection with file management:
a) The creation and deletion of files
b) The creation and deletion of directory
c) The support of primitives for manipulating files and directories
d) The mapping of files onto disk storage.
e) Backup of files on stable (non volatile) storage.
Protection refers to a mechanism for controlling the access of programs, processes, or users to the
resources defined by a computer controls to be imposed, together with some means of enforcement. An
unprotected resource cannot defend against use (or misuse) by an unauthorized or incompetent user.
Others include;
1) Handling job transactions
2) Co-ordinating and managing peripheral devices
3) Input-Output Management
4) Maintains account of processor time for billing purposes.
5) Maintains Internal clock; Provides data and time services etc.
6) Scheduling of various tasks
7) Establishing and enforcing priorities for different jobs
Operating system concepts:- User programs interact with operating system using set of extended
instructions. These instructions are called “system calls”. These system calls are used to create, delete
and use various software objects that are manages by the Operating systems. The following are common
in any Operating system.
1. Process
2. Files
3. System Calls
4. The shell
The Operating systems can be classified as Single user and Multiuser (number of users working on it at a
given point of time) and Multitasking operating systems,
Single user Operating systems - MSDOS
Multi-user Operating System - UNIX, Linux etc
Multitasking Operating System - Windows
3.6. Classification of OS
Basing on the features of the operating systems and the interface provided they can be classified as
User friendly Operating system :- These Operating systems provide a pleasant and easy to work
environment, they are usually graphical based, where the various options are represented as icons,
menus etc.
Windows operating systems are some of the user friendly Operating systems.
Programming friendly Operating systems:- The programmer is anyone who has fair knowledge about
programming concepts and he is expected to know the computer in a detailed manner. The programmer
much concerned about various utilities, functionalities, flexibility and powerful environment. UNIX,
XENIX,LINUX etc. are some of the character based interfaces which are very powerful and
programming friendly.
Once the commands are entered on the prompt a command line interpreter(CLI) identifies and executes
the commands. A command based interface is quick to operate and very flexible, but the user needs to
learn all the commands and type them in correctly. Examples operating systems that use command
based interface are Ms DOS and UNIX.
Intro to Computer – Chapter 4 Software Page 6
Graphical user interface
A graphical user interface (GUI) allows the user to interact with the system using Windows, Icons,
Menus, and Pointers to control the operating system. Icons represent programs, groups of programs,
folders, devices and files. Instead of typing a command or file name, selection is achieved by moving a
pointer with a mouse and clicking a mouse button. Windows is a Graphical user interface based
operating system.
3.8.1. Classification;
1) User application software; Custom software / programs with associated documentations designed and
developed to specifically to carry out particular task.
2) Application packages: Prewritten commercial software purchased in stores most often, personal
computers utilize packaged software.
Application packages are of major importance to small computer-system users who do not have the
necessary resources or expertise to produce their own software.
Advantages includes;
a) Saves programming efforts and expense as the development costs are effectively shared
between the purchasers.
Disadvantages
a) Purchaser have no direct control over the package.
b) Packages usually developed to meet general needs and may not be ideal to a particular
customer. Sometimes a lot of customization of the software is required to meet the unique
needs of a customer.
The most important applications software categories included in office suites are described in the table
below:
Word Processor Provides the tools for entering and revising text, adding graphical
elements, formatting and printing documents.
Spreadsheets Provides the tools for working with numbers and allows you to create
and edit electronic spreadsheets in managing and analyzing information.
Database Management Provides the tools for management of a collection of interrelated facts.
Data can be stored, updated, manipulated, retrieved, and reported in a
variety of ways.
Presentation Graphics Provides the tools for creating graphics that represent data in a visual,
easily understood format.
Communication Provides the tools for connecting one computer with another to enable
Software sending and receiving information and sharing files and resources.
Internet Browser Provides access to the Internet through a service provider by using a
graphical interface.
Word processing applications. Writing tasks previously done on typewriters with considerable
effort can now be easily completed with word-processing software. Documents can be easily
edited and formatted. Revisions can be made by deleting (cutting), inserting, moving (cutting and
pasting), and copying data. Documents can be stored (saved) and opened again for revisions
and/or printing. Many styles and sizes of fonts are available to make the document attractive.
Example: MS Word, Word Pad etc.
Spreadsheet applications. spreadsheet software permits performance of an almost endless
variety of quantitative tasks such as budgeting, keeping track of inventory, preparing financial
reports, or manipulating numbers in any fashion, such as averaging each of ten departmental
monthly sales over a six-month period. A spreadsheet contains cells, the intersection of rows and
columns. Each cell contains a value keyed in by the user. Cells also contain formulas with many
Software Suites
A suite is a collection of related software packages, such as Microsoft Office (which includes Word,
Excel, PowerPoint, etc.) A group of programs that are sold as a package to solve common problems.
Although there are suites for graphics, mathematics and other applications, the most popular are "office
suites." Also known as "productivity suites," they are a set of basic business programs designed with a
uniform user interface and common functions such as spell checking. The primary programs are word
processing, spreadsheet, presentation graphics, database and e-mail, although each suite has its own mix,
and a variety of other programs and utilities may also be included. Some of the programs may be for sale
as individual products
Integrated packages
Software that combines several applications in one program, typically providing at least word processing,
spreadsheet and database management. Presentation graphics, page layout, paint, calendar, address book,
e-mail and other applications may also be included. All programs in an integrated package are accessed
via a common launching pad. Microsoft Works and AppleWorks are two primary examples of integrated
software packages.
o Tailor made/special purpose software Tailor-made computer system refers to computer application
developed by in-house IT personnel or outside software house according to specific user requirements
in a firm. They are developed for given purpose e.g. Payroll system, stock control system etc.
High level languages are more abstract, easier to use and more portable across platforms as compared to
low-level programming languages. A programmer uses variables, arrays or Boolean expressions to
develop the logic to solve a problem. Source programs are written in statements akin to English. A high
Procedure languages.
High-level languages designed to solve general-purpose problems, example BASIC, COBOL,
FORTRAN, C, C++ and JAVA. They are designed to express the logic and procedure of a problem.
Though the syntax of the languages may be different, they use English-like commands that are easy to
follow. They are portable.
Problem-oriented languages
Problem-oriented languages also known as Fourth Generation Languages (4GL) are used to solve
specific problems and includes query languages, report generators and Application generators which have
simple English like syntax rules. The 4GLs have reduced programming efforts and overall cost of
software development. They use either visual environment or a text environment for program
development similar to that of third-generation languages. A single statement of the 4GL can perform the
same task as multiple line of a third-generation language. It allows a program to just drag and drop from
the toolbar, to create various items like buttons, text boxes, label etc. A program can quickly create a
prototype of the software applications
Natural Languages
Natural languages widely known as fifth generation languages, are designed to make a computer to
behave like an expert and solve problems. The programmer just needs to specify the problem and the
constraints for problem solving. Natural languages such as LISP and PROLOG are mainly used to
develop artificial intelligence and expert systems.
4. Which of the software below would assist a secretary in preparing a report for an annual general
meeting?
(a) Ms Word (b) Ms Access (c) Outlook (d) Ms QuickBooks
5. Which of the software below would assist a salesman in recording daily sales for different items for
which he needs totals among other analysis?
(a) Ms Word (b) Ms Access (c) Outlook (d) Ms Excel