You are on page 1of 8

SHS

GRADE
11

COMPUTER PROGRAMMING .NET 1


QUARTER 1- MODULE 3

Use Mathematical Concepts and


Techniques

Name: _______________________________________________________________________

Grade Level & Section: __________________________________________________________

Subject Teacher: _______________________________________________________________


OBJECTIVES:

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. How would you describe number systems in your own words?


2. How does number systems help you in your daily living?

1. _________________________________________________________________________________

________________________________________________________________________________

________________________________________________________________________________

________________________________________________________________________________

_______________________________________________________________________________.

2. _________________________________________________________________________________

________________________________________________________________________________

________________________________________________________________________________

________________________________________________________________________________

_______________________________________________________________________________.

1
PRE-TEST

Direction: Encircle the letter of the correct answer.

1. It is also called numeral system.


a. Number Systems b. Decimal
c. Binary d. Octal Number System

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

3. A numeric system that only uses two digits — 0 and 1.


a. Number Systems b. Decimal
c. Binary d. Octal Number System

4. The number system whose base is 8.


a. Number Systems b. Decimal
c. Binary d. Octal Number System

5. A numeral system made up of 16 symbols (base 16)


a. Number Systems b. Decimal
c. Binary d. Hexadecimal 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]

Octal Number System


The number system whose base is 8 is known as the octal number system. The base 8 means the
system uses eight digits from 0 to 7.
Base 8 (Octal) — Represent any number using 8 digits [0–7]

Hexadecimal Numeral System


The hexadecimal numeral system, also known as just hex, is a numeral system made up of 16
symbols (base 16). There are no symbols that mean ten, or eleven etc. so these symbols are
letters taken from the English alphabet: A, B, C, D, E and F. Hexadecimal A = decimal 10, and
hexadecimal F = decimal 15.

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.

 Method 1: Using Positions


Step 1: Write down the binary number.
Step 2: Starting with the least significant digit (the rightmost one), multiply the digit by the value of
the position. Continue doing this until you reach the most significant digit (the leftmost one).
Step 3: Add the results and you will get the decimal equivalent of the given binary number.
Note: 20 is always equivalent to 1.
Note: Always remember to put the Power of 10 in your final answer.
Example #1
Now, let's apply these steps to, for example, the binary number above, which is 1010 2
- (1 ) + (0 ) + (1 ) + (0 )
Step 1:
Write down 1010 and determine the positions, namely the powers of 2 that the digit belongs to
- (1 X 2) + (0 X 2) + (1 X 2) + (0 X 2)
Step 2:
Represent the number in terms of its positions.
- (1 X 23) + (0 X 22) + (1 X 21) + (0 X 20)
Step 3:
(1 X 8) + (0 X 4) + (1 X 2) + (0 X 1)
= 8 + 0 + 2 + 0 = 10
Therefore
10102 = 1010

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.

Conversion of Decimal to Binary


Conversion steps:
1. Divide the number by 2.
2. Get the integer quotient for the next iteration.
3. Get the remainder for the binary digit.
4. Repeat the steps until the quotient is equal to 0.
Note: Count the remainder upwards to get the binary.

5
ACTIVITIES

Direction: Encircle the letter of the correct answer.

1. A numeral system made up of 16 symbols (base 16)


a. Number Systems b. Decimal
c. Binary d. Hexadecimal Number System
2. A numeric system that only uses two digits — 0 and 1.
a. Number Systems b. Decimal
c. Binary d. Octal Number System
3. 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
4. The number system whose base is 8.
a. Number Systems b. Decimal
c. Binary d. Octal Number System
5. It is also called numeral system.
a. Number Systems b. Decimal
c. Binary d. Octal Number System

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

Convert the following decimal numbers into binary numbers.


A) 25 B) 6 C) 40 D) 128 E) 29 F) 13 G) 254
H) 194 I) 55 J) 61

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.

You might also like