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 #digitalelectronics#ktu#numberconversion
Hello students, today we are discussing Octal to Hexadecimal Conversion and Hexadecimal to Decimal Conversion techniques.
I hope you have understood the conversion techniques in the previous classes.
First we are doing Octal to Decimal Conversion.
I have told you in the class of Binary to Decimal Conversion.
The positional weighted method is used to convert the values given in any base to the corresponding decimal value.
If it is binary to decimal, each bit corresponds to 2 to the power 0, 2 to the power 1 and so on.
The question here is to convert the value in Octal to decimal.
The same positional weighted method is used here.
But the number to be given above 6 is 8 to the power 0.
Because this is given in Octal.
We have studied what is the base of an octal number system.
So the positional weighted method to be used here is 8 to the power 0.
Let us write that question again.
The positional weighted method to be used above 6 is 8 to the power 0.
The positional weighted method to be used above 0 is 8 to the power 1.
If it is 1, it is 8 to the power 2.
Now we have to find the value of 1 into 8 square plus 0 into 8 raise to 1 plus 6 into 8 raise to 0.
8 square is equal to 64 into 1.
64 plus 8 to the power 0 is equal to 1.
1 into 6 is equal to 6.
64 plus 6 is equal to 70.
We have got the answer here.
70 to the base 10.
Because we have to convert this to decimal.
Now let us see whether the value we got is correct or not.
What did we learn in the last class?
We have studied decimal to octal conversion.
This is a decimal value.
To convert this to octal, we have to continuously divide by 8.
How many times in 8?
78 times.
64 times.
Reminder is 6.
Again, how many times in 8?
1 time.
Reminder is 1.
Did I get the answer 1, 0, 6?
These are the questions asked here.
Let us check whether the value we got is correct or not.
If we have understood both the conversion techniques well,
we have got a question.
Whether it is correct or not,
we have studied the opposite cases.
We can do it only if we understand the conversion techniques well.
I hope you have understood the technique to convert 106 to the base 8 to decimal.
First question.
I have to convert 0.32 to the base 8 to the decimal.
I am writing the question below.
0.32
Now I have to give the positional weight.
When it comes to the right of the binary point,
it is given as power minus 1, 8 to the power minus 2.
It is given in terms of minus.
It is given in terms of binary to decimal conversion cases.
It is given in terms of fractional conversion cases.
Since it is base 8, it is given as 8 to the power.
How to write it?
Which is equal to
3 into 8 to the power minus 1 plus 2 into 8 to the power minus 2.
I can write 8 to the power minus 1 as 1 by 8.
For 8 to the power minus 2, 8 square is 64.
I can write it as 1 by 64.
This cancels out.
2 and 64.
3 times 6 is 4.
3 into 3 by 8 plus 1 by 32.
What is the LCM of 8 and 32?
It is 32.
How many times does 8 go to 32?
4 times.
4 into.
He wrote 3 in the numerator.
He wrote 1 in the numerator.
By 32.
Which is equal to 12 plus 1 by 32.
13 by 32.
What will you get if you do it?
0.40625 to the base 10.
Okay.
0.40625 to the base 10.
How did you understand this?
This is the fractional question of octal to decimal conversion.
Next, let us see how hexadecimal to decimal conversion is.
Next is hexadecimal to decimal conversion.
This is also a positional weighted method.
What is the base here?
It is hexadecimal.
What is the base here?
Since it is 16, we need to give 16 to the power of each bit.
Write that question again.
a, f, 1, 0.
The positional weight above this bit is 16 to the power 0.
If it is 1, it is 16 to the power 1.
For f, it is 16 to the power 2.
For a, it is 16 to the power 3.
Isn't it?
What does a represent in hexadecimal?
It represents 10.
What is f?
It is 15.
I am taking 10 instead of a.
What is the cube of 16?
The cube of 16 is 4036.
This is 10.
The cube of 16 is 4036.
The cube of f is 15.
What is the square of 16?
It is 256.
What is 16 to the power 1?
It is 16.
What is the next term?
It is 0.
Since it is 0, it is 40360.
What is 15 into 256?
It is 3840 plus 16.
When we add all these, what do we get?
It is 44816 to the base 10.
When I convert af10 to decimal, my answer is 44816 to the base 10.
Next, let us see how to solve fraction problem in hexadecimal to decimal case.
I need to convert 0.B8 into decimal.
Since the base is 16, it is represented in minus terms.
16 to the power minus 1 and 16 to the power minus 2.
What is B?
It is 11 in hexadecimal.
11 into 16 to the power minus 1 plus 8 into 16 to the power minus 2.
16 to the power minus 2 is 1 by 16 to the power 2.
1 by 256 is 0.718875 to the base 10.
We have done hexadecimal to decimal conversion and fractional problems.
We have done octal to decimal conversion and hexadecimal to decimal conversion.
Thank you.