Computer Data Storage - Bits and Bytes

Поділитися
Вставка
  • Опубліковано 21 жов 2024

КОМЕНТАРІ • 44

  • @LailaInSp
    @LailaInSp 5 місяців тому +5

    BEST EXPLAINATION EVER!

  • @darshankokal4670
    @darshankokal4670 Рік тому +3

    That was amazing sir.
    I always wonder how this works but from this video it is very clear now 😊

  • @mcaj1900
    @mcaj1900 2 місяці тому +2

    Very informative. Well simplified

  • @liviu1266
    @liviu1266 Рік тому +5

    Thank you so much for this, extremely helpful.

  • @dominatorfn5011
    @dominatorfn5011 4 місяці тому +1

    Superb explanation!

  • @minootarighat276
    @minootarighat276 6 місяців тому +1

    Thank you

  • @Seasons-fn1lv
    @Seasons-fn1lv Рік тому +1

    understand this so good thanks sir

  • @jatinsharma3792
    @jatinsharma3792 2 роки тому +6

    I didn't understand the negative numbers logic properly!

    • @muzammilnasir1535
      @muzammilnasir1535 Рік тому +2

      me too lol its need alot of almonds for that 😜😜

    • @snor69
      @snor69 11 місяців тому

      I understood the 2nd compliment but the 1st one was never explained

    • @MohamedHany-oq7xr
      @MohamedHany-oq7xr 10 місяців тому +1

      The number and his complement must equal 0, if we applied the same rule for binary, we will end with number like, 111111 ,so we add 1(the second complement) to make it 0.
      Note: after adding 1, the left most 1 is discarded.

  • @brunao9689
    @brunao9689 Рік тому +2

    great content😁😁😁

  • @nicolelam6492
    @nicolelam6492 Рік тому +1

    very helpful for me!
    Thank you!

  • @ujawlathorat3894
    @ujawlathorat3894 Рік тому +2

    Very helpful❤

  • @basharathussain5720
    @basharathussain5720 3 роки тому +3

    thank you sir

  • @basharathussain5720
    @basharathussain5720 3 роки тому +3

    sir I want to ask a question that what is actually bit? does bit is transistor??? and 1 byte can store 255 values what does it mean??? is possible to store 255 characters???? plz simplyfy sir

    • @morsagmon9309
      @morsagmon9309  3 роки тому +2

      Yes, you're right.
      A bit is a simple representation of 0 or 1. it's a two-state device. Either 0, or 1. I am not sure how a transistor works, though. When you combine 8 bits, you get a Byte. Now you have 256 possible combinations. Here's one combination 00010010 and here's another one: 00000001. Each combination is determined to represent a character, for example "A" or "4". That's how bits are combined into Bytes that are combined together to represent all of the required characters in all languages.

    • @basharathussain5720
      @basharathussain5720 3 роки тому +2

      @@morsagmon9309 thank you so much sir....im also confused in term that an integer can store 65536 numbers how is it possible? although we know that integer can store 2 bytes which is equal to 16 bits means 16 zeros or ones. but what is 65536 numbers??

    • @morsagmon9309
      @morsagmon9309  3 роки тому +2

      @@basharathussain5720
      16 bits offers 65536 combinations:
      0000000000000001
      0000000000000011
      0000000000000010
      0000000000001011
      0000011010110001
      0011111111110001
      ...
      ...
      ...
      If you have 16 bits, you can combine 2^16 combinations (2 to the power of 16) = 65536.
      If you have 2 bits only, you can combine 4 combinations (2^2 = 4). Here they are:
      00
      11
      01
      10

    • @basharathussain5720
      @basharathussain5720 3 роки тому +1

      @@morsagmon9309 sir i have an assignment in unversity and im in tense and so confused.....because of not understandin guestions.

    • @basharathussain5720
      @basharathussain5720 3 роки тому +1

      Question #01 An Array has a mix of 0s and 1s representing False and True Boolean values. Write function AllTrue() that returns 1 when
      all the entries in the array are true, and 0 when at least one of the entry in the array is false. Do Not Use Selection
      Structures.
      Question #02 An Array has a mix of 0s and 1s representing False and True Boolean values. Write function AnyTrue() that returns 0
      when all the entries in the array are false, and 1 when at least one of the entry in the array is true. Do Not Use Selection
      Structures.
      Question #03
      Allow the user to input the xy co-ordinates for n number of points in a two-dimensional co-ordinate system. Write a
      function to evaluate if all those points exist on the same straight line. You can use 2 single dimension arrays of length n.
      Question #04*
      Write a program that uses a function decoder(). Write the decoder() is such a way that it accepts 3 Boolean inputs,
      selects one of the 2 output bits, and writes a 0 or 1 (as provided by the user) on the selected bit.
      Question #05*
      Write a program that uses a function decoder(). Write the decoder() is such a way that it accepts 4 Boolean inputs,
      selects one of the 2 output bits, and writes a 0 or 1 (as provided by the user) on the selected bit.
      Question #06*
      Write a program that uses a function decoder(). Write the decoder() is such a way that it accepts variable length (e.g. 3,
      4, 5) Boolean inputs, selects one of the 2 output bits, and writes a 0 or 1 (as provided by the user) on the selected bit.
      *An  × 2 decoder is an electronic device. Its name is derived from the fact that it has  number of input lines and 2
      output lines. Out of these 2 outlines only one is selected based on the Boolean inputs on  lines.

  • @mariamkokaia5411
    @mariamkokaia5411 Рік тому +1

    Thank you!!

  • @DynaMatebule
    @DynaMatebule Рік тому

    Sir help me to understand burinary operations
    AND
    NOT
    OR
    XOR

  • @felixchinyama5606
    @felixchinyama5606 Рік тому +1

    books recommendetion pkease

  • @itsmeais8346
    @itsmeais8346 10 місяців тому +1

    Thank youuuuuuuuuuuu 🫶🏻🫶🏻🫶🏻🫶🏻

  • @4m4l
    @4m4l 5 місяців тому +1

    Great

  • @saikrishnapechetti8382
    @saikrishnapechetti8382 3 роки тому

    Hello sir,
    very nice explanation im new to programming and came here to know about bits, but i got some doubt, isn't computer take care of all this stuff(signing and other stuff) on its own then why bother learning this concept?

    • @MorSag
      @MorSag 3 роки тому

      As a developer, the more you understand how things work under the cover - the greater your toolbox to write efficient solutions to various problems. For example, in the following Blog post, I explain how to take advantage of bits and bytes for a highly efficient and convenient technique: bit-wise enumerations: www.morsagmon.com/blog/Excel-VBA-Bit-Wise-Enumerations
      Similarly, if a scientist wants to develop a drug to handle immune issues, he needs to understand how the immune system works (not they really do, but that is another discussion...).

    • @morsagmon9309
      @morsagmon9309  Рік тому +6

      Hi. Most people should not care. A programmer should understand how things work, and sometimes may even need to implement a program that makes use of the bits & bytes of things. It's like a gardener that needs to understand about soil quality, pollination, etc. - not just stick a plant in the dirt and pour water...

  • @katyakubyshkin7638
    @katyakubyshkin7638 Рік тому +1

    thank you sir