Computer Software
Computer Software
Context
At the end of the chapter the learner shall be able to;
• Explain computer software and the classification of computer
software
• Explain system software and the different software in that category
and their application and importance in computing
• Explain application software and the different software in that
category such as general purpose and special purpose software
• Explain Ready-made software vs tailor made software
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 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.
Classification of Computer Software
SYSTEM SOFTWARE
Cont.
• Systems software: Also called Operating Systems (OS) are programs with
associated documentation that controls the way the computer operates or
provide facilities that extend the general capabilities of the system.
• 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 be categorized into
1. Operating System
2. Language Processors (Assemblers, Compilers, Interpreters)
3. Utilities Programs
4. Device Drivers
5. Basic Input Output system (BIOS)
1) Operating System and Control Programs
• 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 performs 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.
Functions of OS
• The major functions of O.S are
• 1. Process Management: The CPU executes a large number of programs.
While its main concern is the execution of user programs, the CPU
is also needed for other system activities.
• These activities are called processes. A process is a program in execution.
• The operating system is responsible for the following activities in
connection with processes managed.
• The creation and deletion of both user and system processes
• The suspension and resumption of processes.
• The provision of mechanisms for process synchronization
• The provision of mechanisms for deadlock handling.
Functions of OS
• Memory Management: Memory is central to the operation of a
modern computer system.
• Memory is a large array of words or bytes, each with its own address.
Interaction is achieved through a sequence of reads or writes of
specific memory address.
• The CPU fetches from and stores in memory. In order for a program to
be executed it must be mapped to absolute addresses and loaded in
to memory.
• In order to improve both the utilization of CPU and the speed of the
computer’s response to its users, several processes must be kept in
memory.
Functions of OS Cont.
• The operating system is responsible for the following activities in
connection with memory management.
• Keep track of which parts of memory are currently being used and by whom.
• Decide which processes are to be loaded into memory when memory space
becomes available.
• Allocate and de-allocate memory space as needed.
• Secondary Storage Management
Functions of OS
• Secondary Storage Management: The main purpose of a computer system
is to execute programs.
• These programs, together with the data they access, must be in main
memory during execution.
• Since the main memory is too small to permanently accommodate all data
and program, the computer system must provide secondary storage to
backup main memory.
• Most modern computer systems use disks as the primary on-line storage of
information, of both programs and data.
• The operating system is responsible for the following activities in
connection with disk management
• Free space management
• Storage allocation
• Disk scheduling.
Functions of OS
• Input Output System – Input/output management: One of the
purposes of an operating system is to hide the peculiarities of specific
hardware devices from the user.
• For example, in UNIX, the peculiarities of Input/output devices are hidden
from the bulk of the operating system itself by the INPUT/OUTPUT system.
• The Input/output system consists of:
• A buffer caching system
• A general device driver code
• Drivers for specific hardware devices. Only the device driver knows the
peculiarities of a specific device.
Functions of OS
• File Management: A file is a collection of related information defined
by its creator. File management is one of the most visible services of
an operating system.
• Computers can store information in several different physical forms;
magnetic tape, disk, and drum are the most common forms.
• Each of these devices has it own characteristics and physical
organization. For convenient use of the computer system, the
operating system provides a uniform logical view of information
storage.
• The operating system abstracts from the physical properties of its
storage devices to define a logical storage unit, the file. Files are
mapped, by the operating system, onto physical devices.
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 (nonvolatile) storage.
Functions of OS
Q&A