Professional Documents
Culture Documents
FINAL PROJECT IN
INTRODUCTION TO COMPUTING
GROUP MEMBERS:
ARLANTICO, JULIA ANTONIA B.
MENDOZA, LEONCIO FEDERIC P.
NAVARRO, ISMAEL E.
INSTRUCTOR:
ENGR. MELOJEAN MARAVE LPT
Binary Number System
Binary is a base-2 number system invented by Gottfried Leibniz. This system is made up of only
two digits: 0 (zero) and 1 (one). This number system is the basis for all binary code.
The term binary also refers to any digital encoding/decoding system in which there are exactly
two possible states. The terms "low" and "high" are occasionally used to refer to the 0 and 1 values,
respectively, in digital memory, storage, processing, and communications.
In mathematics and in computing systems, a binary digit, or bit, is the smallest unit of data.
Every bit can only have one value, which is either 1 or 0. It cannot have any other value. Computers
can represent numbers using binary code in the form of digital 1s and 0s inside the Central
Processing Unit (CPU) and Random Access Memory (RAM). Inside the CPU or RAM, these digital
numbers represent electrical signals that are either on or off.
The importance of Binary number system is it is the foundation of all computer systems and
processes is the binary number system. Devices can store, retrieve, and work with any kind of data
that is sent to or received from the CPU or memory.
The Binary to Decimal numbers conversion is converting the binary number into decimal
number. To convert the binary number to a decimal number, we need to use multiplication method.
If a number with base n has to be converted into a number with base 10, then each digit of the given
number is multiplied from the Most Significant Bit (MSB) to the Least Significant Bit (LSB) with
reducing the power of the base.
Binary to Decimal Table
Base 25 24 23 22 21 20
Equivalent value of the power 32 16 8 4 2 1
Solution: Multiply each digit from MSB to LSB with reducing the power of the base number 2.
Solution: Multiply each digit from MSB to LSB with reducing the power of the base number 2.
Solution: Multiply each digit from MSB to LSB with reducing the power of the base number 2.
Binary numbers have a base of two, while decimal numbers have a base of ten. The base of
the number changes from base 10 to base 2 when converting from decimal to binary. There are
binary numbers that correspond to every decimal number. These binary numbers are primarily
utilized for coding or programming in computer applications. This is because computers are able to
communicate using binary, or the 0 and 1, digits.
There are two methods that can be used to solve the decimal to binary conversion. First is the
Subtraction method, and the other one is the Successive division method.
Therefore, the equivalent for the given decimal number (51)10 is (100001)2.
(51)10 = (100001)2
Therefore, the equivalent for the given decimal number (67)10 is (1000011)2.
(67)10 = (1000011)2
Therefore, the equivalent for the given decimal number (42)10 is (101010)2.
(42)10 = (101010)2
Hexadecimal Number System
The hexadecimal number system is a type of number system, that has a base value equal to 16.
Hexadecimal numbers are represented by only 16 symbols. These symbols or values are 0, 1, 2, 3, 4,
5, 6, 7, 8, 9, A, B, C, D, E, and F. Hexadecimal number systems can be converted to other number
systems such as binary number, and decimal number.
Therefore, the equivalent value of the binary number (10110111)2 to hexadecimal is (B7)16.
2. Convert the binary number (11001010)2 into hexadecimal number.
Therefore, the equivalent value of the binary number (11001010)2 to hexadecimal number is
(EA)16.
Therefore, the equivalent value of the binary number (11110110)2 to hexadecimal number is (F6)16.
A= 10 9=9
=8421 =8421
A=1010 9=1001
Therefore, the equivalent value of hexadecimal number (A9)16 into binary number is (10101001)2.
Octal number system has a base of eight and uses the numbers from 0 to 7. The octal
numbers, in the number system, are usually represented by binary numbers when they are
grouped in pairs of three.
Octal Number System Table
In binary to octal conversion, we learn to convert base 2 number system into bae 8 number
system. We need to convert binary to decimal, then decimal to the equivalent octal number
system.
Solution: separate the binary numbers into two group. = 110 101
Therefore, the equivalent value of binary number (110101)2 to octal number is (65)8.
Therefore, the equivalent value of binary number (111110)2 to octal number is (76)8.
Octal to Binary conversion
In order to convert octal to binary number, we have to follow a few steps. Octal
numbers have base 8 and binary numbers have base 2. We can convert the octal number into
decimal and then convert the decimal number into its equivalent binary number.
Therefore, the equivalent value of octal number (56)8 into binary number is (1011100)2.
Therefore, the equivalent value of octal number (35)8 into binary number is (011101)2.
Therefore, the equivalent value of octal number (34)8 into binary number is (011100)2.