How computers understand our commands?


        I started to learn Python to work on AI in the future. I am kinda new in programming so I am trying to understand the basics of it. Nowadays,  I am reading a book about AI ( I strongly suggest this book to new programmers). It really starts from the bottom. For example, the book want you to understand what is 0s and 1s. I decided to share this basic topic and I will use different reliable sources and mention them. Also, I am going to use my own words as much as I can but in critical points, I may use the exact words from the source.

       To begin with, computers use binary numbers to store and represent anything in it. Musics, documents, photos, softwares...  For example, when you press "A" from your keyboard, the computer translates it into a binary code which is 01000001 for "A" (you can check the other characters from here). We call this "Binary Number System".
       "The circuits in a computer's processor are made up of billions of transistors. A transistor is a tiny switch that is activated by the electronic signals it receives. The digits 1 and 0 used in binary reflect the on and off states of a transistor."*. So the processor can understand the thing that you want to do. Then, It converts back binary code to "A" to show it on your screen.

    So, that's all for now. If you notice any mistake, please let me know.

01000100 01100001 01110010 01101011 00100000 01001110 01100101 01100011 01100101 01110011 01110011 01101001 01110100 01101001 01100101 01110011
       

Resources

  • https://www.muhendisbeyinler.net/islemciler-ve-1-0-mantigi/
  • https://www.bbc.co.uk/bitesize/guides/zwsbwmn/revision/1
    


 

Comments