Reporting CC101 - GROUP 1
Reporting CC101 - GROUP 1
cc101
1
2
3
4
5
Conversion of Binary / Octal / Hexadecimal Number
6 Systems to Decimal Number Systems,
7
8
9 }
10
11
12
13
14
110100110100110100110100110100110100110100110100
CC101.html workshop.cc101
1
2
Table Of ‘Contents’ {
3
4 01-09 Binary to Decimal
5
6
7
8 10-13 Octal to Decimal
9
10
11
12
14-17 Hexadecimal to Decimal
13
14 }
110100110100110100110100110100110100110100110100
CC101.html workshop.cc101
1
2
3
01 {
4
5
6
7
[Binary to Decimal]
8
9 Presenters: Aaronn John Ladaga
10 Joel Villanueva Sosmeña
11
12
13
14
}
1
CC101.html workshop.cc101
1
2
What is Binary Number System?{
3
4 From the prefix “bi”, which means two. The binary number system has a
base 2 system, a method of mathematical expression which uses only two
5 symbols: the zero (0) and one (1).
6
7
}
8
9 Its commonly used for computers and any type of digital circuits because computers
10 don’t understand words or numbers and to make sense of complicated data,
computers has to encode it and keep the calculations simple.
11
12
}
13
14
2
CC101.html workshop.cc101
1
2
Position Notation Method’ {
3 List out the powers of 2 for all the digits starting from
4 Step 01 the rightmost position. The first power would be 20 and as
we move on it will be 21, 22, 23, 24, 25,... and so forth.
5
6
7 Now multiply each digit in the binary number starting from the right with its respective
Step 02 weight based on its position and evaluate the product. Finally, sum up all the products
8 obtained for all the digits in the binary number.
9
10
11 Now, express the binary number as a
Step 03 decimal number.
12
13
14 }
4
CC101.html workshop.cc101
1 Additional Tip
2
3 0
4 2
5 4
6 8
7 16
8 32
9 64
10 128
11 256
12 512
13
14 }
6
CC101.html workshop.cc101
1
2 Additional Tip
3
4
5 When we are converting a binary to a decimal, always check if there’s a
6 zero in the binary number system because we can totally ignore that
7 because the result will always be zero (0) no more what. In other
8 words, we only need to focus on the numbers that have a one (1) in the
9 binary number system.
10
11
12
13
14 }
7
CC101.html workshop.cc101
1
2
Doubling Method
3
4 Step 1
5 Write the binary number and start from the left-most digit. Double the previous number
and add the current digit. Since we are starting from the left-most digit and there is no
6
previous digit to the left-most digit, we consider the double of the previous digit as 0.
7
8 Step 2
9 Continue the same process for the next digit also. The second digit from the left is 0.
10 Now, double the previous digit and add it with the current digit.
11 Step 3
12 Continue the same step in sequence for all the digits. The sum that is achieved in the
13 last step is the actual decimal value.
14 }
8
CC101.html workshop.cc101
1
2 Doubling Method(Example)
3
4
5
6
7
8
9
10
11
12
13
14
}
9
CC101.html workshop.cc101
1
2
3
4
02 {
5
6 [ Octal to Decimal ]
7
8
9 Presenters: Desiree Camposano
Christian Andre Reyes
10
11 }
12
13
14
10
CC101.html workshop.cc101
1
2
What is Octal Number System?{
3
4 Has a base of eight and uses the number from 0 to 7. The
5 octal numbers, in the number system, are usually
represented by binary numbers when they are grouped in
6
pairs of three. For example, 128 is expressed as 0010102,
7 where 1 is equivalent to 001 and 2 is equivalent to 010.
8
9
10 Octal = (N)8
11 Decimal = (N)10
12
13
14
11
CC101.html workshop.cc101
1
2 Conversion of Octal to Decimal (Example) {
3
4 = (23)8
5
6 Step by step solution
7
Step 1: Write down the octal number: 23
8 Step 2: Multiply each digit of the octal number by the
9 corresponding power of eight:
2x81 + 3x80
10
Step 3: Solve the powers:
11 2x8 + 3x1
12 Step 4: Add up the numbers written above:
16 + 3 = 19
13
= So, 19 is the decimal equivalent of the octal number 23.
14 (23)8 = (19)10
12
CC1O1.html workshop.cc101
1
2
3
Another Example:
4 (156)8 = (110)10
5
6
Step by step solution
7 Step 1: Write down the octal number:
8 156
Step 2: Multiply each digit of the octal number by the
9 corresponding power of eight:
10 1x82 + 5x81 + 6x80
Step 3: Solve the powers:
11 1x64 + 5x8 + 6x1
12 Step 4: Add up the numbers written above:
64 + 40 + 6 = 110
13 So, 110 is the decimal equivalent of the octal number 156.
14 = (110)10
13
CC101.html workshop.cc101
1
2
3
4
03 {
5
6 [ Hexadecimal to Decimal ]
7
8
9 Presenters: Shyooi Morisaka
James Khurt Urot
10
11
12
13
14 }
14
CC101.html workshop.cc101
1
2
What is Hexadecimal?’{
3 Hexadecimal (or hex) is a base 16 system used to
4 simplify how binary is represented. A hex digit can be
any of the following 16 digits: 0 1 2 3 4 5 6 7 8 9 A
5 B C D E F. Each hex digit reflects a 4-bit binary
6 sequence.
7
8
9
10
11
12
13
14 }
15
CC101.html workshop.cc101
1
2
Hexadecimal to Decimal (Example)
3 (23E)16 = (574)10
4
5 Step by step solution
6
Step 1: Write down the hexadecimal number:
7
(23E)16
8
Step 2: Show each digit place as an increasing power of
9 16:
10 2x162 + 3x161 + Ex160
11 Step 3: Convert each hexadecimal digits values to
decimal values then perform the math:
12
2x256 + 3x16 + 14x1 = (574)10
13 So, the number 574 is the decimal equivalent of
14 } hexadecimal number 23E
= (574)10
16
CC101.html workshop.cc101
1
2
3
Hexadecimal to Decimal (Example)
4 (D23F)16
5
Step by step solution
6
7 Step 1: Write down the hexadecimal number:
8 (D23F)16
9 Step 2: Show each digit place as an increasing power of 16:
10 Dx163 + 2x162 + 3x161 + Fx160
Step 3: Convert each hexadecimal digits values to decimal
11
12 } values then perform the math:
13x4096 + 2x256 + 3x16 + 15x1 = (53823)10
13 So, the number 53823 is the decimal equivalent of hexadecimal
14 number D23F.
= (53823)10
17
CC101.html workshop.cc101
1
2 import java.io.*;
3
‘Do you have any questions?’
4
5 youremail@freepik.com
+91 620
public 421 838 void
static main(String[] args) {
6 yourcompany.com
7 System.out.println(“Thank you");
8
9
10 CREDITS: This presentation template was created by Slidesgo,
11 including icons by Flaticon, and infographics & images by Freepik
12
< Please keep this slide for attribution >
13
14 }
18