• what is cpu ?

                                  Central Processing Unit(CPU)

    What is Central Processing Unit(CPU), CPU  an acronym for Central Processing Unit , supposed to be the brain of computer it mainly executes the program and controls different parts of a computer such as memory , input and output devices. Program and data are stored under its control . It helps you see your output on the screen and gets print out on the paper through printer.


    The Processing device are central processing unit (CPU);also called microprocessor chip in computer which receive input and provide output . It composed of silicon & contains of transistor for e.g. Pentium dual core,Core 2 Duo,Core i3. i5, i7 etc.
     Central processing Unit include mainly 3 parts , they are as follows:
    • Arithmetic & Logic Unit
    • Main Memory Unit
    • Control Unit

    WHAT DOES A CPU LOOK LIKE?

    It’s basically a silicon chip in the shape of a square or rectangle with millions of microscopic transistors.  On the bottom and backside are hundreds of short, rounded, metallic connector pins

    Arithmetic Logic Unit:


    Arithmetic Logic Unit is Know as A.L.U. in shorts . This unit performs mathematical operations as well as logical operation on data . It contain an electronic circuit . That can do calculation like add,multiplication become multiple times addition and later gets transmitted after converting them into electrical Pulses .
       In Logical operation ,A.L.U. Compare two no and data makes decision while processing,


           
    A.L.U. takes instruction or guidelines from control unit . it gets data from memory and return information to the same A.L.U. works amazingly fast , its estimate speed is about 1 million+ calculation per second it contains several register and accumulator which works as virtual memory during calculation A.L.U. ., as instructed by the control unit according to be programs receive data from memory and place them on accumulator.

    for ex, you are add two no A&B . control unit select a from memory and add to B available in A.L.U. output gets in memory or for future calculation it is stored in accumulator .

    Control Unit:

    Decode instruction and determine which next to be executed . Control unit is a part of the processor that is in-charge and it direct the computer system to execute stored program instruction . It communication with other parts of the hardware.
     Control Unit is a internal process of a computer . It controls the input and output process of the computer . It also direct the exchange of data and instruction between memory & ALU


    .

    It received the instruction of a program to execute the program itself from memory. Then it convert the instruction into electronic signal and delivers them to the appropriate device to complete the data processing . Control unit also direct the ALU about the location of the data processed in the memory . The control unit also instruct the ALU about what operation to be performed , and after processing , where to the store the  output. the instruction in the form of signal are sent to various parts of computer through the control bus carrier electronic signal through out the system unit  . they are named on the basis of the type of signal they carry. the main  bus of the system unit is called system bus . And the BUS used for the transportation of control signal is called control BUS.

    Registers:

    Computer instruction are carried out the C.P.U. to execute instruction , information is exchanged C.P.U. of computer uses a memory unit to exchange information fast and sanctification . This memory unit is called a register.In memory unit data are stored during the processing. Its speed is faster access then memory formally we call this Register too.



    Register are not a part of main memory . They store information for time being . Size of a register equals to the capacity of its storage of bit . For instance , If a register can store 8-bits then it is called 8 bit register . Nowadays 16-bit register are in vogue while 32 bit and 64 bit processor are also in use. the more bit register would have , the faster data processing of computer will be, computer has got following type register:

    ➱ Memory Address Register:

                                                     This store active memory location of computer instruction.

    ➱ Memory Buffer Register:

                                                     This register store the content read from to write onto memory.

    ➱ Program Control Register:

                                                    This stored address of the instruction to be execute next.

    ➱Accumulator Register:

                                                    This Register stored the middle and last result of the data being execute Normally . these register are used while execution of information.

    ➱Instruction Register:

                                                  These register store instruction to be executed.

    ➱ Input/Output Register:

                                                 These register are used to communicate info between input or output device.


    BUS:



          Let us discuss what is BUS is. it acts like a path between the components of computer a computer has two main buses , First Internal OR system bus and second external or expansion bus . The system bus is situated on the motherboard and links the CPU with other device on the motherboards .The task of expansion has BUS is to link the CPU with external device for ex key-boards ,mouse,modern,printer etc.The chords of disk drive and other device are plugged in the bus . The system bus has two parts -DATA BUS & ADDRESS BUS . Data bus is an electrical path which attaches , CPU , memory and other hardware device . in fact , a bus is a set of parallel chords.The number of chords in the bus affects the transaction of data between hardware components .Because every chords can transfer 1 bite of data at a time . one eight chords bus can carry eight bite . It means one byte at a time.Address bus too is a set of chords like data bus ,An address bus links only a CPU and RAM and carries memory address only , every byte in the ram is attached to a number which is its memory address.  

    Instruction Set:

     Let us see what an instruction set is. Every process accomplishes  takes like receiving character from the memory or getting a large number after comparing between two number .All of these operation have their own number which are called instruction . The list of instruction in processor is called instruction set . Each processor in mind.

     C.P.U. instruction which are for executing are prepared in a control unit instruction or instruction set list such operation that C.P.U can perform . Each instruction of instruction set represented in micro codes that instruct C.P.U about how to carry out complex operation.


    Processor Speed:

    Processor speed stands for the speed at which the CPU  execute the instruction . It is measured in megahertz(MHz).

    Processor speed depends upon data bus being used by the processor . Data bus is used to transfer data on the processor . These data buses comes in 8 bits  (1 byte) data at a time .

    System Clock:

    Let us see what a system clock plays in a computer . The events inside a computer takes a place at a decide speed which is controlled by an  electronic dumber . It is called system clock . This part is an electronic circuit which create pulses at a fast speed which is measured in million of cycle per second . The rate of the processor clock is called its clock speed , and one pulse is called clock ticks . the system clock normally does nothing to maintain time and date . To do all these thing there is a separate circuit in all the computers . The system clock synchronizes the internal activities of a computer.









    Thanks for Reading.

    SHIVANSHU TIWARI









  • 0 Comments:

    Post a Comment

    SSKKT

    .

    SSKKT

    if you want to be happy, set a goal that commands your thoughts, liberates your energy and inspires your hopes.

    SSKKT

    System programmers are the high priests of a low cult.

    SSKKT

    Without programming, life would be a mistake.

    Hello

    Author Name

    Shivanshu Tiwari

    Contact Info

    shivanshut9889@gmail.com

    My Hobbies & Interests

    My hobby is playing cricket. It makes me feel fresh and energetic.I have made so many friends while playing cricket. Cricket encourages teamwork.
    My second hobby is playing chess ,Chess Teaches You Problem Solving and making complex decision it helps me in programming.

    Carrier

    Shivanshu Tiwari is a game developer with 5 year of experience working with online companies. He specializes in using Java, c,c++,c#, to build customer facing APIs, and also has experience of software programmer.

    Hello, I am Shivanshu Tiwari