Comprog1 - Module 3
Comprog1 - Module 3
GRADE
11
Name: _______________________________________________________________________
After this lesson, you will be able to answer the following questions:
What are the various number systems?
How to convert binary to decimal and vice versa.
ROUSING ACTIVITY
INQUIRY QUESTIONS:
Directions: Read the given questions below and answer each item by expressing your own
ideas in 2 – 3 sentences per item.
1. _________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
_______________________________________________________________________________.
2. _________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
_______________________________________________________________________________.
1
PRE-TEST
2. A number system that uses a notation in which each number is expressed in base 10.
a. Number Systems b. Decimal
c. Binary d. Octal Number System
2
LESSON PROPER
Number Systems
Number systems are also called numeral system. Number
system is any notation that represents numerals or numbers.
Decimal
A number system that uses a notation in which each number is
expressed in base 10 by using one of the first nine integers or 0
in each place and letting each place value be a power of 10.
Base 10 (Decimal) — Represent any number using 10 digits [0–9]
Binary
Binary (or base-2) a numeric system that only uses two digits 0
and 1 Computers operate in binary, meaning they store data and
perform calculations using only zeros and ones. A single binary
digit can only represent true (1) or False (0) in Boolean logic.
However, multiple binary digits can be used to represent large
numbers and perform complex functions. In fact, any integer can
be represented in binary.
Base 2 (Binary) — Represent any number using 2 digits [0–1]
3
Conversion of Binary to Decimal
To convert a binary number to decimal number, multiply each value of the, where x is the ordinal
bit number – 1 then add them altogether.
There are 2 methods you can use in converting Binary to Decimal.
Example #2
11012 to ____________
11012 = (1 X 23) + (1 X 22) + (0 X 21) + (1 X 20)
= (1 X 8) + (1 x 4) + (0 x 2) + (1 x 1)
= (8) + (4) + (0) + (1)
= 1310
Note: Always remember to put the Power of 10 in your final answer.
4
Method 2:
number sequence: …, 128, 64, 32, 16, 8, 4, 2, 1 (binary bit by the powers of two)
7th, 6th, 5th, 4th, 3rd, 2nd, 1st, 0 (binary bit position)
If the binary has 0, cancel the 0 already.
5
ACTIVITIES
ASSESSMENT A
Direction: Convert the following binary numbers into decimal numbers using Method 1. Write
your solutions below.
A. 11011 2
B. 1011 2
C. 1111 2
D. 11111 2
E. 111011 2
ASSESSMENT B
Direction: Convert the following binary numbers into decimal numbers using Method 2. Write
your solutions below.
A. 10010 2
B. 10111 2
C. 11101 2
D. 110101 2
E. 11010101 2
ASSESSMENT C
REFERENCES:
https://www.electrical4u.com/
https://www.binaryhexconverter.com/decimal-to-binary-converter
https://www.rapidtables.com/convert/number/decimal-to-binary.html
Innovative Training Works, Inc. (2016) Computer Programming Vol. 1, Rex Bookstore Inc. Rex
Publishing Inc.