Number Systems - Converting Decimal, Binary and Hexadecimal
Vložit
- čas přidán 12. 06. 2024
- An introduction to number systems, and how to convert between decimal, binary and hexadecimal numbers.
Ahora con subtítulos en español, escoge CC. Favor de dejarme feedback y correcciones en los comentarios abajo.
► Twitter: / joejamesusa
► Subscribe: / @oggiai
► Thank me on Patreon: / joeyajames
Thanks almost every other video that comes up starts talking about 8,4,2,1 when converting hex to binary but didn't explain why. I'm the type of person that needs to know the why to remember now it makes.🙏
4:27 converting binary to decimal
12:41 convert hex to decimal
Dude i swear to God you just saved my life... my Maths teacher tried to teach us this in 20 seconds and ive been lost ever since. Been tryna figure out this table for days. I had already given up hope and accepted i would fail Maths this semester. Youre the first person to explain it in a way that makes sense. Thank you so much. Im actually completeing this table on my own right now thanks to you. God bless you man.
+Cyfer F. thanks for the feedback. Glad I could help.
Saved me! Watched this 30mins before my exam!
One of the best videos on this topic to this day
Video was great saved me before my ascl test
10:46 convert hex to binary
Not all heroes wear capes!
No need of searching for other videos on this. very clear. thank you.
Thank you! One of the best tutorials on its kind!
Quick and straight to the point..simply great
Thank you for making this video, this really helped me!!! Good way of explaining!!
Best tutorial ever... this helped me alot thank you!
That was awesome, was a bit worried that I was not understanding that topic at all, great presentation & easy to follow, especially the table. Thank you :)
Luv You Buddy Helped Me For My Exam Still In 2019
do u mean :LYBHMFMES
?
that maybe is not correct useless they know what u MEAN men
JK
Thanck's a lot for your Master class, i'm learning and apreciate so much ! Your brasilian student ! God Bless u !
Clear, concise, and easily understood presentation! ‘Thanks!
Thanks! U JUST MADE MY CLASS 7 COMPUTER SCIENCE EASY!!!
Super thank you sirr all the way from Philippines
Nice one! Thank you! It's hard to follow but eventually things fall into place and make sense!
Want to code this in Python? See my new Python Hex to Decimal video, czcams.com/video/m_sLSmE85Lk/video.html
i want to code this in java
Sorry I have not coded it in Java yet, but if you do please feel free to share your code with others here.
explained this HELLA better than my professor. thanks so much!
From Kenya, computer science student,I like the video
See Python code for converting number systems here, czcams.com/video/_cvxvXNiens/video.html
Thank you so much I finally understood the numbering system you talk about it in very easy way to understand
thank you so much! started my computer science bsc, didnt understand it in the lecture but watching this video has explained it perfectly! great work
+Dark2234 great! I hope you'll subscribe and watch some of my other videos. Thanks for the feedback.
Excellently explained
; ) yeayme! I get it now, thank u, thank u, thank u, thank u, almost gave up but thanks to your video I get it. Very grateful to you Joe James!!!!!
+Joe James
I love you, very informative video. Thanks bro!
legend thank you so much
thank you dude you are the best really appreciate this
Thank you very much for the video!
great explanation! Thank you!
thank you Joe!
Very Helpful. The best video I found on this topic. thank you.
+Original Sykologist thanks for the compliment.
this is just perfect!!
Helpful and Thanks!!
Thanks!Super clear and easy undstand.
Very clear, thank you!
thank you. it was of great help to me.
What an easy way to explain this....... thanks a lot :D
my teacher teaches me but it went bounced u can explain it clearly u r awesome🎉🎊
best tutorial for number system............. Great......
i like you sir extremly and i appreciate your skill... thanks too much....
thank u for your presentation.
thank you joe very much
thanks so much sir you are great, now is my concept clear
Thank you for your awesome video. will help in electronic courses. ;)
Thanks Joe James
Thank you very much
Asanti. You just saved my career.
thanks Joe! :)
Now u are my boss sir
Tnx.. it helped me a lot :)
Excellent! You saved me lol!
useful lecture but the beginning and ending song though....
Excellent 👍 teaching in math way of compute . As per my general understanding s/w program is a mathematical computation .
How did you form the binary number in (Convert 1010 0110) to decimal? Can you explain it again, please?
thx a lot brother :)
good one
you sir are ignoring octal just like the way my crush ignores me..(:
+Zihan Khan yes, octal is the red headed step child of number systems.
okk sir..:)
Ouch!! *the way my crush ignores me*
^u r hot..
Zihan Khan
lol thnx!
Thank u so much sir
I have a question.
to convert Decimal to Binary in 8:20
75 (decimal) = 01001011 (Binary)
you start it decrement from 128 to 1
if I start decrement from 1 to 128
like 75 - 1 = 74, 74 - 2 = 72 ...
is that give me the same result ?
thank you very much...
No, it doesn’t work in reverse. It has to get to finer grained numbers towards the end.
wow thanks so much
great stuff
thank you sir (from kirkuk, iraq)
thank you
but how do you deal with fractions?
In coverting dec to hex you Make 697 divided 16 its ok
what is the reminder 9 ??
697 = (16 x 43) + 9
So yes, 9 is the remainder when we do this division. 697 / 16 = 43 remainder 9.
After I convert base 10 to hexadecimal how do I convert back to base 10?
Example number: 2D7
Converting 7: 7 in reverse is the first digit (counting backwards), this means that we first convert 7 to decimal. 7 in decimal is 7. Then we multiply it by 16 to the power of 7's position - 1. 7's position is 1, 1-1 = 0, so we multiply 7 with 16^0 which is 7*1 = 7.
Converting D: D in reverse is the second digit (counting backwards), this means that we first convert D to decimal. D in decimal is 13. Then we multiply it by 16 to the power of D's position - 1. D's position is 2, 2-1 = 1, so we multiply D (13) with 16^1 which is 13*16 = 208.
Converting 2: 2 in reverse is the third digit (counting backwards), this means that we first convert 2 to decimal. 2 in decimal is 2. Then we multiply it by 16 to the power of 2's position - 1. 2's position is 3, 3-1 = 2, so we multiply 2 with 16^2 which is 2*256 = 512.
Adding them together: Last step is to add all of these numbers together. 7+208+512 = 727. Thus 2D7 = 727
Other example:
A8C
A = 10 -> 10*16^2 -> 10*256 = 2560
8 = 8 -> 8*16^1 -> 8*16 = 128
C = 12 -> 12*16^0 -> 12*1 = 12
A8C = 2560 + 128 + 12 = 2700
Hope this helped! :)
thanks
6:32 converting decimal to binary
good
Nang dahil sa online class natoto ako mag solve nito hahaha
can the hexa be written as A7 without the 0x?
Yes, as long as the people reading it understand the context
Sir thank you you opened my eyes, but I have a question what about numbers that are written like this, for example: 0x0000, 0x4000 0x0010, 0x0070, 0x0050 just to name a few. how to read them, what are their values in decimal and binary. Thank you
+Chris Bweezy the 0x prefix means it's a hexadecimal number. You can convert them to decimal or binary using the concepts from this video.
Yes sir, but what about the leading zeros,what do they mean? They look like hexadecimal combined with binary to me, can you please give me just an example if it's not too much to ask. I'm a little confused. A number like 0x0010.
How do I convert a number like 0x0010 in binary
+Chris Bweezy you can ignore the 0x prefix since that just means that it's a hex number. To convert 0010 to binary we know we will have four groups of four digits. 0 hex = 0000; 0 hex = 0000; 1 hex = 0001; 0 hex = 0000. So 0010 hex = 0000 0000 0001 0000 binary. You just convert 1 hex digit at a time.
Thank you very much sir you just saved my life
There is a slight mistake in your explanation. When you've converted 75 to binary you wrote it starting with 0 saying that 128 was not used. Well this is not entirely correct, as in binary system any number always starts with let's say with the highest coefficient that is being used, in other words any number in binary always starts with 1. I know why you've started with 0 ( so 75 is represented by 0's and 1's in groups of 4), which is to do with later hex-bin translation ( 4 bit binary equivalent), but still to be absolutely precise in binary any number always starts with 1.
good video sir, I learn a lot but sir you didn't describe about Octal Numbers.......
how can we know the remainders ??
you divide without a calculator using a number that represents the base it's in (in this case hexadecimal=16). Now let's take 200.
200/16=12
-16
40
-32
8 -Now at this point you are supposed to take another zero that isn't in a number and put a point next to 12 to represent the decimal point. Instead, take that number (in this case, 8) and that will be your remainder.
Basically it's like having two kids and three apples. So when you divide your apples to kids each one will get one apple (this is obviously if you don't take the third apple and divide by half) and there will be one apple that is a remainder.
good😊
thanks for this good presentation, please can you sir send to me the slides ?
+Ibrahim Fares most of my slides at on my GitHub page at github.com/joeyajames under Useful Utensils
how do you get R 9 from 697/16??
how do you get R 11 from 43/16??...what am i not geting here??
I NEED SOME OCTAL IN MY LIFE!!
I didn't get the counting part plzz explain tomorrow is my exam
why didn't you do Binary to Hexadecimal?
Not sure, but I have three different number system conversion videos
@@oggiai thank you for quick response. One last question, can you convert binary to hexa with only 7 binary numbers instead of 8? its a question on my quiz right now
its help me
bad grammar
So what ? if he has a bad grammar. English is not his language. He speaks the same way you try to speak URDU
6:53 75 to binary should be 1001011
You can google it.
Why an extra 0?
Leading zeros don’t change a number’s value. And binary numbers are often written in blocks of four digits for conversion to hex
Why we gotta learn this for computer science again
If you’re afraid of learning hard new technical concepts computer science might not be for you. But on the other hand, you can certainly become a decent front-end web developer without understanding binary and hex.
that beginning and ending music, sounds like a documentary about some war. something dramatic like the invasion in iraq or so, its much louder than the rest of the sound . good content between those sound parts.
Thank you sir. Please remove that dramatic opening tune sir..
Can I get your email please?
ion know why gotta learn this for computer science likeim not good at math at all I'm like the weakest person when it comes to math
sir where do u belong??
Abdullah khan I'm in Silicon Valley
thanks so much sir, actually sir i was very angry to my teacher because she did`t clear our concepts and now i m clear to see your video and after now i will always see your video.Dear sir i m from Pakistan. How can i help you sir?sir if you have any issue in Pakistan you can tell me any time. thanks
anyone whoes watching this, do yourself a favor and change the speed to 1.25 or even 1.5. I know hes trying to be slow and all so you don't get lost, but its wayy too slow, you'll fall asleep.
+Huang Royhuang LOL. Fair comment.
Any college students out there who was saved by this
you kind of sound like Tom Hanks
u could have made it easily sir. Why are u using different methods just why? ohhhh
12:57 explained af. for sure its 128 +32+4+2+1 = 167 dunno how the f* u picked up that 16 and 1
I know im late to this video but just in case someone has the same problems: when he says that A is in the 16's positions he doesnt mean on the table he made but rather on the number itself. Ex: 12 in decimal has a 1 in the "tens"( because it is 10^1) and a 2 in the "ones"(10^0). in hex it is not called "tens" but they're called "sixteens" ( because its 16^1) and seven is in the position 16^0=1
@@divachileonerd6995thank you so much 🙏🏻 I was looking for the answer
Who here for APCS
Did not help