Page 76 - 2617_JSSPS_C-8
P. 76
For example, let us add the binary numbers (101111) and (10111) .
2
2
1 1 1 1 1 _____ Carry bits
1 0 1 1 1 1
+ 1 0 1 1 1
1 0 0 0 1 1 0
Binary Subtraction
In binary subtraction, a binary number of lower value is subtracted from the binary number of higher
value. The given table explains the subtraction of digit Y from digit X. If Y is greater than X, then 1 is
borrowed from the next position. When the binary digit 0 borrows 1 from the next most significant
digit, it becomes 10.
X Y X – Y
0 0 0 – 0 = 0
0 1 0 – 1 = 1 (borrow 1, so that 10 – 1 = 1)
1 0 1 – 0 = 1
1 1 1 – 1 = 0
For example, let us subtract the binary number (111) from (1000) .
2
2
1 1
0 (10) (10) (10) _____ Borrow
1 0 0 0
– 1 1 1
0 0 0 1
Factbot
Modern day binary number system was invented by Gottfried Leibiniz in 1679.
REAL-LIFE EXAMPLES IN COMPUTING
Here are some real-life examples of computing using the binary number system:
Computer storage: All data stored on a computer, such as documents, images, and videos, is stored
in binary. For example, each letter or character you type is converted into binary code that the
computer can process.
Digital watches: A digital clock shows time in hours, minutes, and seconds, and all of these are
represented using numbers. The clock uses binary to store and display the time. The watch uses
logic gates (little electronic switches) that are either "On" or "Off" to keep track of the count.
Premium Edition-VIII
74

