Fundamentals of Computer - New
Fundamentals of Computer - New
Fundamentals of Computer - New
1. Fundamentals of Computer
1. Computer – An Introduction: The term Computer is used to describe a device consisting of
a combination of electromechanical components. The machine which we usually see on a
desk or which we imagine when the word computer is spoken is not the real or complete
computer. It is just the hardware of computer. A computer is often called a computer
system because it is not one device or component.
A computer System is the combination of, at least the following six elements:
• Hardware: the machine parts of computer.
• Software: the processing capability of hardware
• People: the operators of computer; they create the software for computer.
• Procedures: the set of instructions, which are used to carry out routine task to manage
computer and files.
• Data: the collection of facts and figures, which are to be processed by the computer.
• Information: the result that we get after processing data under the given instructions.
2. Computer – Definition: It is difficult to give one clear-cut definition of computer, because
different people define computer differently according to their usage of the machine. A
general definition of computer can be:
A Computer is an automatic electronic device, which can
receive data from some input device, process it under the
given instructions, and gives out the information through
some output device.
3. Main Blocks of Computer: A computer consists of 3 main units:
• Input Unit:
• Output Unit:
• Central Processing Unit (CPU)
4. Input Unit: It is the unit of a computer system, which provides a mean of communication
between computer and outside world. The input unit takes in the data and instructions
from a user and translate them into a form that computer can understand. Keyboard is the
main input unit of a computer.
5. Output Unit: It is the unit of a computer system that is used to show the results of processing
(i.e. information) to the user. The results of processing are in the form of machine codes
when they come out of the processing unit. The output unit converts these codes into a
form, which can be directly understood by users or other peripheral devices. Visual
Display Unit (VDU) in the main output unit of a computer.
6. Central Processing Unit:
Abbreviated as CPU, it is the
main unit of a computer. It Control Arithmetic
Unit Logic
controls all the functions,
Unit
actions, and processing done by
a computer. The CPU controls
and co-ordinates all the Central Processing Unit
peripherals attached to a
computer. The CPU has three
main parts or sub units:
• Control Unit (CU) Memory Unit
• Arithmetic Logic Unit
(ALU)
Fig. 2 – Central Processing Unit
• Memory Unit.
6.1. Control Unit: Abbreviated as CU, the control unit controls and coordinates all
activities of a computer. It includes:
i. Controls the Input-Output devices.
ii. Storing and retrieving data from memory.
iii. Storing and retrieving data from storage devices.
iv. Routing of information between memory and ALU.
v. Controls the direction of arithmetic and logic operations.
vi. Controls the execution of programs.
6.2. Arithmetic Logic Unit: Abbreviated as ALU, the Arithmetic and Logic Unit performs
all arithmetic operations such as addition, subtraction, multiplication, and division of
numeric data (i.e. numbers).
This unit also performs the logical operations such as comparing two values to check
if one is greater/smaller than the other or not. Similarly it can check a condition for
true or false.
6.3. Memory Unit: It is the storage area of a computer where data, instruction, and
information are stored. According to the usage, it is divided into two parts:
i. Random Access Memo (RAM)
ii. Read-Only Memory (ROM).
6.3.1. Random Access Memory (RAM): It is also called User’s Memory. In RAM
data and programs are held temporarily during the processing, which means
that after one task is completed, these data and programs are erased and new
items are placed in the RAM. Thus RAM is re-useable memory. RAM is also
called volatile (i.e. unstable) memory because when the power is switched off,
its contents get erased. The data held in RAM is instantly available to the
computer.
6.3.2. Read-Only Memory (ROM): It is used to hold programs/instructions that are
required to “boot” a computer. These programs/instructions include certain
start-up programs such as routine that start disk drives, load operating system
into RAM (Bootstrap Program) and transfer of control to the newly loaded
operating system.
A user can’t change the contents of ROM. These programs/instructions are
stored on a ROM chip when it is manufactured. ROM is often called
“firmware” because “software (programs) are permanently stored on
hardware”. ROM is also called non-volatile (i.e. stable) memory because its
contents can’t be destroyed; they remain there even when the power is
switched off.
7. Block Diagram: The Block Diagram of a computer shows the path of data from Input Unit to
Central Processing Unit to Output Unit. As shown in the figure (on the next page), CPU
receives inputs (data/instructions) from the Input Unit by the Control Unit. The CU sends
it to the memory Unit to store it.
Control Arithmetic
Unit Logic
Unit
Input Output
Unit Unit
CPU
Memory Unit
Secondary Storage
From there it is taken into the Arithmetic Logic Unit. In ALU data is processed under the
given instructions (receives along with the data). The CU takes out the results of these
processing and store these back in the Memory unit. The CU then takes out these results
and sends them to the Output Unit for the users or other peripheral devices to use them
according to their requirements. The memory contained in the CPU is called the Primary
Memory (discussed in later chapter). The memory shown out of the block diagram is
called Secondary Memory, which constitutes a part of a Computer System, but it is not a
part of the CPU so it is drawn outside the CPU boundary.
8. Memory Measuring Units: Bit and Byte are the two basic units in which the memory of
computer is measured.
• A bit is the place required in computer’s memory to store 1 binary digit. There are
two binary digits; 0 and 1.
• A byte is the group of 8 continuous bits that are required to store one character
(alphabet) of human language in computer’s memory.
The bigger units in this series are (using denary values) – Kilo Byte(KB), Mega Byte (MB),
Giga Byte (GB), Tera Byte (TB), Peta Byte (PB) and Exa Byte (EB).
Memory size using denary values
Since memory size is actually measured in terms of powers of 2, another system has been
adopted by the IEC (International Electrotechnical Commission) that is based on the binary
system. The bigger units in this series are (using binary values) – Kibi Byte (KiB), Mebi Byte
(MiB), Gibi Byte (GiB), Tebi Byte (TiB), Pebi Byte (PiB) and Exbi Byte (EiB).
IEC memory size system
They will be explained in a later chapter at an appropriate time. For the time being just
remember their names and the relation between them as given in the tables.
9. Advantages of Computer: When it comes to the comparison between the manual work and
the computerized work, we find that computer scores over man on the following points:
• Speed: Computer process data at a very fast speed. In fact, it can carry out millions of
instructions per second. An ordinary Computer can count upto a million in one second.
The speed of Computer is measured in terms of its capability to carry out number of
instructions in a second. It is denoted by, Kilo Instructions Per Second (KIPS) and
Million Instructions Per Second (MIPS).
• Accuracy: The design of a Computer is such that it can’t commit any mistake by itself.
That is, if it is instructed properly, then there is absolutely no chance of any errors.
Therefore the results given out by a Computer are 100% accurate and can be taken for
granted.
• Diligence: Computer can perform repetitive jobs with constant attention and interest i.e.,
it does its job diligently without getting bored with the repetitive kind of jobs.
• Reliable: Being a machine, it is capable of operating for long hours without any failure or
fatigue. That means that no rest or tea/coffee breaks every now and then.
• Automatic Operations: Once, necessary instructions and the required data is provided to
it, Computer doesn’t need any external help to complete its work. That way it is a
machine that is capable of doing its job automatically.
• Versatility: Computer is a versatile machine because of its capability to adapt to any
situation. If it is provided with suitable software, it can do any type of work in any field
effectively and efficiently.
• Large Storage Capacity: The capacity of Computer to store data is practically limitless.
It can store any volume of data and that too in such a way that it can retrieve any data
item almost instantly.
• Intangible Benefits: With the use of computer, the business can utilize the intangible
benefits a Computer has with it. Like the flexibility, ability to accommodate growth, and
the psychological factors which gives the business a competitive edge over the
competitors.
10. Limitations/Disadvantages of Computer: Nothing in this world is perfect. Whatever
advantages or facilities one has, there are some negatives or limitations about it also, and
Computer is no exception. It has its own limitations. Following is the list of items, which
can be considered as the limitations/disadvantages of Computer.
• Inflexibility: The biggest disadvantage of computer is that it is not at all flexible in
carrying out the instructions. They need exact commands and would obey them as it is.
For example, if you are told to find the sum of two numbers, or add two numbers, or total
the two numbers, you will carry out an addition operation on the two numbers. But if a
computer is instructed to “add” two numbers and then you are supplying the numbers
with the command to “sum” up these numbers, computer will not be able to do so.
• Requirement of Details: Computer doesn’t take any thing as “obvious” however simple
or obvious something looks to you; it has to be given in details to the computer. For
example if you want me to sip tea you will ask me to “sip it”, but for computer you have
to tell it “lift the cup from the table”, and then “take it to the mouth”, and then “sip it”.
• Machine Dependency: Since the computer does not store data/information in a direct-
human-readable form, therefore you need computer to read stored data/information. In
case of system breakdown or power failure your work would come to a standstill till the
system is restored or some alternate arrangements are made. This way your entire work
depends upon the proper functioning of computer.
• Specialist Users: Because of technical requirements, not everybody can operate
computers effectively. So you need specially trained personals to operate computer for
the desired usage. This means an additional cost in terms of salary to hire such proficient
personals.
• Loss of Data: This is another area where the use of computer is feared most. Data is kept
in electronic/magnetic form in computers. Both these forms are not permanent or secure.
This data can easily get corrupted which, at times, is impossible to recover.
• Expensive: The computer system and peripherals require a lot of investment because
these are expensive equipments to buy and maintain.
• Security and Control: Computers can be used for some malicious reasons by technically
sound people to cause financial as well as other losses to you. In this way, you have to
take additional security measures to protect your computer from such malicious users.
• Fear and Resentment: This is not a direct disadvantage of computer but it can be taken
up as a negative effect of computer on the society. Because of the advantages of
computer, more and more people/business/organizations are turning to use computer. This
is creating a fear and resentment among, otherwise qualified persons about their job
security and importance in the offices.
11. Use of RAM: RAM is used to store :
• Operating System (Windows, DOS, UNIX, etc) as long as the computer is switched-on.
• Application Software (Word, Excel, etc) while it is in use.
• Input data i.e. the data required for processing during the processing.
• Output data i.e. the information you get after the application software has processed the
input data.
• Temporary or Intermediate data i.e. the data which is required to complete the processing
without the need of storing it permanently.
12. Use of ROM: ROM is basically used to permanently store:
• Boot Strap Programs. Boot strap programs are the set of instruction which are required by
the computer to make it operational when it is switched on.
• Instructions to transfer the control to the operating system once it is loaded in the RAM of
the switched-on computer.
13. Terms You Should Know: Every field, every subject has its own terminology. These terms
have their specific meanings when used in that environment. Following is a list of such
terms, which are used in Computer science environment.
• Data: Data is the collection of facts and figures on which some processing is to be
carried out. So the set of facts and figures, which are given to the computer for some
processing, is called data. Data is the plural form of the Latin word “Datum”, which
means the “base”. Since all the processing of computer is “based” upon it, therefore it is
called data. Usually “Input” is called data. Following paragraph can be considered as an
example of data.
In the first term examination, Jafer Ahmed’s Maths marks 25, Physics marks 35,
Chemistry marks 20, and Computer marks 30. Masood Hasan’s Maths marks 35, Physics
marks 39, Chemistry marks 28, and Computer marks 39. Ali Ahmed’s Maths marks 42,
Physics marks 43, Chemistry marks 39, and Computer marks 40.
• Information: The result of some processing, which is given out by computer is called
information. The meaningful or the processed data is termed as information. Usually
“output” is called information. Following paragraph can be considered as an example of
information.
Mark List of 1st Term Examination
Name Maths Physics Chemistry Computer Total Percentage
Ali Ahmed 42 43 39 40 164 82%
Jafer Ahmed 25 35 20 30 110 55%
Masood Hasan 35 39 28 39 141 71%
• Hardware: The machine components of computer are called hardware. Keyboard, keys,
wires, and other components are the examples of hardware.
• Liveware: The people involved in the study, design, improvements, and programming of
Computer are known as liveware.
• Firmware: ROM of a computer is called as firmware because it has software, which is
“firmly” (permanently) held in it.
Exercise
1. A computer is often called a computer system because it is not one device or one
component. It is a combination of, at least six elements. Write these elements.
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
2. Control Unit (CU) controls and co-ordinates all the activities of a computer. State three
activities which are controlled and coordinated by CU.
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
6. Computers are being used for many purposes in schools these days.
a. Give one use of computer in a school other than for fee collection and teaching aid.
_____________________________________________________________________
b. Write three advantages and one disadvantage of computer for this use.
Advantage 1: __________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
Advantage 2: __________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
Advantage 3: __________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
Disadvantage: _________________________________________________________
_____________________________________________________________________
7. The memory unit of a computer is divided into to two parts: RAM and ROM.
a. Describe two uses of RAM
1. ___________________________________________________________________
___________________________________________________________________
2. ___________________________________________________________________
___________________________________________________________________
1. ___________________________________________________________________
___________________________________________________________________
2. ___________________________________________________________________
___________________________________________________________________
8. Explain with the help of examples, if appropriate the following computer terms:
a. Control Unit (CU): _____________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________