CSK W Chapter 1 - Introduction To Computer System Notes 2
CSK W Chapter 1 - Introduction To Computer System Notes 2
Computer System:
A computer along with additional hardware, software, and user together is called a computer
system.
Components of a computer system
HARDWARE
SOFTWARE
HEARTWARE/ LIVEWARE
Software
Hardware needs to be operated by a set of instructions. These sets of instructions are referred to
as software. It is that component of a computer system, which we cannot touch or view
physically. It comprises the instructions and data to be processed using the computer hardware.
The computer software and hardware coordinate and complete the task.
Definition:- Software is a set of instructions and data that makes hardware functional to
complete the desired task.
Need of Software- The sole purpose of the software is to govern the operation of a computer
system and make the hardware useful and operational. We cannot instruct the hardware of a
computer directly. The software acts as an interface between the user and the hardware.
Depending on the mode of interaction with hardware and the functions to be performed, the
software can be broadly classified into two categories:
The software that provides the basic functionality to operate a computer by interacting
directly with its supporting hardware is termed system software.
a. Operating System
The operating system is a set of programs that act as an interface between a user and
hardware. OS is a platform between hardware and user that is responsible for the
management and coordination of activities and the sharing of the resources of a computer.
OS acts as the resource manager of the computer and it hosts the several applications that
run on a computer.
Programming Tools
To get some work done by the computer, we need to give instructions which are applied on
the input data to get the desired outcome. Computer languages are developed for writing
these instructions. Computers can understand only the language of electricity ( ie. 0 and 1).
It is very difficult for a human to write instructions in the form of 1s and 0s.
Different types of computer programming languages are developed to simplify the coding.
Classification of Programming Languages:
Low-level Language
Assembly Language
High-level Language
Assembly language
To simplify the writing of code, assembly language was developed that allowed usage of
English-like words, digits and symbols instead of 1s and 0s. However, one major drawback
of writing code in this language is that the code is computer specific, i.e., the code written
for one type of CPU cannot be used for another type of CPU.
Computers can understand only machine language; there is a continuous need for conversion
from assembly language to machine-level language, for which translators are needed. Also
finding errors in the code written in machine language is difficult.
b. Language processors
The computer can understand only machine language, a translator program is needed to
convert programs written in assembly or high-level language to machine language. These
translator programs are called Language Processors.
The program code written in assembly or high-level language is called source code. The source
code is converted by a translator into the machine-understandable form called object (machine)
code. Language Processors do the conversion task of different types of computer languages to
machine language and vice versa.
Assembler: The translator program used to convert the code written in assembly language to
machine language is called assembler. Each assembler can understand a specific
microprocessor instruction set only and hence; the machine code is not portable.
Interpreter translates one line at a time instead of the whole program in one go. An
interpreter takes one line, converts it into executable code if the line is syntactically correct,
and then it repeats these steps for all lines in the source code. Hence, the interpreter is
always needed whenever a source code is to be executed.
c. Utility software
Software used for maintenance and configuration of the computer system is called utility
software. Some system utilities assist the operating system in carrying out certain specialized
tasks like disk defragmentation tool, formatting utility, system restore utility, etc.
Another set of utilities are those that are required to improve the performance of the system
like Anti-virus software, Disk cleaner tool, Disk compression software, and Backup utility.
d. Developer Tools
When a programmer develops software and programs, they have a prewritten set of codes,
functions, scripts etc. available to do a variety of tasks, which they can use directly in their
code. These predefined sets of codes are called developer tools or software libraries.
Software libraries can be used in the development of new software and applications.
For example, Python comes with many software libraries like NumPy, SciPy, and Panda
Library.