Hardware Components of a Computer

  1. Main Memory, also known as RAM (= Random Access Memory), or simply "memory", is a chip that stores the values of variables, arrays, and objects, as well as all the currently running programs' instructions. Every program is built up of instructions, and every program uses variables (such as the arguments and return value from the main() function), which means every program resorts to storing data in memory during its execution.
    Memory is a volatile device: once the computer is turned off, the data in it is deleted.
    A closeup of the right-hand memory compartment on the computer's motherboard, showing a blue, rectangular, and flat memory chip (2GB) already inside.

    Closeup of a 2GB Memory Stick. Miriam Briskman, CC BY-NC 4.0.

    The front of the blue, rectangular, and flat 2GB memory module. Elipda, Taiwan. 2GB 2Rx8 PC3-10600S-9-10-F1.

    The Blue 2GB Memory Chip, Front. Miriam Briskman, CC BY-NC 4.0.