PROGRAMMING 11 - Q1 - W2 - Mod2 PDF
PROGRAMMING 11 - Q1 - W2 - Mod2 PDF
PROGRAMMING 11 - Q1 - W2 - Mod2 PDF
Department of Education
National Capital Region
DIVISION OF CITY SCHOOLS – MANILA
Manila Education Center Arroceros Forest Park
Antonio J. Villegas St. Ermita, Manila
PROGRAMMING
.NET NCIII
Grade 11
Learning Competency:
Understand the history of computer and the
number system.
TLE_ICTCP9-12MC-If-2
Number System
0
Division of City Schools-Manila
DEPARTMENT OF EDUCATION
K TO 12 BASIC EDUCATION CURRICULUM JUNIOR HIGH SCHOOL
TECHNICAL LIVELIHOOD EDUCATION AND SENIOR HIGH SCHOOL -
TECHNICAL-VOCATIONAL-LIVELIHOOD TRACK INFORMATION AND
COMMUNICATIONS TECHNOLOGY–PROGRAMMING (.NET TECHNOLOGY)
NC III
(1st Semester)
By:
RHAYMOND M. MONTERDE
Master Teacher I
C.P. Garcia High School
1
EXPECTATIONS:
Key Terminologies
LEARNING OUTCOME 1:
2
A. Direction: Multiple Choice: Choose the letter of the correct answer.
1
___________ any number ranging from 0 to 9.
.
a. Binary d. Decimal
b. Digit e. Hexadecimal
c. Octal
B. Direction: Convert the following given. Use the space provided below.
Decimal to Binary
1. 23 10 ______________________ 2
2. 456 10 _____________________ 8
3. 101011 2 __________________ 10
4. FACE 16 __________________ 10
5. 1010100 2 _________________ 10
3
There are number of various numbering framework which is being used
for the extraordinary capacity to speak to various numbers. Binary, Octal,
Decimal and Hexadecimal are number frameworks that are utilized in various
perspectives Decimal number is the most usually utilized number framework
which is much of the time utilized in day by day life.
4
Octal Number System (Base 8)
The octal numeral system, or oct for short, is the base-8 number
system, and uses the digits 0 to 7.
5
Binary to Decimal Conversion
1. 1100 2____________________10
Solution:
To convert binary to decimal number, follow the steps below.
1. Multiply each binary digit from left to right by 2 then add plus sign
between binary digits.
1X2+1X2+0X2+0X2.
2. In each term (1X2), add corresponding exponent from right to left starting
from 0.
1X23+1X22+0X21+0X20
Since 23 equals to 2X2X2= 8, therefor 1X23 equal to 1X8+1X4+0X2+0X1=
12 10
Note:
Any number raised to 1 is equal to the number itself.
Any number raised to 0 is equal to 1.
2. 101010 2____________________________10
Solution:
To convert binary to decimal number, follow the steps below.
1. Multiply each binary digit from left to right by 2 then add plus sign
between binary digits.
1X2+0X2+1X2+0X2+1X2+0X2.
2. In each term (1X2), add corresponding exponent from right to left starting
from 0.
1X25+0X24+1X23+0X22+1X21+0X20
Since 25 equals to 2X2X2X2X2= 32, therefore
1X32+0X16+1X8+0X4+1X2+0X1= 42 10
Note:
Any number raised to 1 is equal to the number itself.
Any number raised to 0 is equal to 1.
6
Solution:
Division Quotient Remainder
25/8 3 1
3/8 0 3
Therefore, 31 is the octal equivalent of 25 decimal.
7
2. In each term (1X16), add corresponding exponent from right to left starting
from 0.
3X161+1X160
Since 161 equals to 16, therefore 3X16+1X1= 49 10
Note:
Any number raised to 1 is equal to the number itself.
Any number raised to 0 is equal to 1.
ACTIVITY 1.1:
8
Number system consists of 4 different bases namely Decimal number
(based 10) which is from 0-9, Binary number (base 2) which is 0-1,Octol
number(base 8) which is 0-7 and the Hexadecimal number(base 16) from 0-9
and A,B,C,D,E and F for number 10 to 15.
Explain the four bases of number system. Used the space below.
9
A. Direction: Multiple Choice: Choose the letter of the correct answer.
1
___________ any number ranging from 0 to 9.
.
a. Binary d. Decimal
b. Digit e. Hexadecimal
c. Octal
10
Acknowledgements
11
Answer Key:
Lesson 2
PRE-TEST L01
A. B.
1. B 1. 10111 2
2. C 2. 710 8
3. D 3. 43 10
4. B 4. 64206 10
5. B 5. 84 10
ACTIVITIY 1.1
1. 100010 2
2. 53 10
3. 928 16
4.1010100011 2
5.270 10
6. 10100001 2
7. 501 10
8. 103 10
9.485 10
10. 4673 10
12