CSS Forums

CSS Forums (http://www.cssforum.com.pk/)
-   General Science Notes (http://www.cssforum.com.pk/css-compulsory-subjects/general-science-ability/general-science-notes/)
-   -   CPU and its Main Components (http://www.cssforum.com.pk/css-compulsory-subjects/general-science-ability/general-science-notes/63534-cpu-its-main-components.html)

Farrah Zafar Monday, May 21, 2012 10:37 PM

CPU and its Main Components
 
[SIZE="3"]CPU stands for Central processing unit.It is also known as microprocessor or processor.A CPU is brain of a computer.It is responsible for all functions and processes.Regarding computing power,the CPU is the most important element of a computer system.The CPU is consisted of thin layers of thousands of transistors.Each transistor receives a set of inputs and produces output.Transistors hold a key role in functioning of CPU as they make computer able to count and perform logical operations which is called processing.It processes the instructions that it collects by decoding the code in programs.Computers use two types of storage: Primary storage and secondary storage. The CPU mainly interacts with primary storage or main memory,referring to it for both instructions and data.

[CENTER][IMG]http://i1100.photobucket.com/albums/g417/Queen_Farrah/fig3_1.jpg[/IMG]
[/CENTER]

There are four important functions of CPU,

[B]1)[/B]Fetch
[B]2)[/B]Decode
[B]3)[/B]Execute
[B]4)[/B]Write back

[B][U]Main Components of CPU:[/U][/B]

The main components of CPU help it in performing various functions.The components of a CPU work together, and their making/manufacturing determine the complexity of operations as well as how fast they can be carried out.

[CENTER][IMG]http://i1100.photobucket.com/albums/g417/Queen_Farrah/cpu-1-1.jpg?t=1337081590[/IMG]
[/CENTER]

The three components of the CPU are following,

[B]1. [/B]Arithmetic Logic Unit
[B]2.[/B] Control Unit
[B]3.[/B] Registers


[CENTER][IMG]http://i1100.photobucket.com/albums/g417/Queen_Farrah/image011.jpg[/IMG][/CENTER]


[B][U]Arithmetic Logic Unit (ALU)[/U][/B]

There is electronic circuitry in arithmetic logic unit which executes all airthmetic and logical operations.Its function is obvious from its name.It performs arithmetic calculations like as addition, subtraction, multiplication and division as well as comparisons.The unit can compare numbers, letters, or special characters.There can be more than one Arithmetic logic unit in a CPU, and these ALUs can also be used for the purpose of maintaining timers that help run the computer.


[B][U]Control Unit(CU)[/U][/B]

There is circuitry in the control unit which uses electrical signals to instruct the whole computer system for carrying out or executing,already stored program instructions.Its name clearly shows that it controls and co-ordinates computer components.It extracts instructions from memory and decodes and executes them.In fact it regulates the flow of information through the processor.In short,it can be said ,this component receives, decodes, stores results and manages execution of data that flows through the CPU. Its communication with both arithmetic unit and memory is inevitable.

[B][U]Registers/The Memory Unit[/U][/B]

Registers are temporary storage areas which are responsible for holding the data that is to be processed.They store the instructions and data in a processor.This data is further used by Control Unit.There are some registers that are set aside for specific tasks, these generally include a program counter, stack, and flags. [/SIZE]


12:47 PM (GMT +5)

vBulletin, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.