How does memory store things, and is the computer s memory used to store things?

Updated on number 2024-05-24
5 answers
  1. Anonymous users2024-02-11

    What is memory? There is a very important part of the structure of a computer, which is memory. Memory is a part used to store programs and data, for a computer, with memory, there is a memory function, in order to ensure normal operation.

    There are many types of memory, which can be divided into main memory and auxiliary memory according to their use, the main memory is also known as internal memory (referred to as memory), and the auxiliary memory is also known as external memory (referred to as external memory). External memory is usually magnetic media or optical discs, such as hard disks, floppy disks, tapes, CDs, etc., which can store information for a long time and does not rely on electricity to store information, but it is driven by mechanical parts, and the speed is much slower than that of CPU. Memory refers to the storage component on the motherboard, which is the part that the CPU directly communicates with and uses to store data, and stores the data and programs that are currently in use (that is, in execution), its physical essence is a group or more groups of integrated circuits with data input and output and data storage functions, and the memory is only used to temporarily store programs and data, once the power is turned off or the power is off, the programs and data will be lost.

    Since memory is used to store data and programs that are currently in use (i.e., in execution), how does it work? The so-called "dynamic" in dynamic memory refers to the fact that when we write data to the DRAM, the data will be lost after a period of time, so an additional circuit is required for memory refresh operations. Here's how it works:

    Whether a DRAM memory cell stores 0 or 1 depends on whether the capacitor has a charge, with a charge representing 1 and an uncharged representing 0. But after a long time, the capacitor representing 1 will discharge, and the capacitor representing 0 will absorb the charge, which is the reason for data loss; If the power is greater than 1 2 of the full charge, it is considered to represent 1, and the capacitor is fully charged; If the amount of electricity is less than 1 2, it is considered to represent 0 and the capacitor is discharged to maintain the continuity of the data.

    From the moment there was a computer, there was memory. The development of memory has also undergone many technical improvements today, from the earliest DRAM to FPMDRAM, EDODRAM, SDRAM, etc., the speed of memory has been increasing and the capacity is also increasing. What kind of memory do servers use today?

    Currently, Reg isteredeccsdram is commonly used in IA architecture servers, and in the next issue, we will introduce this new memory technology in detail and the unique technical advantages it brings to servers.

  2. Anonymous users2024-02-10

    Memory is used to store the programs and data that are needed to run the current computer.

    The processor of the computer extracts data from the memory when processing information, and usually stores the information on hard disks and floppy disks. When the computer needs to process information, it puts the information of the hard disk or floppy disk into the memory, and then takes it from the memory to the processor. So, the larger the memory, the faster the computer can process it.

    In a computer, the memory areas are divided into one by one"Storage unit", each cell is a byte (8 bits), and it has a number, which is the address of the memory cell. Each piece of data defined in the program occupies its own memory area after compilation. The number of storage units occupied by data is determined by its data type.

    For example, the integer type occupies 2 bytes, the real type occupies 4 bytes, and so on. The address of the first unit is called the first address, and it is used to represent the address of a data. (Let's take C as an example).

    In a program, memory cells are accessed by variable names. In fact, after the program has been compiled, the variable name has been converted to the address of the variable. This way of accessing variable values by variable address is called"Direct access"Manner.

    Another option can be called"Indirect access"to store the address of variable i in another variable. First, find the address variable where i is stored, take out the address of i from it, and then take out the value of i in red to the address. Since the required variable unit can be found by the address.

    In C:

    Local variables declared with the keyword static are local static variables. Storage units are allocated in the static store when the function is compiled, not after the function is called"Release"Storage unit, which is not released until the program runs at the end of the program. If you assign an initial value to a static variable, it is executed only once, and the value at the end of the last function call is retained instead of assigning the initial value when the function is called again.

    In the case of automatic variables, each call allocates a new memory cell and assigns an initial value. (The memory space allocated by multiple calls may or may not be the same).

    The above ones are local variables, and the following ones are global variables

    Global variables occupy storage cells during the execution of the program.

    If you are doing a problem of arrays and pointers, it is recommended that you draw a simple diagram of the memory occupation (you can see the part of Professor Tan Haoqiang's book on pointers and arrays by Professor Tan Haoqiang of Tsinghua University), which will help you understand and compose the problem.

  3. Anonymous users2024-02-09

    Memory is the main component in a computer, and it is relative to external memory. The programs we usually use, such as windows98 system, typing software, game software, etc., are generally installed on external memory such as hard disks, but only this can not use its functions, they must be transferred to the memory to run, in order to really use its functions, we usually enter a piece of text, or play a game, in fact, are carried out in memory. Usually we store a large amount of data to be stored permanently in external memory, and put some temporary or small amounts of data and programs in memory.

    That is to say, the files you open occupy space in the memory, and the memory is only a temporary storage of what you open, and when you close the open program, it is no longer in the memory. Memory serves as a temporary storage for things that you summarize and find on your own.

  4. Anonymous users2024-02-08

    It's just how many computer programs are open at the same time.

  5. Anonymous users2024-02-07

    The memory of a computer is a device used to store data between various parts of the hardware system instantaneously (temporarily) when the computer is turned on. Once the computer is shut down, the data in the memory chain will no longer be saved.

    The equipment used in computers to store data for static and long rock rental time mainly includes hard disks, optical discs, USB flash drives, floppy disks, magnetic tapes and other gross trillions.

    Hope mine can help you. Respect.

Related questions
7 answers2024-05-24

Memory is a type of memory. It doesn't store data for a long time. >>>More

7 answers2024-05-24

DRAM, SRAM, FLASH, MRAM, RRAM signals are all stored by the charged charge on the "gate stage" of the "MOSFET" (0 or 1, of course, in some designs, the charge may have many voltage levels, such as a cell stores 2 bits information, etc., the principle is the same). When reading, the source gives a voltage, and the current or voltage on the other side can be tested to know whether the gate stage is charged. (There are variations of different memory in the above quotation marks, but the principle is similar, RRAM and MRAM are measurement resistors). >>>More

12 answers2024-05-24

Memory is one of the most important components of a computer, and it is the bridge that communicates with the CPU. The running of all programs in the computer takes place in memory, so the performance of the memory has a very large impact on the computer. >>>More

5 answers2024-05-24

Memory is an indispensable component of a computer (PC, MCU). Unlike dispensable external memory, memory is a component that reads and writes on a bus; Memory is more than just a data warehouse. In addition to a small number of indispensable programs in the operating system to reside in memory, the programs we usually use, such as Windows, Linux and other system software, including typing software, game software, etc., although a large amount of data including programs are placed on external memory devices such as tapes, disks, optical discs, mobile disks, etc., but any data in external memory can only be really used when transferred into memory. >>>More

6 answers2024-05-24

Right-click on "My Computer" - Properties", and you can see the size of the memory at the bottom right of the "General" tab. >>>More