Number System
Number System
Joevic T. Pecate
CS/IT Faculty
October 29, 2021
Computer Programming 1
Number System (Decimal to
Binary)
2048 1024 512 256 128 64
32 16 8 4 2 1
1. 87310 =
Ans: 1101101001
2. 165710 = Computer Programming 1
Number System (Binary to
Decimal)
2048 1024 512 256 128 64
32 16 8 4 2 1
1. 1 1 1 0 1 0 1 1 2
Ans: 235
2. 1 1 1 0 1 0 1 0 1
Computer Programming 1
Number System (Binary to
Octal)
0 0 1 1 1 0 1
0 1 12
Computer Programming 1
Number System (Octal to
Binary)
1. 4235 8 = ____________ 2
2. 7120 8 = ____________ 2
0 0 1 1 1 0
1 0 1 12
1. Ans: 0 E B or simply EB
Computer Programming 1
Number System
(Hexadecimal to Binary)
1. CA89116 = ______________ 2
2. FAD3716 = ______________ 2
Decimal to Octal
Octal to Decimal
Decimal to Hexadecimal
Hexadecimal to Decimal
Computer Programming 1