TLE-ICT
Genevev G. Reyes
Subject Teacher
Review
BASIC PROGRAMMING CONCEPTS
–Algorithm
–Source Code
–Compiler
–Data types
–Variable
H E L L O
Decode Me!
L E S S O N
NUMBER
S Y S T E M
THE NUMBER SYSTEM
Objectives of the lesson:
At the end of the lesson, the students will be
able to:
• explain the number system and its
significance in the field of computer
• differentiate the types of number systems
• convert the binary, octal, and hexadecimal
numbers to a decimal number
What is Number System?
• The number system or the numeral
system is the system of naming or
representing numbers.
• It is the mathematical notation for
representing numbers of a given set by
using digits or other symbols in a
consistent manner.
Importance of the Number System
• Creation of passwords on computers, security
purposes.
• Encrypting important data, by converting figures into
another number system to avoid hacking and misuse
of data.
• It enables easy conversion of numbers for technical
purposes.
• The entirety of computer architecture depends upon
number systems (octal, hexadecimal). Every fiber of
data gets stored in the computer as a number.
Types of Number Systems
1. Decimal number system
2. Binary number system
3. Octal number system
4. Hexadecimal number system
Decimal Number System
(Base 10 Number System)
• The decimal number system has a base
of 10.
• It uses the digits between 0 – 9 for the
creation of numbers
The following figure represents a decimal number with
the position and weight of each digit shown and how
the value of the number is derived.
Binary Number System
(Base 2 Number System)
• This type of number system has a base value of 2.
• This system uses only two digits, i.e., 0 and 1 for
creating numbers.
• Each digit in a binary number is called a bit.
Example of binary numbers:
101
10011
1101101
Binary number to decimal number
conversion
11001 2 = ______________________10
Binary number to decimal number
conversion
10110 2 = ______________________10
1010102 = _________ 10
Octal Number System
(Base 8 Number System)
• This system has a base value of 8.
• It uses numbers from 0 to 7 to represent
numbers.
Octal number to decimal number
conversion
Hexadecimal Number System
(Base 16 Number System)
• This system has a base value of 16.
• In the hexadecimal system, the numbers are
first represented just like in the decimal system,
i.e. from 0 to 9. Then, the numbers are
represented using the alphabet from A to F.
A=10 D=13
B=11 E=14
C=12 F=15
13D1A16 = ______________ 10
A2F716 = ______________ 10
EVALUATION
Which number from the decimal number system does the letter
A represent in the Hexadecimal Number system?
A. 15
B. 12
C. 11
D. 10
Which of the following is NOT used to represent
numbers in the hexadecimal number system?
A. A
B. B
C. F
D. M
How many unique digits does the decimal
number system use to represent all the numbers?
A. 2
B. 8
C. 10
D. 16
The Binary system uses which two numbers
from the Decimal Number system?
A. 1 and 2
B. 0 and 1
C. 0 and 9
D. A and 1
What is the most commonly used number
system?
Answer:
The most commonly used number
system is the decimal number system.
What number systems do computers use?
Answer:
Computers use decimal, binary, octal, and
hexadecimal number systems.
What number system uses letters?
Answer:
The hexadecimal number system uses 6
letters (A, B, C, D, E, and F) in addition to
10 digits from 0 to 9.
The base of the octal number system is
______.
Answer:
The base of the octal number system is
8.
Number Conversion
1012 = ___________ 10
ASSIGNMENT
Study how to convert binary
numbers to decimal, octal and
hexadecimal numbers.