Wednesday, 21 December 2011

Computer Memory

  • Computer Memory:-
                       Computer memory refers to the physical devices used to store data or programs (sequences of instructions) on a temporary or permanent basis for use in an electronic digital computer also internal storage areas in the computer. Computers represent information in binary code, written as sequences of 0 and 1. Each binary digit (or ''bit'') may be stored by any physical system that can be in either of two stable states, to represent 0 and 1. Such a system is called bistable. The term memory identifies data storage that comes in the form of chips. 8bit=1byte

    • Types of Memory:-


    • RAM (Random Access Memory)
    • ROM (Read only Memory)


    • RAM (Random Access Memory):-

       
                       Random access memory is used to store data temporarily. This is the same as main memory. When used by itself, the term RAM refers to read and write memory; that is, you can both write data into RAM and read data from RAM. This is contrast to ROM, which permits you only to read data. Most Ram is volatile, which means that is requires a steady flow of electricity to maintain its contents. As soon as that power is turned off, whatever the data was in RAM is lost. It read write data randomly so it is called random access memory.

        • Types of RAM:-

        1. SRAM (Static Random Access Memory)
        2. DRAM (Dynamic Random Assess Memory)


        • SRAM (Static Random Access Memory):-


             

                                      Short for static random access memory and pronounces ess-ram. SRAM is a type of memory that is faster and more reliable then the more common DRAM (dynamic RAM). The term static is derived from the fact that it doesn't need to be refreshed like dynamic RAM.

          • DRAM (Dynamic Random Access Memory):-
           
                                    Pronounced Dee-ram, DRAM stands for dynamic random access memory, a type of memory used in most computers. Unlike to sram it need to be refreshed other wise data is lost after some time.



            • ROM (Read only Memory):-
             
                                          ROM is a computer memory on which data has been prerecorded. Once data has been written onto the ROM chip, it cannot be removed and can only be read.Unlike main memory (RAM), ROM retains its contents even when the computer is turned off. ROM is referred to as being nonvolatile, whereas RAM is volatile.

              • Types of ROM:-

              • PROM (Programmable Read Only Memory)
              • EPROM (Erasable Programmable Read Only Memory)
              • EEPROM (Electrically Erasable Programmable Read Only Memory)


                • PROM (Programmable Read Only Memory):-
                 
                                      Short for programmable read only memory, a memory chip on which data can be written only once. Once a program has been written onto a PROM, it remains there forever. Unlike RAM, PROMs retain their contents when the computer is turned off.

                  • EPROM (Erasable Programmable Read only Memory):-
                   
                                      Acronym for erasable programmable read only memory, and pronounced ee-prom, EPROM is a special type of memory that retain its contents until it is exposed to ultraviolet light. The ultraviolet light clears its contents, making it possible tp reprogram the memory. To write to and erase an EPROM, you need a special device called a PROM programmer or PROM burner.

                    • EEPROM (Electrically Erased Programmable Read Only Memory):-
                     
                                       Pronounced double -ee-prom or e-eprom, short for electrically erasable programmable read only memory. EEPROM is a special type of PROM that can be erased by exposing it to an electrical charge. Like other type of PROM. EEPROM retains its contents even when the power is turned off. Also like other type of ROM, EEPROM is not as fast as RAM.

                      Tuesday, 20 December 2011

                      Central Processing Unit (CPU)


                      • Central Processing Unit:-



                      CPU is the abbreviation for Central Processing Unit. The CPU is the brain of computer. Sometimes referred to simply as the central processor, but more commonly called processor,the CPU is where most calculations take place.



                               
                                         In terms of computing power, the CPU is the most important element of a computer system. The CPU itself is an internal component of the computer. Modern CPUs are small and square contain multiple metallic connectors or pins on the underside. The CPU is inserted directly into a CPU socket, pin side down, on the motherboard.



                      • Parts of CPU:-

                      1. ALU (Arithmetic Logic Unit)
                      2. CU (Control Unit)

                      • ALU (Arithmetic Unit) :-
                                                         ALU is the Abbreviation of arithmetic logic unit, the part of a computer that perform all arithmetic computations, such as addition and multiplication, and all the comparison operations. The ALU is the one component of the CPU (central processing unit). The ALU is a fundamental building block of the central processing unit (CPU) of a computer, and even the simplest microprocessors contain one for purposes such as maintaining timers.

                      • CU (Control Unit) :-
                      CU is the abbreviation of control unit, the part of computer which overall control all the mechanism of processor. It decodes the instruction coming from the device and send to the ALU for necessary action. It also keep track on all the activates of the computer parts.

                      • Types of CPU:-
                      • Complex instruction set computer (CISC):-
                                         A complex instruction set computer (CISC) is a computer where single instruction can execute several low level operations (such as a load from memory, an arithmetic operation, and a memory store) and/or are capable for multi-step operations or addressing modes within single instructions.

                      • Reduced instruction set computing (RISC):-
                                                RISC is a CPU design strategy  based on the insight that simplified (as opposed to complex) instructions can provide higher performance if this simplicity enables much faster execution of each instruction.