Movatterモバイル変換


[0]ホーム

URL:


Encyclopedia Britannica
Encyclopedia Britannica
SUBSCRIBE
SUBSCRIBE
SUBSCRIBE
History & SocietyScience & TechBiographiesAnimals & NatureGeography & TravelArts & Culture
Ask the Chatbot Games & Quizzes History & Society Science & Tech Biographies Animals & Nature Geography & Travel Arts & Culture ProCon Money Videos
binary code
Britannica AI Icon
verifiedCite
While every effort has been made to follow citation style rules, there may be some discrepancies.Please refer to the appropriate style manual or other sources if you have any questions.
Select Citation Style
Feedback
Corrections? Updates? Omissions? Let us know if you have suggestions to improve this article (requires login).
Thank you for your feedback

Our editors will review what you’ve submitted and determine whether to revise the article.

binary code

computer science

binary code,code used indigital computers, based on abinary number system in which there are only two possible states, off and on, usually symbolized by 0 and 1. Whereas in adecimal system, which employs 10 digits, each digit position represents apower of 10 (100, 1,000, etc.), in abinary system each digit position represents a power of 2 (4, 8, 16, etc.). A binary code signal is a series of electrical pulses that represent numbers, characters, and operations to be performed. A device called a clock sends out regular pulses, and components such astransistors switch on (1) or off (0) to pass or block the pulses. In binary code, each decimal number (0–9) is represented by a set of four binary digits, orbits. The four fundamental arithmetic operations (addition, subtraction, multiplication, and division) can all be reduced to combinations of fundamentalBoolean algebraic operations on binary numbers. (See thetable below for how the decimal numbers from 0 to 10 are represented in binary.)

Decimal numerals represented by binary digits
decimalbinaryconversion
000 ( 20 )
111 ( 20 )
2101 ( 21 ) + 0 ( 20 )
3111 ( 21 ) + 1 ( 20 )
41001 ( 22 ) + 0 ( 21 ) + 0 ( 20 )
51011 ( 22 ) + 0 ( 21 ) + 1 ( 20 )
61101 ( 22 ) + 1 ( 21 ) + 0 ( 20 )
71111 ( 22 ) + 1 ( 21 ) + 1 ( 20 )
810001 ( 23 ) + 0 ( 22 ) + 0 ( 21 ) + 0 ( 20 )
910011 ( 23 ) + 0 ( 22 ) + 0 ( 21 ) + 1 ( 20 )
1010101 ( 23 ) + 0 ( 22 ) + 1 ( 21 ) + 0 ( 20 )
The Editors of Encyclopaedia BritannicaThis article was most recently revised and updated byAdam Augustyn.

[8]ページ先頭

©2009-2025 Movatter.jp