Home>Article> How do computers manage programs and data?

How do computers manage programs and data?

青灯夜游
青灯夜游 Original
2020-09-28 16:27:40 11733browse

Computers use "files" to manage programs and data. A computer file is a data stream stored on some kind of long-term storage device. It is often stored as multiple data fragments in different locations on the disk; the operating system organizes them into a file system, and each file is placed in a specific folder or directory. middle.

How do computers manage programs and data?

A computer file (or file, computer file, file) is a data stream stored on some kind of long-term storage device. The so-called "long-term storage devices" generally refer to disks, optical disks, tapes, etc. Its characteristic is that the stored information can be used for a long time and multiple times and will not disappear due to power outage.

Computer files are a collection of information stored on a computer using the computer hard disk as a carrier. Files can be text documents, pictures, programs, etc. Files typically have a dot three-letter file extension that indicates the file type (for example, image files are often saved in JPEG format and have a .jpg file extension).

Storage method

Although a file appears as a single stream, it is often stored as multiple data fragments in different locations on the disk (or even multiple disks ). The operating system organizes them into a file system, with each file placed in a specific folder or directory.

Files are created by software and conform to a specific file format.

The above is the detailed content of How do computers manage programs and data?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What does air mean? Next article:What does air mean?