File read/write principle

Source: Internet
Author: User

File read/write principle

Common sense: Any program must read data to the memory for execution!

Example: Phone Call example:

Call needs: Convert the sound signal into an electromagnetic signal and transmit it to a satellite ..

It is required to answer the call; convert the electromagnetic information into a sound signal before you can hear the sound...

 

In our computer: there are similar conversion relationships between hard disks and memory.

On a computer disk, You need to convert the data into binary data,

In the memory, binary data needs to be transferred to the original file data.

Minimum unit: bit, bit (equivalent to 1 cent, and cannot do anything now)

Minimum usage unit: byte (equivalent to a dime)

An English letter is a byte, and a byte is 8 bytes. one byte = eight digits (bit)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.