2016.1.26 binary Conversion

Source: Internet
Author: User

2016. 1. 26

Binary

1: Binary to 8 binary (3-bit for a group)

(11001111.01111) 2 = (11 001 111.011 110) 2 = (317.36) 8

1*21+1*20=3 1*20=1 1*22+1*21+1*20=7 1*21+1*20=3 1*22+1*21=6

2: Binary Turn 10 binary

(10110) 2 = (22) 10

1*24+1*22+1*21=22

3: Binary to 16 binary (4-bit for a group)

(11010110) 2= (D6) 16

1101=1*23+1*22+1*20=13=d

0110=1*22+1*21=6

8 binary

1:8-In-turn 2-in system

(17.36) 8 = (001 111.011 110) 2 = (1111.01111) 2

1/2=0 ... 1

7/2=3 ... 1

3/2=1 ... 1

1/2=0 ... 1

001 111

3/2=1 ... 1

1/2=0 ... 1

6/2=3 ... 0

3/2=1 ... 1

1/2=0 ... 1

011 110

2:8-in-turn 10-in system

128=1*81+2*80=10

3:8-in-turn 16-in system

The octal is first converted to binary, and then the binary is converted into hexadecimal.

(712) 8 = (111 001 0) 2 = (1CA) 16

10 binary

1:10 in-Turn 2-system

1310 = (1101) 2

13/2=6 ... 1

6/2=3 ... 0

3/2=1 ... 1

1/2=0 ... 1

(1101)

2:10 in-turn 8-system

(115) 10 = (163) 8

115/8=14 ... 3

14/8=1 .... 6

1/8=0 ... 1

163

3:10 in-turn 16-system

13810= (8A) 16

138/16=8 ... 10=a

8/16=0 ... 8

8A

16 binary

1:16 in-Turn 2-system

(41) 16 = (01000001) 2

4/2=2 ... 0

2/2=1 ... 0

1/2=0 ... 1

100

1/2=0 ... 1

0100 0001

2:16 in-turn 8-system

(1CA) 16 = (111001010) 2 = (712) 8

12/2=6 ... 0

6/2=3 ... 0

3/2=1 ... 1

1/2=0 ... 1

1100

10/2=5 ... 0

5/2=2 ... 1

2/2=1 ... 0

1/2=0 ... 1

1010

1*22+1*21+1*20=7

1*21=2

712

3:16 in-turn 10-system

(41) 16=6510

4*161+1*160=65

2016.1.26 binary Conversion

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.