29. Computer Arithmetic - Addition / Subtraction of signed numbers, Overflow / Underflow

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 มิ.ย. 2016
  • Computer Arithmetic, -Addition and Subtraction of signed integer numbers, Overflow and Underflow conditions

ความคิดเห็น • 97

  • @raziasultana7450
    @raziasultana7450 5 ปีที่แล้ว +16

    For beginners like me who don't know about fundamental of computer can easily learn by your explanation.. Thank you

  • @pulanemolotsi6998
    @pulanemolotsi6998 3 ปีที่แล้ว +2

    perfect explanation!! thank you so much

  • @anjaliagarwal2127
    @anjaliagarwal2127 2 ปีที่แล้ว +1

    Thanks a lot sir for this awesome explanation :)

  • @pc8505
    @pc8505 5 ปีที่แล้ว +19

    11:45 to 12:08 - My name is Bob. Bob is my name. Name of me is Bob. Bob is what my name is. Out of all names I was named Bob. Bob is what I call myself. Myself = Bob. I am Bob. Bob is me....
    Haha on a serious note - great video! Thank you for it.

    • @dhawanj5592
      @dhawanj5592 ปีที่แล้ว

      dude thought also same

  • @umairalvi7382
    @umairalvi7382 3 ปีที่แล้ว +2

    Very very very nice explanations,loved it sirrr gggg

  • @AnantSrivastava-so5qf
    @AnantSrivastava-so5qf ปีที่แล้ว

    Great efforts thanks sir .... your passion for teaching ❤ shows in your vedios

  • @BecomeLegends
    @BecomeLegends 2 ปีที่แล้ว

    Thanks boss just what I needed 🤝

  • @amitadhiman5311
    @amitadhiman5311 6 ปีที่แล้ว

    Very nice keep adding lectures

  • @shreyaverma5303
    @shreyaverma5303 4 ปีที่แล้ว

    Thankyou sir for explaining entire number system .

  • @ahmednafiunoman5040
    @ahmednafiunoman5040 6 ปีที่แล้ว +2

    Thank you sir.....i really like your teaching style....easy to understand
    love from Bangladesh

  • @nkosinathimzize7771
    @nkosinathimzize7771 5 ปีที่แล้ว +1

    thanks for your lesson

  • @saurabhkumar-ch2xs
    @saurabhkumar-ch2xs 5 ปีที่แล้ว +3

    amazing sir thank you so much

  • @mert1354
    @mert1354 3 หลายเดือนก่อน

    Thank you dr.

  • @AshokKumar-wu3ml
    @AshokKumar-wu3ml ปีที่แล้ว

    Fantastic Sir....

  • @sharia4188
    @sharia4188 4 ปีที่แล้ว +1

    Thank u so much Sir... Loads of love :)

  • @ankurjoshi4708
    @ankurjoshi4708 7 ปีที่แล้ว +15

    sir 2's compliment of the 7 is become 9 and you ask that 2's compliment of 7 is 7 how can get there ??
    because
    0111 first convert it into 1's comp = 1000 Right for the 2's compliment rule
    1's compliment + 1 = 2's compliment
    1000 + 1 = 1001 is decimal 9
    is it correct logic or not ????

    • @vishnubr4704
      @vishnubr4704 5 ปีที่แล้ว +2

      Dude, 0111 is a positive number as it has 0 as most significant bit, so there is no need to complement the digits to get the 2's compliment value

    • @niketansahu3499
      @niketansahu3499 5 ปีที่แล้ว

      I agree with you yr

    • @akashghosh4766
      @akashghosh4766 5 ปีที่แล้ว

      u r correct

    • @avinashchaudhary9030
      @avinashchaudhary9030 4 ปีที่แล้ว

      2's complement is done if the no is negative (-ve no is when the msb is 1) , but in case of 0111 the msb is 0 so there is no need to do 2's complement of 0111.Therefore it will remain 7.

    • @kkoli
      @kkoli 4 ปีที่แล้ว

      2s comp ka first digit sign hota hai aur o -ve hota hai na ki +ve

  • @ravindrareddypamuri2075
    @ravindrareddypamuri2075 6 ปีที่แล้ว +1

    Nice sir, the point at 28.19sec was asked IES exam..thank you sir.

  • @VIKASYADAV-fz3ej
    @VIKASYADAV-fz3ej 6 ปีที่แล้ว

    Thank you sir very much

  • @midpro3470
    @midpro3470 6 ปีที่แล้ว +5

    there is no such concept as underflow in 2's complement addition , example 1st and 5th both are examples of overflow because result can not be represented using 4 bits

  • @shravanthipabba8122
    @shravanthipabba8122 3 ปีที่แล้ว +1

    Thank you

  • @swagatjena7356
    @swagatjena7356 5 ปีที่แล้ว

    thanq u sir...now my concept was clear

  • @subhasmitasahoo8373
    @subhasmitasahoo8373 ปีที่แล้ว +1

    Sorry Sir 🙃bt Sir is looking like Rasgolla 🙂
    Bt you're teaching very well Sir God bless you 😊

  • @princejoy2219
    @princejoy2219 6 ปีที่แล้ว

    good job sir

  • @vennuvamshikar6766
    @vennuvamshikar6766 5 ปีที่แล้ว +5

    Then how to get correct result if overflow and underflow occurs?

    • @kkoli
      @kkoli 4 ปีที่แล้ว

      change the range from 4 bits to 8 or more

  • @george4746
    @george4746 3 ปีที่แล้ว +1

    Thanks

  • @aadidev123
    @aadidev123 2 ปีที่แล้ว

    AWSOME CLASS

  • @saisuryaseepana8923
    @saisuryaseepana8923 3 ปีที่แล้ว +1

    Very clearly understood,
    Must watchable video sir

  • @qassinabe6804
    @qassinabe6804 7 ปีที่แล้ว +1

    Nice ,very useful,thank you i am very happy !!!!!!!!!!!!

  • @Nia11111
    @Nia11111 10 หลายเดือนก่อน

  • @AbhishekThakur-zx6vg
    @AbhishekThakur-zx6vg 3 ปีที่แล้ว

    Any one please explain
    Here when we are adding
    So we used how addition
    1+0=0
    Like this
    Are we following any logic gate or how it is going to be done
    I am always confused in this
    Please help

  • @onezeroforsanecomputing4878
    @onezeroforsanecomputing4878 6 ปีที่แล้ว +3

    Very interesting video...I learnt a lot from your explanation... please keep on teaching us... thank you too much professor

  • @thanish7930
    @thanish7930 4 ปีที่แล้ว +1

    1st and 5th example is overflow

  • @Alamin707
    @Alamin707 5 ปีที่แล้ว

    Thank You so much Sir, love from Bangladesh

  • @mayankpratapsingh4241
    @mayankpratapsingh4241 6 ปีที่แล้ว

    too good

  • @user-jm1uv2dz7b
    @user-jm1uv2dz7b 2 ปีที่แล้ว

    thank you sir

  • @MohamedAhmed-ni3im
    @MohamedAhmed-ni3im 6 ปีที่แล้ว +6

    amazing. this is a million times simpler than my book.

  • @muthinenianjibabu1934
    @muthinenianjibabu1934 4 ปีที่แล้ว

    Nice explanation 👌 sir

  • @gustavcc.m.7311
    @gustavcc.m.7311 6 ปีที่แล้ว +1

    addition and substraction of unsigned or signed numbers in this video ??

  • @gaganhk8176
    @gaganhk8176 6 ปีที่แล้ว

    You teach very well keep up the good work

  • @kkoli
    @kkoli 3 ปีที่แล้ว +1

    You are so addictive sir am enjoying a lot

  • @ammarkhanbaloch
    @ammarkhanbaloch 4 ปีที่แล้ว

    Thanks Alot Sir

  • @fayasmhmd9663
    @fayasmhmd9663 6 ปีที่แล้ว

    Nice one sir
    We need some smile too from you 😀😀

  • @chetanarya4883
    @chetanarya4883 3 ปีที่แล้ว +1

    Best explanation 👌🙏

  • @bokongkeju
    @bokongkeju 4 ปีที่แล้ว

    THANKYOU SIR ! VERY COOL

  • @rogueninja5674
    @rogueninja5674 5 ปีที่แล้ว +1

    Thank you buddy, i *really* Liked it ;)

  • @karimkhan1312
    @karimkhan1312 7 ปีที่แล้ว

    sir - you are excelent

  • @milkytv9332
    @milkytv9332 7 ปีที่แล้ว +1

    thank you sir
    I am a diploma student , but your language is so simple to understood.
    Thank you sir.

  • @ShradhanandVerma
    @ShradhanandVerma 5 ปีที่แล้ว

    very nice explanation.....

  • @sanjaynshreenivas1107
    @sanjaynshreenivas1107 5 ปีที่แล้ว +7

    Watch video in 1.25x speed

  • @vinitacharya183
    @vinitacharya183 8 ปีที่แล้ว +6

    Nice videos saarjii......pass kradiya kal ke papaer mai...ab mama nhi peetegi

    • @rogueninja5674
      @rogueninja5674 5 ปีที่แล้ว

      umm... speak english, no one here speaks asian

  • @rajendrarajendra9509
    @rajendrarajendra9509 3 ปีที่แล้ว +1

    Tq sir

  • @user-gd6yu6in5c
    @user-gd6yu6in5c 9 หลายเดือนก่อน

    Can i get notes

  • @Gurdeep426
    @Gurdeep426 7 ปีที่แล้ว +2

    Nice bro

  • @rohithchintapalli6688
    @rohithchintapalli6688 7 ปีที่แล้ว +1

    Very useful.. Thank You...

  • @AhamedKabeer-wn1jb
    @AhamedKabeer-wn1jb 4 ปีที่แล้ว

    Good explanation...

  • @goldenotis9703
    @goldenotis9703 6 ปีที่แล้ว

    can someone please for the love of god explain to me how 1000 in two's compliment is -8 and not -0. i understand the keep the first 1 and invert the rest rule but i also have the understanding that in two's compliment the first bit is a signed bit. or is it that in the case where the most significant bit is the only bit that's a 1 you treat it as both the signed bit and part of the number?

    • @AliAhmad-ki2po
      @AliAhmad-ki2po 5 ปีที่แล้ว +3

      In 2's complement format, MSB has negative weight, so in this example, -1*2^3=-8. Simple as that.

    • @DilipkumarGangwar
      @DilipkumarGangwar 3 ปีที่แล้ว +1

      In 2s complement, in order to get a decimal number from binary, you check MSB bit as it is 1 so final answer is -ve, then invert all the bits i.e 1000 becomes 0111 then add 1 => 0111 + 1= 1000 . Now read this numbers as unsigned number to get magnitude => 1000 now is 8 . So final answer is -8

    • @deedewald1707
      @deedewald1707 2 ปีที่แล้ว

      @@DilipkumarGangwar result
      1111. -8+4+2+1 = -1 correct !

  • @shwetahirani2252
    @shwetahirani2252 5 ปีที่แล้ว

    Superb👍👍👍👍

  • @karanswamygowda
    @karanswamygowda 6 ปีที่แล้ว

    Its not -3its -5

  • @BabluKumar-cz6bx
    @BabluKumar-cz6bx 6 ปีที่แล้ว

    nice sir ji kal ka exam pass kara diye

  • @dhakshinamurthy51
    @dhakshinamurthy51 4 ปีที่แล้ว +1

    Don't repeat

  • @kkoli
    @kkoli 4 ปีที่แล้ว

    maja aa gaya sirG

  • @xbd8501
    @xbd8501 3 ปีที่แล้ว +1

    2s compliment representation of 1101 is -5 ur saying its -3 how come?

    • @QuickBeat
      @QuickBeat 3 ปีที่แล้ว +2

      no its -3

    • @deedewald1707
      @deedewald1707 2 ปีที่แล้ว

      Resulting 4 bit signed binary
      1101. -8+4+1 = -3 !

  • @davidmichael9289
    @davidmichael9289 6 ปีที่แล้ว

    makini/good idea

  • @muskantiwari6112
    @muskantiwari6112 4 ปีที่แล้ว +1

    :)

  • @anirbankar626
    @anirbankar626 7 ปีที่แล้ว +29

    10 minutes have passed and u are still going on about the overflow and underflow !! Ur langg. is simple to understand and but still please try to make ur videos a bit more faster !!

    • @mrunalinidudhagawali1945
      @mrunalinidudhagawali1945 7 ปีที่แล้ว +5

      he made us more focused on the topic by repeating it. bcz the concept was actually very imp.

    • @saurabhkumar-ch2xs
      @saurabhkumar-ch2xs 5 ปีที่แล้ว +1

      @@mrunalinidudhagawali1945 exactly sir's teaching style is best

    • @Jonny-op3wr
      @Jonny-op3wr 5 ปีที่แล้ว

      At least i know i would learn it in his class

    • @AS1164xyz-pu7dy
      @AS1164xyz-pu7dy 4 ปีที่แล้ว +1

      1.5x pe dekh leta

    • @kkoli
      @kkoli 4 ปีที่แล้ว

      nahi bhaai aap galat bol rahe ho aisa kuch nahi ha

  • @gandikotasasisekhar9279
    @gandikotasasisekhar9279 3 ปีที่แล้ว +1

    Don't repeat the same step for many times sir , it is so annoying

  • @AshishSingh-sl7mx
    @AshishSingh-sl7mx 6 ปีที่แล้ว

    Thanks

  • @bnur5111
    @bnur5111 7 ปีที่แล้ว

    thank you sir

  • @Gurdeep426
    @Gurdeep426 7 ปีที่แล้ว +1

    Nice bro

  • @asadmuhammad5859
    @asadmuhammad5859 ปีที่แล้ว

    Thanks