Group 3 - BSCE 2C
Group 3 - BSCE 2C
Group 3 - BSCE 2C
Submitted By:
Submitted to:
AUGUST 2024
LEARNING OBJECTIVES:
By the end of this lesson, students should able to:
A. Identify the types of number system conversion in terms of calculation;
B. learn how to solve and convert binary, decimal, octal, and hexadecimal;
C. and acknowledge its importance in computer fundamentals, and programming.
A number-based conversation focuses on discussing topics primarily through the lens of numerical
values, statistics, or quantitative data. This can involve:
There are various types of number systems in mathematics. The four most common number system
types are:
Decimal number system (Base- 10)
Binary number system (Base- 2)
Octal number system (Base-8)
Hexadecimal number system (Base- 16)
1. Quantification and Precision: Numbers provide a precise way to quantify and communicate
information, whether discussing quantities, measurements, or statistical data.
2. Clarity and Objectivity: Using numbers can reduce ambiguity, making discussions clearer and
more objective, especially in fields like science, finance, and engineering.
3. Comparative Analysis: Numbers allow for comparisons and bench-marking, helping to evaluate
performance, trends, and outcomes.
4. Decision Making: Data-driven decisions often rely on numerical information, making numbers
crucial for informed choices and strategic planning.
5. Cultural and Symbolic Meanings: Numbers can also carry cultural, symbolic, or superstitious
meanings, influencing social and personal contexts.
For civil engineering students, number-based conversations are significant for several reasons:
1. Design and Analysis: Civil engineering relies heavily on numerical data for designing structures,
such as calculating loads, stresses, and material requirements. Precise numerical calculations ensure
safety and functionality.
3. Quality Control: Numerical measurements are used to ensure that construction materials and
techniques meet specified standards and tolerances.
4. Environmental Impact: Analyzing environmental data, such as pollution levels and resource
usage, involves numerical analysis to evaluate and mitigate impacts.
6. Communication: Engineers often present data and findings using numbers and statistics.
Effective communication of technical information relies on the ability to interpret and convey
numerical data accurately.
The binary number system is an important aspect of digital computing that functions in a base-2
system having only two numbers; 0 and 1. It is critical for computers and digital devices as they
process information in a manner dependent on
two distinct states; either on (1) or off (0). Knowing how to convert binary numbers into other forms
such as decimal, octal or hexadecimal is useful for different computational purposes.
1 x 2^3 = 8
1 x 2^2 = 4
0 x 2^1 = 0
1 x 2^0 = 1
Example:
For the binary number `1101`, the decimal equivalent is calculated as:
1 x 2^3 + 1 x 2^2 + 0 x 2^1 + 1 x 2^0
8 + 4 + 0 + 1 = 13
So, the binary number `1101` is equal to `13` in decimal.
BINARY TO OCTAL
Binary to octal is the process of converting a binary number (base-2) into its equivalent octal
number (base-8).
Example:
1. Binary number: `101110`
2. Group into sets of three:
`101 110`
3. Convert each group to octal:
- `101` = 5
- `110` = 6
4. Combine the octal digits:
Binary `101110` equals octal `56`.
BINARY TO HEXADECIMAL
Binary to hexadecimal conversion is done by grouping binary digits into sets of four and then
converting these groups into their hexadecimal equivalents. Look at the example of binary number
11010110:
Without these conversion operations, it would be very difficult to deal with various numbering
systems in computing and digital electronics work practice today.
CONVERSION
Convert Decimal to a Binary number.
Subtraction Method
(NOTE: The more familiar you are with the powers of 2 the easier the process.)
Step 1: Start by listing powers of 2 in descending order from left to right
until you reach 1 (e.g., 1,2,4,8,16,32,64, etc.).
Step 2: Identify the largest power of 2 that is less than or equal to the decimal
number.
Step 3: Subtract this power of 2 from your number and record a "1" in that
position. Record "0" for any skipped powers of 2.
Step 4: Continue this process with the remainder until you reach 0.
Example:
1. Convert (75)10 into a binary number.
Solution:
Division Method
To convert a decimal number into an equivalent binary number we have to divide the original
number system by 2 until the quotient is 0, when no more division is possible. The remainder so
obtained is counted for the required number in the order of LSB (Least significant bit) to MSB (most
significant bit).
Example:
1.) Convert (75)10 into a binary number.
Solution:
Example:
Example:
In the decimal to hexadecimal conversion table, the number 15 is considered as the alphabet F and
the number 13 is considered as the alphabet D, while the number 1 is still considered as 1.
Octal to Decimal:
Convert octal number (560)⁸ to decimal form.
Solution:
(560)⁸= (5×8²) + (6×8¹) + (0×8⁰)
= (5×64) + (6×8) + (0×1)
= 320+48+0
= 368
(560)⁸ = (368)_{10}
Octal to Hexadecimal:
Convert the octal number (452)⁸ to a hexadecimal number.
First: Convert octal to decimal
(452)⁸ = 4×8² + 5\×8¹ + 2×8⁰
= 4×64 + 5×8 + 2×1
= 256 + 40 + 2
(452)⁸ = (298) _{10}
Like binary, decimal, and octal, hexadecimal numbers can also be converted into other number
systems. The process of converting hexadecimal to decimal differs from the remaining one.
Multiply each digit of 152A.25 with its respective positional weight, and add the products of all the
bits with its weight.
https://www.javatpoint.com/conversion-of-number-system-in-digital-electronics?fbclid=IwY2xjawE
xgKhleHRuA2FlbQIxMAABHaWDzqxv68go2C2EiFck9oV1-OBpT0u3lP8UW3sDa3xRmPNvYC9
S29-m-Q_aem_DJNJ530Q-I4QpvjxfKftVw
https://byjus.com/maths/number-system/?fbclid=IwY2xjawExgKtleHRuA2FlbQIxMAABHTxSpjcQ
UFoGcKXLHjBZBDVSWwyty5rdPgbmIVrHAOxHFR7TYStLLvMxTQ_aem_eXtKYyDtVJEZNU
VLfADNnA
https://www.splashlearn.com/math-vocabulary/octal-number-system?fbclid=IwY2xjawExgLRleHRu
A2FlbQIxMAABHcvyQJam1Prv6o26QFjopAy0ux7zD39PO3WPPfPuzK9muOwCRF_YpERdgQ_
aem_RQl8MwV1ycB1NPGBHZO-kw#:~:text=A%20number%20system%20with%20base%208%2
0is%20called%20an%20octal,8%20%2C%2056%208%20%2C%20etc