Unit 1
Unit 1
For example, if 12-12-95 is the date of birth of a student, then it is data (a raw
fact/figure). However, when we process this data (subtract it from the present-date)
and say that the age of the student is 23 years, then the outcome is information.
Instructions are the commands given to the computer which tell it what to do.
Program is a set of instructions in a language understood by computers. Software is
a set of programs. Hardware refers to computer and all its physical parts. The
important characteristics of a computer (refer to Figure 1.2) are:
Speed :
Computers can perform millions of operations per second, which means that
data that may otherwise take many hours to process is output as information
in the fraction of a second. The speed of computers is usually given in
nanoseconds and picoseconds, where 1 nanosecond = 1 × 10−9 seconds and 1
picosecond = 1 × 10−12 seconds.
Accuracy:
Computers are very fast, reliable, and robust devices. They always give
accurate results, provided that correct data and set of instructions are input to
them. Hence, in the event of an error, it is the user who has fed the incorrect
data/program is responsible. This clearly means that the output generated by
a computer depends on the given instructions and input data. If the input data
is wrong, then the output will also be erroneous. In computer terminology, this
is known as garbage-in, garbage-out (GIGO).
Automation:
Besides being very fast and accurate, computers are automatable devices that
can perform a task without any user intervention. The user just needs to assign
the task to the computer, after which it automatically controls different devices
attached to it and executes program instructions.
Diligence:
Unlike humans, computers never get tired of a repetitive task. They can
continually work for hours without generating errors. Even if a large number
of executions needs to be executed, each and every execution requires the same
duration, and is executed with the same accuracy.
Versatile:
Versatility is the quality of being flexible. These days, computers are used in
our daily life in different elds. For example, they are used as personal
computers (PCs) for home use, for business-oriented tasks, weather forecasting,
space exploration, teaching, railways, banking, medicine, and so on. On the PC
that we use at home, we may play a game, compose and send e-mails, listen to
music, etc. Therefore, computers are versatile devices as they can perform
multiple tasks of different nature at the same time.
Memory:
Similar to humans, computers also have memory. Just the way we cannot store
everything in our memory and need a secondary medium, such as a notebook,
to record certain important things, computers also have internal or primary
memory (storage space) as well as external or secondary memory. While the
internal memory of computers is very expensive and limited in size, the
secondary storage is cheaper and of bigger capacity.
Computers store a large amount of data and programs in the secondary storage
space. The stored data and programs can be retrieved and used whenever
required. Some examples of secondary devices include optical disks (CDs and
DVDs), hard disk drives, and pen drives. When data and programs have to be
used, they are copied from the secondary memory into the internal memory,
often known as random access memory (RAM).
No IQ:
Economical:
All digital computers are based on the principle of stored program concept, which was
introduced by Sir John von Neumann in the late 1940s. The following are the key
characteristic features of this concept:
➢ Before any data is processed, instructions are read into the memory.
➢ Instructions are stored in binary form (using binary numbers—only 0s and 1s).
➢ Processing starts with the first instruction in the program, which is copied into
the control unit circuit. The control unit executes the instructions.
----------------------------------------------