What is a collection of related information recorded on disk called?
A collection of related information recorded on disk is called a "file". A file is a collection of information stored on a computer using a computer disk as a carrier. It is a data stream stored in some kind of long-term storage device or temporary storage device, and is under the management of the computer file system. Files can be divided into structured files and unstructured files: in structured files, the file is composed of several related records; while unstructured files are regarded as a character stream.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
A collection of related information recorded on disk is called a "file".
What is a computer file
In a computer, a file is a collection of information stored on the computer using the computer hard disk as a carrier. It is a data stream stored in some kind of long-term storage device or temporary storage device, and is managed by the computer file system.
The so-called "long-term storage devices" generally refer to disks, optical disks, tapes, etc. "Short-term storage device" generally refers to computer memory.
It should be noted that files stored in long-term storage devices are not necessarily long-term storage. Some may also be temporary data generated during the operation of the program or system and will be deleted after the program or system exits.
A file refers to a set of related elements with a file name defined by the creator. It can be divided into two types: structured files and unstructured files. In a structured file, the file is composed of several related records; while an unstructured file is regarded as a character stream. A file is the largest data unit in a file system and describes a set of objects. For example, you can record the students in a class as a file. A file must have a file name, which is usually composed of a string of ASCII codes or (and) Chinese characters. The length of the name varies depending on the system. For example, in some systems, the name is stipulated to be 8 characters, while in other systems, 14 characters are allowed. Users use file names to access files. In addition, the file should have its own attributes, which can include:
(1) File type. File types can be specified from different perspectives, such as source files, target files, and executable files.
(2) File length. File length refers to the current length of the file. The unit of length can be bytes, words or blocks, or it can be the maximum allowed length.
(3) The physical location of the file. This attribute is usually a pointer indicating which device the file is on and where on the device it is.
(4) The creation time of the file. This refers to the last modification time of the file, etc.
File types
In order to facilitate the management and control of files, files are divided into several types. Because different systems manage files differently, their methods of classifying files vary greatly. In order to facilitate the system and users to understand the file type, in many OS, the file type is appended to the file name as an extension, and the file name and extension are separated by a "." symbol. The following are several commonly used file classification methods.
Classification by purpose
According to the nature and purpose of the file, files can be divided into three categories:
(1) System files. This refers to files made up of system software. Most system files only allow users to call them, but they do not allow users to read them, let alone modify them; some system files are not directly open to users.
(2) User files. Refers to files composed of user's source code, object files, executable files or data, etc. Users entrust these files to the system for safekeeping.
(3) Library file. This is a file composed of standard subroutines and commonly used routines. This type of file allows users to call it, but not modify it.
By data form
According to this method, files can also be divided into three categories:
(1) Source file. This refers to a file consisting of source programs and data. Files usually formed by source programs and data input by a terminal or input device are source files. It usually consists of ASCII code or Chinese characters.
(2) Target file. This refers to a file composed of object code that has been compiled by the compiler of the corresponding language but has not been linked by the linker. It is a binary file. Usually, the suffix used by the object file is ".obj".
(3) Executable file. This refers to the file formed by linking the compiled object code through the linker.
Access control attributes
According to the access control attributes specified by the system administrator or user, files can be divided into three categories:
(1) Only execute the file. This type of file can only be called and executed by approved users, neither reading nor writing is allowed.
(2) Read-only file. This type of file is only allowed to be read by the file owner and approved users, but not written.
(3) Read and write files. This refers to files that the file owner and authorized users are allowed to read or write.
Organization and Processing Class
According to the organization form of the file and the way the system processes it, files can be divided into three categories:
(1) Ordinary file: a character file composed of ASCII code or binary code. Source program files, data files, object code files created by general users, and the operating system's own code files, library files, utility files, etc. are all ordinary files, and they are usually stored on external storage devices.
(2) Directory files: System files composed of file directories and used to manage and implement file system functions. Information about other files can be retrieved through directory files. Since directory files are also composed of character sequences, the same file operations as ordinary files can be performed on them.
(3) Special files: specifically refers to various I/O devices in the system. In order to facilitate unified management, the system treats all input/output devices as files and provides them to users in the form of files. Directory retrieval, permission verification, etc. are similar to ordinary files, except that the operations on these files are the same as those on the devices. Drivers are closely connected, and the system converts these operations into operations for specific devices. According to the different device data exchange units, special files can be divided into block device files and character device files. The former is used for I/O operations on block devices such as disks, optical disks, or tapes, while the latter is used for I/O operations on character devices such as terminals and printers.
If you want to read more related articles, please visit PHP Chinese website! !
The above is the detailed content of What is a collection of related information recorded on disk called?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Windows 11 has strict requirements, and after struggling to obtain that storage, losing your hard drive and data would be a shame. Well, we have good news that can help you buffer against hard drive failure. Using built-in Windows tools, you can copy all your data from one drive to another. This way, if one drive fails, you can mirror and rebuild the original data on the replacement drive. Can Windows 11 do RAID? With Windows Storage Spaces feature, you can perform RAID on Windows 11. This feature allows you to create multiple virtual disks using a hard drive connected directly to your computer without degrading performance. Benefits of Raid: Reduce the cost of disk

When creating a virtual machine, you will be asked to select a disk type, you can select fixed disk or dynamic disk. What if you choose fixed disks and later realize you need dynamic disks, or vice versa? Good! You can convert one to the other. In this post, we will see how to convert VirtualBox fixed disk to dynamic disk and vice versa. A dynamic disk is a virtual hard disk that initially has a small size and grows in size as you store data in the virtual machine. Dynamic disks are very efficient at saving storage space because they only take up as much host storage space as needed. However, as disk capacity expands, your computer's performance may be slightly affected. Fixed disks and dynamic disks are commonly used in virtual machines

RAID or Redundant Array of Independent Disks is a data storage technology in which multiple external drives are combined into one. It was widely used when large hard drives were expensive, but many people still prefer the RAID external drive method. There are several levels of RAID, each serving a specific purpose. Keep in mind that the average user doesn't have to delve into the complexity, a simple setup of RAID0 or RAID1 should work fine. Reasons to consider raiding an external drive: Improved PC performance Easy to configure, cheaper than existing alternatives Faster data reading and writing Efficient backup solution through mirroring How to RAID an external drive on Windows 11? Before RAID external hard drives, you need to pay attention to the following first things

If you want to convert a dynamic disk to a basic disk in Windows 11, you should create a backup first as the process will erase all data in it. Why should you convert dynamic disk to basic disk in Windows 11? According to Microsoft, dynamic disks have been deprecated from Windows and their use is no longer recommended. Additionally, Windows Home Edition does not support dynamic disks, so you will not be able to access these logical drives. If you want to combine more disks into a larger volume, it is recommended to use Basic Disks or Storage Spaces. In this article, we will show you how to convert dynamic disk to basic disk on Windows 11 How to convert dynamic disk to basic disk in Windows 11? In the beginning

We want to check the hard disk usage in the system. How to check the Ubuntu system? Let's take a look at the tutorial on checking the hard disk usage in Ubuntu system. 1. On the system, click on the lower left corner of the desktop, as shown in the picture. 2. In the system, click Utilities, as shown in the figure. 3. Click Disk Usage, as shown in the picture. 4. Then you can see the disk usage, that is, the disk in the middle is your computer’s hard drive, as shown in the picture. The small print below the disk shows the usage. 5. Or click the disk on the utility program, as shown in the picture. 6. Then under the capacity, you can see the hard disk usage, as shown in the picture. The following is the text version to view disk usage: df-h The results are as follows: FilesystemSizeUsedAvailU
![How to increase disk size in VirtualBox [Guide]](https://img.php.cn/upload/article/000/887/227/171064142025068.jpg?x-oss-process=image/resize,m_fill,h_207,w_330)
We often encounter situations where the predefined disk size has no room for more data? If you need more virtual machine hard disk space at a later stage, you must expand the virtual hard disk and partitions. In this post, we will see how to increase disk size in VirtualBox. Increasing the disk size in VirtualBox It is important to note that you may want to back up your virtual hard disk files before performing these operations, as there is always the possibility of something going wrong. It is always a good practice to have backups. However, the process usually works fine, just make sure to shut down your machine before continuing. There are two ways to increase disk size in VirtualBox. Expand VirtualBox disk size using GUI using CL

Drive failure is a serious issue that may render your files unrecoverable or your boot drive non-working, so that is why many users choose to create a mirrored volume on Windows 11 as a way to prevent this. If you're not familiar, a mirrored volume is an exact copy of another drive that can be used as a backup in the event of a disk failure. It's a great backup solution, and today we'll show you how to create it on your PC. What are the prerequisites for setting up a mirrored volume? Two dynamic disks of similar size. The mirror drive can be larger than the source drive. RAID support is available on almost every modern PC. The mirror drive should be unallocated and do not have any volumes. How to create a mirrored volume in Windows 11? 1.Use

When many friends open the Task Manager CPU, they find that the disk shows 100%. What is going on? Because when Windows Defender is scanning, if other work is performed, the disk usage reaches 100%. Or there are other functions occupied. Let’s take a look at the specific introduction and solutions below. What does Task Manager Disk 100% mean: Answer: The current disk resources are heavily occupied. The biggest problem with disk usage is actually caused by Windows search. This function requires continuous resumes and therefore leads to extremely high usage. What to do if Task Manager disk is 100%? 1. First, right-click the taskbar and open "Task Manager". 2. Then look at the one with the highest occupancy rate and right-click