To store information when the computer is turned off, or to manipulate larger set of bytes, one uses magnetic storage devices. The most common are the hard disks. Informations are stored under the forms of files, each of them having a name and a size.
A file is very similar to the memory : a set of bytes indexed by their positions.
• Files can be very large, up to hundred times the memory.
• the file access is very slow compared to memory access.
In practice the files are organized on a hard disk with directories (also called folder under Microsoft or Apple Operating systems). A directory can contains files and other directories (we can imagine it as a file containing a list of names of files and directories). This leads to a very powerful hierarchical organization.
A file is very similar to the memory : a set of bytes indexed by their positions.
• Files can be very large, up to hundred times the memory.
• the file access is very slow compared to memory access.
In practice the files are organized on a hard disk with directories (also called folder under Microsoft or Apple Operating systems). A directory can contains files and other directories (we can imagine it as a file containing a list of names of files and directories). This leads to a very powerful hierarchical organization.