module-2-L1-2
module-2-L1-2
MELANIE C. JUANOLA
First Semester
Introduction
Good day everyone, last time we discuss about
introduction to computing, that computing is any
goal-oriented activity requiring, benefiting from, or
creating computers. You also learned about
information system and its part, data, information,
and knowledge.
In this module, you shall be able to understand
number system like binary, decimal, and
hexadecimal, you shall be able to convert number
from binary to decimal, to octal and hexadecimal.
Learning Outcomes:
1.Identify different number system.
2.Convert between binary to decimal numbers.
3.Convert between binary to octal numbers.
4.Convert between binary to hexadecimal
numbers.
Discussion
Number System
7
The decimal system uses the ten digits 0 1 2 3
456789
The octal number system uses eight digits, 0 to
7, and hence has a base of eight. 0 1 2 3 4 5 6 7
Hexadecimal numbers (or hex for short) are
obtained by grouping the bits in a binary number
into sets of four and representing each such set
by a single number or letter.
8
Converting Binary Numbers to Decimal
To convert a binary number to decimal, simply write
the binary number in expanded notation (omitting
those where the bit is 0), and add the resulting
values.
Example 1
= 1* 24 + 0 * 23 + 1 * 22 + 1 * 21 + 0 * 20
= 16 + 0 + 4 + 2 + 0
= 2210
Example 2
To Do:
Convert the following binary numbers in decimal.
Show Your Process and write it on the worksheet
provided.
a.1110012
b.1101112
c. 100112
Binary-Octal Conversions
To convert from binary to octal, write the bits of the
binary number in groups of three, starting at the
binary point, adding zeros as needed to fill out the
groups. Then write the octal equivalent for each
group.
Octal Binary
0 000
1 001
2 010
3 011
4 100
5 101
6 110
7 111
Example 1
100010112 = ___________8
10
100010112 = 010 001 011 = 2138
100010112 = 2138
Example 2
11100112 = ___________8
11100112 = 001 110 011 = 1632
11100112 = 1632
Example 3
11101101102 = ___________8
11101101102 = 001 110 110 110 = 16668
To Do:
Convert the following binary numbers in octal. Show
Your Process and write it on the worksheet
provided.
a.1110011112
b.110111102
c. 100110002
11
Example 1
100010112 = ___________16
100010112 = 1000 1011 = 8B16
100010112 = 8B16
Example 2
1110011010012 = __________16
1110011010012 = 1110 0110 1001 = E6916
1110011010012 = E6916
Example 3
100010111002 = ________16
100010111002 = 0100 0101 1100 = C5416
100010111002 = C5416
To Do:
Convert the following binary numbers in hexa. Show
Your Process and write it on the worksheet
provided.
a.100110011112
b.11001110102
c. 1001100012
Summary
A number system in computer ideology is
regarded as the method or system of numbering and
representing of digits in the computer ‘inner’ system.
12
In other words, it is a technique used in representing
numbers in the computer system architecture. The
digital computer represents all kinds of data and
information in binary numbers. This implies every
value/number that you are saving or feeding
into/fetching from the computer system memory has
a defined number system. The value/data feed
in/fetch from can includes but not limited to: audio,
graphics, video, text file, numbers etc. The total
number of digits used in a number system is called
its base or radix.
Assessment
Reference:
https://www.researchgate.net/publication/
320677641_Number_System
www.cs.bu.edu>slides>CS1...PDFCS101Lecture11:
NumberSystemsandBinaryNumbers
13
https://
www.cl.cam.ac.uk>...PDFComputerFundamentals:N
umberSystemsDr.RobertHarle
https://
byjus.com>...>MathArticleWeresultsNumbersystemp
df-Definition,Typesofnumber...
14