Today in class we learnt the binary code. This was interesting because although it may look confusing it can be easy to learn once you get the hang of it.
When a computer stores data and instructions, they are processed using Binary code. This is a code that is made up of 0's and 1's. They are recorded as pulses of electric circuits.
1= Electric Pulse
0= No electric Pulse
A binary string of eight digits, for example, can represent any of 256 possible values, and can correspond to a variety of different symbols, letters or instructions. If the circuit is carrying an electric pulse to give a signal its a 1 if not then its a 0. This is the American Standard Code for Information Interchange.
The headings are;
256 128 64 32 16 8 4 2 1
If i were to work out the code for the capital letter F which = 70 i would do it like this;
256 128 64 32 16 8 4 2 1
0 0 1 0 0 0 1 1 0
This is because 64 + 4 + 2 = 70 therefore the code is 001000110
A table for the ASCII table can be found at http://www.asciitable.com/
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment