This topic is useful for KTU Regulation 2019 1. EET206 Digital Electronics ( ELECTRICAL AND ELECTRONICS ENGINEERING) 2. CST203 Logic System Design ( COMPUTER SCIENCE ENGINEERING) 3. ECT203 Logic Circuit Design (ELECTRONICS AND COMMUNICATION ENGINEERING) 4. EBT205 Logic Circuit and Design (BIOMEDICAL ENGINEERING) 5. ITT203 Logic System Design (INFORMATION TECHNOLOGY) 6. ECT203 Logic Circuit Design (APPLIED ELECTRONICS ENGINEERING) KTU Regulation 2015 1. EE204 Digital Electronics and Logic Design (ELECTRICAL AND ELECTRONICS ENGINEERING) 2. CS203 Switching Theory and Logic Design (COMPUTER SCIENCE ENGINEERING) 3. EC207 Logic Circuit Design (ELECTRONICS AND COMMUNICATION ENGINEERING) 4. EC207 Logic Circuit Design (APPLIED ELECTRONICS ENGINEERING AND INSTRUMENTATION) 5. IC207 Design of Logic Circuit (BIOMEDICAL ENGINEERING) FOR FULL CLASSES : https://youtube.com/playlist?list=PL2UV2EJdMQmgLuA8dwLY7-4DsbNQTsUOg #digitalelectronics#ktu#eee#electrical#cse FOR FULL CLASSES : https://youtube.com/playlist?list=PL2UV2EJdMQmgLuA8dwLY7-4DsbNQTsUOg
Hello Students, Today we are going to discuss about Octal to Hexadecimal Conversion
In the previous classes, we have discussed about number system introduction, binary number system, octal number system, decimal number system and hexadecimal number system
We have discussed about the basis of these 4 number systems
After that, we have discussed about binary to octal conversion
We have discussed about decimal conversion and other cases
and after that we have discussed about binary to hexadecimal conversion
We have discussed about decimal conversion and other cases
Today, we are going to discuss about octal to hexadecimal conversion
When we study about number system, we have known the octal number system
The base of octal number system is 8
In case of hexadecimal number system, the base is 16
There are two steps to convert the octal to hexadecimal conversion.
First step is to convert the octal to binary.
If the question is octal to hexadecimal conversion, convert the octal number to binary.
Second step is to convert the binary number to hexadecimal.
If the question is octal to hexadecimal conversion, convert the octal number to binary.
Then convert the binary number to hexadecimal.
Let's see the question.
I want to convert 76 to the base 8 to hexadecimal.
There are two steps to convert the octal to hexadecimal.
First step is to convert the octal to binary.
We have to write 7 in the corresponding binary form of the octal.
In the chart of the octal, how do we write the binary value of 7?
1, 1, 1
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
4, 2, 1
The shortcut is 4, 2, 1.
In the chart of the hexadecimal, how do we write the binary value of 7?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 7?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
In the chart of the hexadecimal, how do we write the binary value of 6?
1, 1, 0
1, 1, 1
0, 0, 1
0 0 1 0 and what is the value next? 0 0 1 0 0 0 1 0 and what is the value?
1 1 1 1 8 plus 2 is 10 10 plus 4 is 14 14 plus 1 is 15
8 plus 2 is 10, 10 plus 4 is 14, 14 plus 1 is 15, so it is f.
Hexadecimal value of 15 is f.
Here itself value is f.
What is our answer?
1, 2, f to the base 16.
What was our question?
We moved 457 to the base 8 to hexadecimal.
First we moved it to binary and wrote it in this form.
Then we moved it directly to hexadecimal.
Hexadecimal value is 1, 2, f to the base 16.
Let us see the next question.
Let us see how to solve a decimal question.
First question with decimal case.
I have to move 45.17 to the base 8 to hexadecimal.
What should I write first?
I have to write binary value.
Give 4 to 1 and 8 to 4.
8 to 4 is the case of hexadecimal.
4 to 1 is the value of 1, 0, 0.
Next is 5.
For 5, 4 plus 1 is 0.
1, 0, 1.
Give the same decimal.
How to write 1?
0, 0, 1.
Next value is 7.
For 7, 4, 2 and 1 are required.
So, give 1 to 3.
Write 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 1.
What should I change it to?
I have to change it to hexadecimal.
In the case of decimal,
I have to group the numbers from right to left with 4 bits.
1 to 0 is a group.
To fill, I have to give 4 bits.
After decimal,
I have to group the numbers from left to right with 4 bits.
0, 0, 1, 1.
This is a group.
Next, I have to give 2 zeros to fill.
0, 0, 1, 0.
First one is 0, 0, 1, 0.
The value of 0, 0, 1, 0 is 2.
Next is 0, 1, 0, 1.
0, 1, 0, 1 has 4 and 1.
4 plus 1 is 5.
Give the same decimal.
Next is 0, 0, 1, 1.
2 and 1 is enough.
The value of 2 plus 1 is 3.
Next is 1, 1, 0, 0.
8 and 4.
8 plus 4 is 12.
What is the value of 12?
10, A, 11, B, 12, C.
The value of this is C.
The answer is 25.3C to the base 16.
We got the answer.
45.17 to the base 18.
When we convert it to hexadecimal,
we got the value 25.3C to the base 16.
Next question.
Convert 7, 4.12 to the base 18 to hexadecimal.
What is the binary of 7?
3 is 1, 1, 1.
4 is 1, 0, 0.
Give the decimal.
What is the value of 1?
0, 0, 1.
What is the value of 2?
0, 1, 0.
4, 2, 1 is enough.
2, 0, 1, 0.
1 is 0, 0, 1.
4 is 1, 0, 0, 7, 1, 1, 1.
Write it again.
1, 1, 1.
1, 0, 0.
0, 0, 1.
0, 1, 0.
To the base 2.
I have to convert it to hexadecimal.
Let's do the grouping in 4 bit.
This is a group.
0, 0, 1, 1.
Next is 1, 1.
I gave two zeros to fill it.
After the decimal,
write it in 4 bit from left to right.
How to write it?
8, 4, 2, 1.
0, 0, 1, 1.
What is the value?
3.
Next is 1, 1, 0, 0.
What is it?
12.
We studied 12.
What is the value of 12 when it is hexadecimal?
It is C.
Next is 0, 0, 1, 0.
What is the value of 0, 0, 1, 0?
2.
Next is 1, 0, 0, 0.
What is 1, 0, 0?
8.
3C.28.
To the base.
I hope you understood the two cases of octal to hexadecimal conversion.
Now let's see the hexadecimal to octal conversion.