Chapter 5
Chapter 5
Chapter 5
COMPUTER SOFTWARE
COMPUTER SYSTEM
The computer hardware cannot think and make decisions on its own. So, it cannot
be used to analyze a given set of data and find a solution on its own. The
hardware needs a software (a set of programs) to instruct what has to be done. A
program is a set of instructions that is arranged in a sequence to guide a
computer to find a solution for the given problem. The process of writing a
program is called programming.
Computer software is written by computer programmers using a programming
language.
© Oxford University Press 2012. All rights reserved.
Examples of computer software include:
• Computer Games
• Driver Software
• Educational software
Interacts with the hardware directly Interacts with the hardware indirectly through system calls
provided by system software
Writing a system software is a complicated task Writing application programs is relatively very easy
Example: compiler, operating system Example: MS-WORD, PAINT
USER N
USER 1 USER 2
Application programs
System Software
Interpreter: Like the compiler, the interpreter also converts machine level
language instructions into machine level language. However, it translates the
instructions into an intermediate form, which it then executes. Usually, a
compiled program executes faster than an interpreted program.
All in all, DBMS facilitates its users to control data access, enforce data
integrity, manage concurrency, and restore the database from backups.
BATCH SINGLE SINGLE USER MULTI USER MULTI REAL TIME VIRTUAL
PROCESSING USER MULTI MULTI PROCESSING MACHINE
TASKING SINGLE TASKING TASKING
TASKING
The kernel: The kernel of UNIX is the hub of the operating system as it
allocates CPU time and memory to programs and handles the communications
when a system call is invoked.
The shell: The shell acts as an interface between the user and the kernel.