(Using C)
Hardware
Software
Hardware
The physical part of the computer is called
hardware.
It is any part of the computer that we can touch.
Hardware describes all the electronic and
mechanical elements of the computer.
Hardware consists of the following devices
1- Input
2- Processor
3- Memory
4- Output
1-Input Devices
Hard copy:
printed on paper or other permanent media
Soft copy:
displayed on screen or by other non-
permanent means
4-Memory
The computer memory can hold programs and data
for current and future use.
It is also called primary memory or main memory.
Main memory of a computer is its internal memory .
The capacity of a storage device is generally
expressed in bytes.
One byte is a group of eight bits.
Bit is a smallest memory unit that represents a binary
digit.
A bit has value either 0 or 1.
Main memory can be divided into
(i) RAM
(ii) ROM
Random Access Memory (RAM)
A fast CPU is useless without an adequate amount
of RAM.
RAM stores information that is used by running
programs and applications.
More memory lets you run more applications at the
same time without degrading your system's
performance.
When a program is launched , it is loaded first into
memory and then performs the operation.
RAM is temporary, because it loses the data when
the computer is shut down. So it is also known as
volatile memory.
RAM has a tremendous impact on the speed and
performance of the computer.
Read Only Memory (ROM)
Programming Languages:
It is used for developing computer
programming. Different type of computer
programming languages are available
today such C, C++, Java, C#, VB.NET etc.