Compute Programming Presentation
Compute Programming Presentation
PREPARED BY:
FLORES, BABY JANE A.
PANILAGAO, ROSE ANTONETTE N.
GOLONG, SEAN ACE M.
FLORES, JHON VINCENT M.
ORONOS, ANGELA MAE T.
Learning Objectives:
= 1000 + 200 + 30 + 4
Binary Number System
The Binary Number System is exactly like the
decimal design except that the base is 2
instead of 10.
We have only two symbols or digits (0
and 1) that can be used in this number
system.
Binary Number System
Example 1:
30= 11110
Example 2:
49= 110001
Octal Number System
348/8 = 43.5= 43
43/8 = 5.375= 5
5/8 = 0.625 = 0
34810 5348
v
Hexadecimal Number System
The Hexadecimal Number System one a base of 16. The
base of 16 suggests choices of 16 single character digits or
symbols. Then first 10 digits are the digits of a decimal
system 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. The remaining six digits are
denoted by A, B,C, D, E, F representing the decimal values
10, 11, 12, 13, 14, 15, respectively.
Hexadecimal Number System
Example:
7CF16
(7x 162)+ (12x161)+ (15x160)
=1792 + 192 + 15
=1999
Decimal to binary
Base 10 Base 2
0123 0,1
4567
89
32 16 8 4 2 1
57-32=25
25-16=9 32 16 8 4 2 1
9-8=1 1 1 1 0 0 0