Binary Numeral System
Binary Numeral System
LEARNING OUTCOMES:
1. Understand the use of binary numeral system in mathematics and digital electronics.
2. Convert a decimal numeral to a binary numeral and vice versa
PRE-TASK: Read the text below and answer the questions that follow.
1. Digital electronics is about designing and analysing circuits and although this could be done using only
the mathematical language of Boolean algebra introduced above, it is often more convenient to use circuit
diagrams to show how the logic gates are connected together. (Crowe, 1998)
2. Digital electronics operate on bits of course, which are used to form binary words. The bits can be represented as
binary, decimal, octal or hexadecimal, or other form. These binary numbers can be used to represent “real”
numbers. There are two basic types of arithmetic used in DSP, floating point or fixed point. Fixed point
numbers that have a fixed decimal point as part of the number. (Parker, 2017)
3. In digital electronics digital outputs are generated from digital inputs. If the output of the logic circuit depends only
on the present input values, we refer to the system as not having memory. Systems without memory are also
known as combinatorial logic circuits because they combine inputs to produce the output. Combinatorial
circuits can be constructed with gates alone. If, on the other hand, the output of the logic circuit depends on
present as well as past input values, we then refer to such a circuit as having memory, because such circuits
remember past input values. (Plonus, 2001)
4. Digital electronics can be thought of as dealing with a world that's either black or white (or 0/1 or true/false), with
no fuzzy gray areas between those levels. Samuel Wilensky (1991) tells how analog design is the art of working in
those gray areas, with designers required to optimize a circuit by sacrificing one parameter so another can be
enhanced. He uses the evolution of the digital to analog converter to show how advances in analog design come
through intuition and “feel” as much as through rigid application of fixed rules.
5. Almost all devices we use on a daily basis make use of digital electronics in some capacity. Digital electronics simply
refers to any kind of circuit that uses digital signals rather than analogue. It is constructed using circuits calls logic
gates, each of which performs a different function. The circuit will make use of different components that are all
standard, but that are put together in different combinations to achieve the desired result. It circuit will also include
resistors and diodes, which are used to control current and voltage. (Paul, 2020)
6. Many of our household items make use of digital electronics. This could include laptops, televisions, remote
controls and other entertainment systems, to kitchen appliances like dishwashers and washing machines.
Computers are one of the most complex examples and will make use of numerous, complex circuits. There may be
millions of pathways within the circuit, depending on how complex the computer and its functions need to be.
(Paul, 2020)
COMPREHENSION QUESTIONS:
Answer individually. Write your answers on a separate sheet of paper for submission.
1. Based on the text, what is digital electronics?
2. What do you think is the importance of digital electronics in today’s living?
LESSON
ENCYCLOPÆDIA BRITANNICA defines Binary Number System as
A positional numeral system employing 2 as the base and so requiring only two different symbols for its digits, 0 and
1, instead of the usual 10 different symbols needed in the decimal system. The numbers from 0 to 10 are thus in binary
0, 1, 10, 11, 100, 101, 110, 111, 1000, 1001, and 1010. The importance of the binary system to information
theory and computer technology derives mainly from the compact and reliable manner in which 0s and 1s can be
represented in electromechanical devices with two states—such as “on-off,” “open-closed,” or “go–no go.”
Fractions in binary arithmetic terminate only if 2 is the only prime factor in the denominator. As a result, 1/10 does not
have a finite binary representation (10 has prime factors 2 and 5). This causes 10 × 0.1 not to precisely equal 1
in floating-point arithmetic. As an example, to interpret the binary expression for 1/3 = .010101..., this means: 1/3 = 0
× 2−1 + 1 × 2−2 + 0 × 2−3 + 1 × 2−4 + ... = 0.3125 + ... An exact value cannot be found with a sum of a finite number of inverse
powers of two, the zeros and ones in the binary representation of 1/3 alternate forever.
The "1" on the left is in the "2×2×2" position, so that means 1×2×2×2 (=8)
The next "1" is in the "2×2" position, so that means 1×2×2 (=4)
The next "1" is in the "2" position, so that means 1×2 (=2)
The last "1" is in the ones position, so that means 1
Answer: 1111 = 8+4+2+1 = 15 in Decimal
Test Yourself:
Decimal: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
11
Binary: 0 1 10 11 100 101 111 1000 1001 1010 1011 1100 1101 1110 1111
0
Decimal: 20 25 30 40 50 100 200 500
1111
Binary: 10100 11001 101000 110010 1100100 11001000 111110100
0
CONVERSIO
N
Binary to Decimal
In the binary numbering system, a binary number such as 101100101 is expressed with a string of “1’s” and “0’s” with
each digit along the string from right to left having a value twice that of the previous digit. But as it is a binary digit it can
only have a value of either “1” or “0” therefore, q is equal to “2” (0 or 1) with its position indicating its weight within the
string.
By adding together ALL the decimal number values from right to left at the positions that are represented by a “1” gives
us: (256) + (64) + (32) + (4) + (1) = 35710 or three hundred and fifty seven as a decimal number.
Then, we can convert binary to decimal by finding the decimal equivalent of the binary array of digits 1011001012 and
expanding the binary digits into a series with a base of 2 giving an equivalent of 35710 in decimal or denary.
Note that in number conversion systems “subscripts” are used to indicate the relevant base numbering system,
10012 = 910. If no subscript is used after a number, then it is generally assumed to be decimal.
Decimal to Binary
Repeated Division-by-2 Method
result 73 remainder 1
divide by 2
result 36 remainder 1
divide by 2
result 18 remainder 0
divide by 2
result 9 remainder 0
divide by 2
result 4 remainder 1
divide by 2
result 2 remainder 0
divide by 2
result 1 remainder 0
divide by 2
This divide-by-2 decimal to binary conversion technique gives the decimal number 29410 an equivalent of 1001001102 in
binary, reading from right to left. This divide-by-2 method will also work for conversion to other number bases.
Then we can see that the main characteristics of a Binary Numbering System is that each “binary digit” or “bit” has a
value of either “1” or “0” with each bit having a weight or value double that of its previous bit starting from the lowest
or least significant bit (LSB) and this is called the “sum-of-weights” method.
So we can convert a decimal number into a binary number either by using the sum-of-weights method or by using the
repeated division-by-2 method, and convert binary to decimal by finding its sum-of-weights.
POST TASK.
1) 10100011
2) 101101
3) 11101111
4) 110100101010
5) 1000010
6) 163
7) 45
8) 3370
9) 239
10) 66