Bits and bytes | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Bits and bytes

I don't have enough information on the subject of bits and bytes. I tried to read an article on unicode but it was confusing to me. what articles or simple tutorials you would suggest to make it clear for me

26th Dec 2016, 11:01 PM
Mostafa Hamdy
2 Answers
+ 3
This should be pretty basic so here's a really beautiful explanation of binary, a computer science problem and a walk; 3Blue1Brown /Binary, Hanoi and Sierpinski (part 1): https://youtu.be/2SUvWfNJSsM The towers of Hanoi problem is a classical problem in computer science. Starting at 2 minutes in the video demonstrates binary and the rhythm of counting. The only detail it might omit relevant to your question is that a byte is 8 bits.
27th Dec 2016, 12:06 AM
Kirk Schafer
Kirk Schafer - avatar
+ 1
Bits, short for Binary Digits. A bit or binary digit is one of the two values 0 or 1. It is a value not greater than or equal to 2. And since there are only two of such values hence the name bi, meaning two of such digits. Binary digits or bits as they are called have numerous applications in computer science as well as electrical engineering, basically because they are used to store states. 1 for on/active while 0 for off/inactive. a byte just means 8 bits. That is 8 binary digts. That is 10010101, any 8 bits/binary digits together as one is called a byte. A bit is used mainly to represent information in computer science. Since we make computers using electricity we decided to use the property of electricity to define bits. 0 for low voltage and 1 for high voltage. Every video, music, file reduces down to a we of stores zero and one's in the memory of the computer, even the operating system. Unified/universal code came as a result because of our different languages, and different letter, such that a particular set of bits represent a particular character, so when you in your country want to represent the letter Greek sigma or alpha or beta. It cannot be done so universal code for translation into binary code was made to solve this, basically just a set of character and what they reduce down to in binary(in a more readable form, they put the decimal instead e. G Unicode table A 10000111 65 B 10001010 66 C 10001100 67 For a better grasp on this I would refer you to https://www.google.com.ng/url?sa=t&source=web&rct=j&url=http://www.fastchip.net/howcomputerswork/bookbpdf.pdf&ved=0ahUKEwiMgcnr_pLRAhWeMlAKHYOcCfAQFghQMAo&usg=AFQjCNEpAHx1Y2I8R44T533q5xaYqLwXyg&sig2=z-SYiwJidhSRixwr9Ap9Hw
26th Dec 2016, 11:21 PM
JENN
JENN - avatar