"Hi everyone, I'm Rudra, a CS engineer and passionate blogger. Welcome to my post on [Number System Conversion Decimal and Binary. ], where I'll share insights on Information Technology and Computer Science education. My goal is to provide helpful information and answer your questions. Feel free to ask me anything in the comments below. Let's dive into today's topic…🙂”
How to find binary to decimal and decimal to binary number ?
Decimal to binary conversion:-
Example :- Convert to decimal to binary 27510 = ?
Steps to solve the above example:-
Step1: first take 275 Decimal number.
Step2: Then divide by the number 2.
Step3: If the given decimal number is completely divide then remainder is 0.
Step4: If the given decimal number is not complete divide then remainder is 1.
Step5: Then take remainder at the side of the remaining digit below like a 137 --> 1.
Step6: Then continue the divide at the end when digit is divided in the form of 1 or 0.
Step7: Then take and collect the number which is in the form of 0 or 1 into the upward dirction as given above in the figure as shown.
Binary to Decimal conversion:-
Steps to solve the binary to decimal conversion:
Step1: Take 1010101 and check its base is 2.
Step2: Now count the digit in the given binary number there are 7 digits in the given binary number.
Step3: Now take a first digit 1 and multiply by 2 each digits in the given binary number.
Step4: Place the power of digit 2 counting with 0 to 6 in the decrease form which are digits like 6,5,4,3,2,1,0 are the seven digits in the decrease form.
Step5: Seperate each multiplication by the (+) sign like this 1*(2)^6 + 0*2^5..... so on.
Step6: Solve and complete to get the final answer and final answer will be decimal number.
Can a decimal number be considered as a float in a program?
Yes, it is true that a C language program is used to process the output value even if the input values for the variable is considered to be declared with the floating value using float data type in the program for the variable globally or local variables used in the program.
The float value takes decimal number stores in the temporary memory when the c program compiles on the computer application to show the processed value using the floating data types used for the variables and the double is used for the long float which means long decimal store value to show long decimal digits after processing the values.
I hope you from this topic “ Number System Conversion Decimal and Binary ” and you can enjoy this informative post that i have published and provide you to the information technology or computer science related solution or questions/answers provided in the topic to study and happy learning 🙂
"Thank you for taking the time to read this post! I hope you found the information helpful and informative. Don't forget to stay tuned for more exciting updates and insightful content. Your support means the world to me!"
My latest post is here links below about the databases technology
What are the components of data model in [DBMS] Relational Database Management System?
There are five main components of data model... 👉 click here 👈
Comments
Post a Comment