CONVERSION OF
COMPUTER NUMBER
SYSTEMS
Q U A RT E R 1 : M O D U L E 6
LESSON OBJECTIVES
• Understand the base values, positional
notation, and digit ranges of each number
system.
• d e v e l o p p r o fi c i e n c y i n c o n v e r t i n g n u m b e r s
between binary, octal, decimal, and
hexadecimal systems using appropriate
conversion methods.
• analyze and solve conversion problems related to
memory addressing, data representation, and
programming tasks, learners will demonstrate
the practical application of conversion skills in
computing contexts.
CONTENT STANDARD
• Demonstrate an understanding of
conversion of computer number systems
LEARNING COMPETENCIES
• Apply conversion of computer number
systems
Conversion of computer number systems is a
fundamental concept in computer science
and engineering, enabling the representation
and manipulation of numerical data in digital
systems. The four primary number systems
used in computing are binary, octal, decimal,
and hexadecimal. Understanding how to
convert between these number systems is
essential for various applications in
computer programming, digital electronics,
and data processing.
BINARY NUMBER SYSTEM
The binary number system, also known as base-2,
uses two symbols (0 and 1) to represent numbers.
Each digit in a binary number corresponds to a power
of 2, with the rightmost digit representing 2^0, the
next digit representing 2^1, and so on. Binary
numbers are used extensively in digital electronics,
where they form the basis of digital data
representation and processing.
OCTAL NUMBER SYSTEM
The octal number system, or base-8, uses eight
symbols (0-7) to represent numbers. Each octal digit
corresponds to three binary digits (bits), making octal
a convenient shorthand for representing binary
numbers. Octal numbers are commonly used in
computing for representing binary-coded data,
m e m o r y a d d r e s s e s , a n d p e r m i s s i o n s i n fi l e s y s t e m s .
DECIMAL NUMBER SYSTEM
The decimal number system, familiar to most people,
uses ten symbols (0-9) to represent numbers. Each
decimal digit represents a power of 10, with the
rightmost digit corresponding to 10^0, the next digit
to 10^1, and so on. Decimal numbers are used in
everyday arithmetic and mathematics, as well as in
various computing applications where human-readable
numerical representations are required.
HEXADECIMAL NUMBER SYSTEM
The hexadecimal number system, or base-16, uses
sixteen symbols (0-9 and A-F) to represent numbers.
Each hexadecimal digit corresponds to four binary
digits (bits), making hexadecimal a compact and
convenient way to represent binary data. Hexadecimal
numbers are commonly used in computing for
representing memory addresses, byte values, and
color codes in graphics and web development.
CONVERSION METHODS:
C o n v e r t i n g b e t w e e n d i ff e r e n t n u m b e r s y s t e m s
requires understanding the positional notation and
base values of each system. Several methods can be
used for conversion, including:
• Binary to Decimal Conversion: Multiply each binary
digit by its corresponding power of 2 and sum the
results.
• Decimal to Binary Conversion: Divide the decimal
number by 2 repeatedly and record the remainders to
obtain the binary equivalent.
• Binary to Octal/Hexadecimal Conversion: Group
binary digits into sets of three/four and convert
each group to its octal/hexadecimal equivalent.
• Octal/Hexadecimal to Binary Conversion: Convert
each octal/hexadecimal digit to its binary
equivalent and concatenate the results.
PRACTICAL APPLICATIONS:
Conversion of computer number systems is used in
various applications, including:
• Digital Electronics: Converting between binary, octal,
decimal, and hexadecimal numbers is essential for designing
and analyzing digital circuits and systems.
• Programming: Programmers often work with binary, octal,
decimal, and hexadecimal numbers when writing and
debugging software, particularly in low-level programming
and embedded systems development.
• D a t a Re p r e s e n t a t i o n : D i ff e r e n t n u m b e r s y s t e m s a r e u s e d t o
represent and manipulate data in computer memory,
storage, and communication protocols.
CONCLUSION:
Conversion of computer number systems is a
fundamental skill in computer science and
engineering, enabling the representation and
manipulation of numerical data in digital systems.
Understanding how to convert between binary, octal,
decimal, and hexadecimal numbers is essential for
various applications in computing, including digital
electronics, programming, and data representation.
VIDEO LESSON ASSISTANCE
Click:
https://www.youtube.com/pla
ylist?
list=PL0o_zxa4K1BXCpQbUdf
0htZE8SS0PYjy-
QUIZ #6
1.WHAT IS THE BASE OF THE BINARY
NUMBER SYSTEM?
a) Base-2
b) Base-8
c) Base-10
d) Base-16
2. HOW MANY SYMBOLS ARE USED IN THE
OCTAL NUMBER SYSTEM?
a) 6
b) 8
c) 10
d) 16
3. WHAT IS THE HEXADECIMAL EQUIVALENT
OF THE BINARY NUMBER 1010?
a) A
b) B
c) C
d) D
4. WHAT METHOD IS COMMONLY USED TO
CONVERT BINARY NUMBERS TO DECIMAL?
a) Division by 2
b) Division by 8
c) Multiplication by
2
d) Multiplication by
8
5. WHICH NUMBER SYSTEM IS COMMONLY USED
IN PROGRAMMING FOR REPRESENTING MEMORY
ADDRESSES AND BYTE VALUES?
a) Binary
b) Octal
c) Decimal
d) Hexadecimal
ANSWER KEY
1.a) Base-2
2.b) 8
3.a) A
4.a) Division by 2
5.d) Hexadecimal
REFERENCES:
• Ta n e n b a u m , A . S . , & B o s , H . ( 2 0 1 5 ) . M o d e r n
O p e r a t i n g S y s t e m s ( 4 t h e d . ) . Pe a r s o n .
• S t a l l i n g s , W. ( 2 0 1 9 ) . C o m p u t e r O r g a n i z a t i o n a n d
A r c h i t e c t u r e : D e s i g n i n g f o r Pe r f o r m a n c e ( 1 1 t h e d . ) .
Pe a r s o n .
• Pa t t e r s o n , D . A . , & H e n n e s s y , J . L . ( 2 0 1 7 ) .
Computer Organization and Design: The
Hardware/Software Interface (5th ed.). Morgan
Kaufmann.
• E d u c a t i o n Re s o u r c e H u b ( P P T D e s i g n )