Number Systems - Converting Decimal, Binary and Hexadecimal

Sdílet
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

Komentáře • 146

  • @jamesedwards2119
    @jamesedwards2119 Před rokem +2

    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.🙏

  • @baatar
    @baatar Před 7 lety +44

    4:27 converting binary to decimal

  • @baatar
    @baatar Před 7 lety +38

    12:41 convert hex to decimal

  • @Swayze_S.L
    @Swayze_S.L Před 8 lety +11

    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.

    • @oggiai
      @oggiai  Před 8 lety +2

      +Cyfer F. thanks for the feedback. Glad I could help.

  • @ameershaikh7992
    @ameershaikh7992 Před 7 lety +6

    Saved me! Watched this 30mins before my exam!

  • @real4487
    @real4487 Před 2 lety +2

    One of the best videos on this topic to this day

  • @oggamers1570
    @oggamers1570 Před 2 lety +1

    Video was great saved me before my ascl test

  • @baatar
    @baatar Před 7 lety +41

    10:46 convert hex to binary

    • @ridwan8122
      @ridwan8122 Před 7 lety +10

      Not all heroes wear capes!

  • @ezekielmuyenga6615
    @ezekielmuyenga6615 Před 8 lety

    No need of searching for other videos on this. very clear. thank you.

  • @vasilistsilioukas4270
    @vasilistsilioukas4270 Před 9 lety +3

    Thank you! One of the best tutorials on its kind!

  • @royemmanuel4362
    @royemmanuel4362 Před 6 lety

    Quick and straight to the point..simply great

  • @TonyStark-of7tq
    @TonyStark-of7tq Před 6 lety +4

    Thank you for making this video, this really helped me!!! Good way of explaining!!

  • @alexdelacruz2160
    @alexdelacruz2160 Před 8 lety +6

    Best tutorial ever... this helped me alot thank you!

  • @Noniepop
    @Noniepop Před 7 lety

    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 :)

  • @jayavanth18
    @jayavanth18 Před 5 lety +10

    Luv You Buddy Helped Me For My Exam Still In 2019

    • @Sarcasm_101
      @Sarcasm_101 Před 4 lety

      do u mean :LYBHMFMES
      ?
      that maybe is not correct useless they know what u MEAN men
      JK

  • @carlosnovais7059
    @carlosnovais7059 Před 6 lety +5

    Thanck's a lot for your Master class, i'm learning and apreciate so much ! Your brasilian student ! God Bless u !

  • @foadrightnow5725
    @foadrightnow5725 Před 8 lety +6

    Clear, concise, and easily understood presentation! ‘Thanks!

  • @naduze4569
    @naduze4569 Před 3 lety +1

    Thanks! U JUST MADE MY CLASS 7 COMPUTER SCIENCE EASY!!!

  • @palpol7753
    @palpol7753 Před 3 lety +1

    Super thank you sirr all the way from Philippines

  • @marianaurel
    @marianaurel Před 4 lety +1

    Nice one! Thank you! It's hard to follow but eventually things fall into place and make sense!

  • @oggiai
    @oggiai  Před 9 lety

    Want to code this in Python? See my new Python Hex to Decimal video, czcams.com/video/m_sLSmE85Lk/video.html

    • @veerukbr1184
      @veerukbr1184 Před 7 lety

      i want to code this in java

    • @oggiai
      @oggiai  Před 7 lety

      Sorry I have not coded it in Java yet, but if you do please feel free to share your code with others here.

  • @cristiankahn2315
    @cristiankahn2315 Před 3 lety +1

    explained this HELLA better than my professor. thanks so much!

  • @liegejameskaindi5693
    @liegejameskaindi5693 Před 5 lety +1

    From Kenya, computer science student,I like the video

  • @oggiai
    @oggiai  Před 9 lety +3

    See Python code for converting number systems here, czcams.com/video/_cvxvXNiens/video.html

  • @abraral-hassan1188
    @abraral-hassan1188 Před 8 lety

    Thank you so much I finally understood the numbering system you talk about it in very easy way to understand

  • @Dark2234
    @Dark2234 Před 8 lety +1

    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

    • @oggiai
      @oggiai  Před 8 lety

      +Dark2234 great! I hope you'll subscribe and watch some of my other videos. Thanks for the feedback.

  • @kensonmalupande2424
    @kensonmalupande2424 Před rokem

    Excellently explained

  • @Lissandalake17
    @Lissandalake17 Před 7 lety +1

    ; ) 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!!!!!

  • @kal-el6035
    @kal-el6035 Před 6 lety +1

    +Joe James
    I love you, very informative video. Thanks bro!

  • @indraclarke5817
    @indraclarke5817 Před 2 lety +1

    legend thank you so much

  • @jaswik2023
    @jaswik2023 Před 6 lety +1

    thank you dude you are the best really appreciate this

  • @dianali388
    @dianali388 Před 3 lety +1

    Thank you very much for the video!

  • @ShanaMoore
    @ShanaMoore Před 6 lety

    great explanation! Thank you!

  • @findmaiitime
    @findmaiitime Před 3 lety +1

    thank you Joe!

  • @Sykologist_Music
    @Sykologist_Music Před 8 lety

    Very Helpful. The best video I found on this topic. thank you.

    • @oggiai
      @oggiai  Před 8 lety

      +Original Sykologist thanks for the compliment.

  • @Aaziz96
    @Aaziz96 Před 6 lety +3

    this is just perfect!!

  • @lukkuiloi
    @lukkuiloi Před 8 lety +1

    Helpful and Thanks!!

  • @notsoinvolution
    @notsoinvolution Před 2 lety +1

    Thanks!Super clear and easy undstand.

  • @kev814445
    @kev814445 Před 8 lety

    Very clear, thank you!

  • @susmitharachel715
    @susmitharachel715 Před 9 lety

    thank you. it was of great help to me.

  • @spidermilano
    @spidermilano Před 8 lety

    What an easy way to explain this....... thanks a lot :D

  • @sadiqsonalkar
    @sadiqsonalkar Před 7 lety +3

    my teacher teaches me but it went bounced u can explain it clearly u r awesome🎉🎊

  • @MrM4you
    @MrM4you Před 9 lety +1

    best tutorial for number system............. Great......

  • @Abdullahkhan-rp7er
    @Abdullahkhan-rp7er Před 6 lety

    i like you sir extremly and i appreciate your skill... thanks too much....

  • @abgrafixtvonline.6462
    @abgrafixtvonline.6462 Před 7 lety

    thank u for your presentation.

  • @jaswik2023
    @jaswik2023 Před 6 lety

    thank you joe very much

  • @Abdullahkhan-rp7er
    @Abdullahkhan-rp7er Před 6 lety

    thanks so much sir you are great, now is my concept clear

  • @amor8973
    @amor8973 Před 8 lety

    Thank you for your awesome video. will help in electronic courses. ;)

  • @sivakrishna3529
    @sivakrishna3529 Před 5 lety

    Thanks Joe James

  • @ma.shairinecelino91
    @ma.shairinecelino91 Před 5 lety

    Thank you very much

  • @khakaliwebdev2216
    @khakaliwebdev2216 Před 7 lety

    Asanti. You just saved my career.

  • @davidodonoghue1092
    @davidodonoghue1092 Před 7 lety

    thanks Joe! :)

  • @Abdullahkhan-rp7er
    @Abdullahkhan-rp7er Před 6 lety

    Now u are my boss sir

  • @hasibulshanto
    @hasibulshanto Před 8 lety

    Tnx.. it helped me a lot :)

  • @veryfine69
    @veryfine69 Před 5 lety

    Excellent! You saved me lol!

  • @chemengineer6311
    @chemengineer6311 Před 7 lety +15

    useful lecture but the beginning and ending song though....

  • @venu5791
    @venu5791 Před 4 lety

    Excellent 👍 teaching in math way of compute . As per my general understanding s/w program is a mathematical computation .

  • @IftekarAlamMunna
    @IftekarAlamMunna Před 5 lety

    How did you form the binary number in (Convert 1010 0110) to decimal? Can you explain it again, please?

  • @eeekhutinati5938
    @eeekhutinati5938 Před 6 lety

    thx a lot brother :)

  • @dhrubadasgupta2338
    @dhrubadasgupta2338 Před 5 lety

    good one

  • @zihankhan6677
    @zihankhan6677 Před 8 lety +56

    you sir are ignoring octal just like the way my crush ignores me..(:

  • @srividya1366
    @srividya1366 Před 7 lety

    Thank u so much sir

  • @smoody_x594
    @smoody_x594 Před 5 lety

    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...

    • @oggiai
      @oggiai  Před 5 lety

      No, it doesn’t work in reverse. It has to get to finer grained numbers towards the end.

  • @petermanyangbichok
    @petermanyangbichok Před 6 lety

    wow thanks so much

  • @saintkudakwashe8455
    @saintkudakwashe8455 Před 8 lety

    great stuff

  • @AryanTJaff
    @AryanTJaff Před 7 lety +1

    thank you sir (from kirkuk, iraq)

  • @thabisomabena8941
    @thabisomabena8941 Před 6 lety

    thank you

  • @shady5063
    @shady5063 Před 4 lety

    but how do you deal with fractions?

  • @Mohamedali-mb1vx
    @Mohamedali-mb1vx Před 7 lety

    In coverting dec to hex you Make 697 divided 16 its ok
    what is the reminder 9 ??

    • @oggiai
      @oggiai  Před 7 lety

      697 = (16 x 43) + 9
      So yes, 9 is the remainder when we do this division. 697 / 16 = 43 remainder 9.

  • @jordanreid3537
    @jordanreid3537 Před 6 lety

    After I convert base 10 to hexadecimal how do I convert back to base 10?

    • @credix5277
      @credix5277 Před 5 lety

      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! :)

  • @happygirl95
    @happygirl95 Před 7 lety

    thanks

  • @baatar
    @baatar Před 7 lety +11

    6:32 converting decimal to binary

  • @Mahendrayadav-jh9rn
    @Mahendrayadav-jh9rn Před 5 lety +2

    good

  • @jthanranola8563
    @jthanranola8563 Před 3 lety +1

    Nang dahil sa online class natoto ako mag solve nito hahaha

  • @destined0645
    @destined0645 Před 4 lety

    can the hexa be written as A7 without the 0x?

    • @oggiai
      @oggiai  Před 4 lety

      Yes, as long as the people reading it understand the context

  • @chrisbweezy4213
    @chrisbweezy4213 Před 8 lety

    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

    • @oggiai
      @oggiai  Před 8 lety

      +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.

    • @chrisbweezy4213
      @chrisbweezy4213 Před 8 lety

      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.

    • @chrisbweezy4213
      @chrisbweezy4213 Před 8 lety

      How do I convert a number like 0x0010 in binary

    • @oggiai
      @oggiai  Před 8 lety

      +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.

    • @chrisbweezy4213
      @chrisbweezy4213 Před 8 lety

      Thank you very much sir you just saved my life

  • @privatefactory1173
    @privatefactory1173 Před 8 lety

    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.

  • @VikramYadav-fw5iq
    @VikramYadav-fw5iq Před 7 lety

    good video sir, I learn a lot but sir you didn't describe about Octal Numbers.......

  • @huuivv5789
    @huuivv5789 Před 7 lety

    how can we know the remainders ??

    • @johnprice233
      @johnprice233 Před 6 lety

      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.

  • @waseemakram-dj9fg
    @waseemakram-dj9fg Před 7 lety

    good😊

  • @ibrahimfares9530
    @ibrahimfares9530 Před 6 lety

    thanks for this good presentation, please can you sir send to me the slides ?

    • @oggiai
      @oggiai  Před 6 lety

      +Ibrahim Fares most of my slides at on my GitHub page at github.com/joeyajames under Useful Utensils

  • @angelicamatch211
    @angelicamatch211 Před 6 lety

    how do you get R 9 from 697/16??

    • @angelicamatch211
      @angelicamatch211 Před 6 lety

      how do you get R 11 from 43/16??...what am i not geting here??

  • @BurningMoreXP
    @BurningMoreXP Před 6 lety

    I NEED SOME OCTAL IN MY LIFE!!

  • @ibrahimmalik2649
    @ibrahimmalik2649 Před 6 lety

    I didn't get the counting part plzz explain tomorrow is my exam

  • @xbl4ck7
    @xbl4ck7 Před 5 lety

    why didn't you do Binary to Hexadecimal?

    • @oggiai
      @oggiai  Před 5 lety +1

      Not sure, but I have three different number system conversion videos

    • @xbl4ck7
      @xbl4ck7 Před 5 lety

      @@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

  • @talhamustafa5088
    @talhamustafa5088 Před 8 lety

    its help me

    • @triha98
      @triha98 Před 8 lety

      bad grammar

    • @moatsamnaeem8567
      @moatsamnaeem8567 Před 7 lety +1

      So what ? if he has a bad grammar. English is not his language. He speaks the same way you try to speak URDU

  • @AbhishekKumar-zv2ef
    @AbhishekKumar-zv2ef Před 4 lety

    6:53 75 to binary should be 1001011
    You can google it.
    Why an extra 0?

    • @oggiai
      @oggiai  Před 4 lety

      Leading zeros don’t change a number’s value. And binary numbers are often written in blocks of four digits for conversion to hex

  • @thunderking1826
    @thunderking1826 Před 3 lety

    Why we gotta learn this for computer science again

    • @oggiai
      @oggiai  Před 3 lety

      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.

  • @tomswan3401
    @tomswan3401 Před 5 lety

    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.

  • @Kamna_Jha
    @Kamna_Jha Před 5 lety

    Thank you sir. Please remove that dramatic opening tune sir..

  • @abdulazizsa2560
    @abdulazizsa2560 Před 8 lety

    Can I get your email please?

  • @tyreewells7712
    @tyreewells7712 Před 3 lety

    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

  • @Abdullahkhan-rp7er
    @Abdullahkhan-rp7er Před 6 lety

    sir where do u belong??

    • @oggiai
      @oggiai  Před 6 lety

      Abdullah khan I'm in Silicon Valley

    • @Abdullahkhan-rp7er
      @Abdullahkhan-rp7er Před 6 lety

      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

  • @cratedtisforcomentin
    @cratedtisforcomentin Před 7 lety

    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.

    • @oggiai
      @oggiai  Před 7 lety

      +Huang Royhuang LOL. Fair comment.

  • @lerogal3663
    @lerogal3663 Před 5 lety +3

    Any college students out there who was saved by this

  • @JazminZenteno1
    @JazminZenteno1 Před 6 lety

    you kind of sound like Tom Hanks

  • @knowmehuh
    @knowmehuh Před 7 lety

    u could have made it easily sir. Why are u using different methods just why? ohhhh

  • @ModeEmoON
    @ModeEmoON Před 4 lety

    12:57 explained af. for sure its 128 +32+4+2+1 = 167 dunno how the f* u picked up that 16 and 1

    • @divachileonerd6995
      @divachileonerd6995 Před 4 lety +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

    • @user-ef7od8vy2w
      @user-ef7od8vy2w Před 2 lety

      @@divachileonerd6995thank you so much 🙏🏻 I was looking for the answer

  • @SethuSenthil
    @SethuSenthil Před 5 lety

    Who here for APCS

  • @unsealedkhan9046
    @unsealedkhan9046 Před 8 lety

    Did not help