Presentation On C Programming Introduction (
Presentation On C Programming Introduction (
Presentation On C Programming Introduction (
Printer
(output)
Storage devices
(CD-RW, Floppy,
Hard disk, zip,…)
Mouse
(input)
Scanner Keyboard
(input) (input)
Why Is A Computer So Powerful?
◼ Speed;
◼ Reliability (low failure rate);
◼ Accuracy;
◼ Ability to store huge amounts of data and
information;
◼ Ability to communicate with other computers.
How Does a Computer Know
what to do?
◼ It must be given a detailed list of instructions, called a
compute program or software, that tells it exactly
what to do.
◼ Before processing a specific job, the computer program
corresponding to that job must be stored in memory.
◼ Once the program is stored in memory the compute can
start the operation by executing the program instructions
one after the other.
What Are The Primary
Components Of A Computer ?
◼ Input devices.
◼ Central Processing Unit
(control unit and
arithmetic-logic unit).
◼ Memory.
◼ Output devices.
◼ Storage devices.
Common Input Devices
◼ Keyboard.
◼ Mouse.
The Central processing Unit
The central processing unit (CPU) contains
electronic circuits that cause processing to
occur. The CPU interprets instructions to the
computer and performs the logical and
arithmetic operations. It is considered the
“brain” of the computer.
Memory
Memory also called Random Access Memory
or RAM (temporary memory) is the main
memory of the computer. It consists of
electronic components that store data
including numbers, letters of the alphabet,
graphics and sound. Any information stored in
RAM is lost when the computer is turned off.
• Advantage of interpreter:
✓ It can execute a program immediately.
✓ Compilers require some time before an executable program
emerges.