Decimal to Binary - Simple conversion trick
Vložit
- čas přidán 8. 04. 2019
- This video explains how to convert from Decimal to Binary with a simple trick.
This is not the 'remainder method' - this trick is more intuitive and simple.
This method can be used also to convert from decimal to hexadecimal, or from hexadecimal to binary, or any other base that you want, as simple as that.
This video also covers the basic understanding of binary numbers and decimal numbers and what is a "base".
So if you're looking for an easy way, or maybe even the easiest method to convert Decimal number to Binary number, you've come to the right place.
Binary number is a number that is represented by 1 and 0.
Decimal number is a regular number that you use on a daily basis.
Feel free to comment with questions.
Nothing easier than this.
If you're going to draw a chart might as well subtract, that way you'd know instantly. Much faster
Using your example;
292 - 256 = 36,
we know instantly to skip everything else and go right to 32.
36 - 32 = 4, skip everything else and goto (
This trick is a lot easier. Thanks a lot.
convert 202 (decimal number) to binary
the point is not to subtract because it's harder
I didnt learn how to convert from the yt vid but ur example!
Thank you this really helped had no idea what I was doing trying to homeschool my daughter and this made sense immediately 😊
So happy to hear that! Very inspiring :)
Thank you sir this was EXTREMELY HELPFUL. I understood how to do it but I didn’t realise that a method could be that simple 😊
it cant be explained better than this
you rock!!!!
That was extremely helpful, I appreciate it. I was so confused earlier. Hopefully I’ll get better after taking my computer science class
Much easier trick
Keep doing such appreciable work
Thank you
Thank you so much bro , It helped me a lot , love from CS Undergrad India 😀
Highly appreciatable work 💗💗
Thanks a lot for this, it's way better than my professor's method.
I would've loved more examples though, just to make sure I got the hang of it.
Hey Moe, if you want to make sure that you're doing it right, you can Google it like this - 23 to binary. Ignore "0b", this is how computers realize that the rest of the number is binary
Thanks a lot buddy, it was very helpful .
Thank u I am trying to learn coding before them I try many thing to learn binary properly but when I see your video I learn binary fully properly thank you Maier gabay
You're welcome!
@@MeirGabay thank you
it helped me so much. i aced in my exam
is there a more efficient way? I consider this not optimal because it takes time to draw a table for every number and substracting the powers of two from the given number as many times as we need. Is there a math trick to find them faster?
That's a great question Roland. In "reality", I simply write down the numbers on paper, there's no need to draw a table each time. The table makes it easier to understand the logic. A concrete example:
Convert 141 to binary-
128. 64. 32. 16. 8. 4. 2. 1
1. 0. 0. 0. 1. 1. 0. 1
So it's - 10001101
How I did it? I wrote the highest multiplication that fits into 141, and it's 128. From here, I know I need to add 13, so I need 8+4+1
Practice this method a few times and you'll see it's blazingly fast
@@MeirGabay Cheers. I found another property: the sum of the powers is 255. For large numbers it's faster to do 255-x and find the sum of powers for x. Those bits will be 0 and the rest 1.
It's even better when dealing with hex since the highest hex is F (15 decimal) and a lot of times when converting binary to hex you'd have like 0111, or 1110.. can do 15-8=7 and 15-1=14 (E)
Awesome! As long as you feel comfortable with a given method, just go with it. I'm glad you found your way
OMG Thank you with this i'm gonna pass my exam. lol
easy to understand
You're very welcome 🙏🏻
thank you so much for this ❣️
Amazing video seeing from India
Thanks a lot for this!
Interesting thank you for sharing 🙂
Try to subtract instead of addition. So, you need to only compare the new number by the digit value. You save time. But still there is a faster method...
Thank you fam.
wow nice trick and super help full
thank you so much im taking computer science and calculators arent allowed so without this trick i would be dead thank you so much
You're welcome Omar!
Hey i am from India and i love your concept so much 🥰😘
Thanks For the trick Sir 😊
Thank you Sir.
Do you have a video to show from Binary back to Decimal?
Hey Martin, sorry for the delay; I don’t, though you can shoot a binary number and I’ll show you how
The idea is to draw the same binary table, and sum all the numbers that have 1 in them.
As an example, 1010011
Firstly , I know it’s an odd number, because the right most bit is 1, and the only way for a number to be odd is when the right most bit is 1 (we’ll see in a sec)
Secondly, draw the table beneath the number
1 0 1 0 0 1 1
64 32 16 8 4 2 1
Now sum all the numbers under the 1s
64+16+2+1 = 83
thanks a lot for this method... now i can give the answer in my class even faster... hehe 😁
Thank a lot sir
Nicely done ✅
So easy question thanks a lot sir
Thanks from 🇧🇩
I love your work
can u do for 192
Thankyou so much 🙏🏻.. from 🇮🇳
You're welcome from 🇮🇱 😉
Very helpful thanks
I was inspired by this video and thought about easier way. Much less work and much simple calculations.
Is 256 less then 292? Yes. Write 1.
Substract 292 - 256 = 36
Which number is less than 36? 32. Write 1 on 32. The others on the left of it are 0-s.
36-32 = 4. Write 1 on 4 and the rest are 0-s.
Hah, that's how I do it in my head :)
This is exactly how you should solve it, kudos 🤟🏻
good work!
At 3:14 why do you sum up 32 and 256 and then afterwards you use 288 to add the other numbers and not 256 anymore?
Your the only person who s asked this question. I noted this too.. and he hasn't answered..
I'm sorry for not getting back to you sooner. The goal is to add sum and add 1 until it fits.
In the case of 3:14, where we had 256, we're at the 32 point; we ask if 256+32
what sofware u use to animate these?
You'll be surprised - PowerPoint
@@MeirGabay surprising
best explanation
Thank youuuuuu huhu
Awesome thnx 🤩
THANK YOU
Accent is sooooo gooodd
#Tqs a Lot 🙏
thanks❤
A legend
thank you so much for this
Where are you from?
Israel :)
Thank u
With pleasure
Can you solve 225 into binary plzz
My answer is 11100001
Your answer is correct :)
Bruh 💗💗💗
number of likes you got is 512 which is 2^9
Thats not a 511 that is a 512 you are saying wrong
May you please provide more details? Which minute?
@@MeirGabay at 1:34 you said 511
this is a nice tutorial!!! @Meir Gabay