Java Fundamentals: The concepts and illustrations of the binaries

Source: Internet
Author: User

In-system:

is a way of rounding. X-Input, indicating every x into 1.

The state of the computer's electronic components: open, close.

Well, when we're expressing the data, it's also expressed in terms of the state of open and closed.

If we express the data in only these two states, then the data can be expressed is relatively small,

And our common data: letters, numbers, punctuation, the type is a lot of

in order to be able to represent more data, the International Standards Organization stipulates that: with 8 such signals to express

A unit of data, such as data, is called: bytes.

we use 1 0 minutes to indicate open and close.

However, the representation of data using binary representations is too long, so we need to simplify this time:

The binary data, starting from the right, each three-bit a combination, the left side is not enough time, fill 0, and then, decomposition to calculate the corresponding decimal value, finally, then each decimal data combination, is an octal data.

But this form of expression is not the simplest, we have a simpler form of expression,

The binary data, starting from the right, every four bit a combination, the left is not enough time, fill 0, and then calculate the corresponding decimal value, and finally, then each decimal data combination, is a 16 binary data.

Rules:

The larger the system, the shorter the form of expression (simple).

Java Fundamentals: The concepts and illustrations of the binaries

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.