Thursday, October 10, 2019
Binary numeral system
In many different characters encoding systems one byte is used to represent a single alphanumeric character such as a letter, number or a symbol like One of the most common system is ASCII ââ¬â American Standard Code for Information Interchange, another common character encoding system is ANSI ââ¬â American National Standards Institute, the two although aren't compatible with each there with ANSI being used in early Windows Applications and ASCII is used even in the resent with simple text editors such as Notepad. M sure you have probably come across UNICODE depending on how familiar you are with terminal, Unicode is an extended version of ASCII. Graphics are stored in two ways, either ââ¬Ëbitmaps' or ââ¬Ëvectors'. Bitmaps are made of colored squares called pixels; one pixel is equal to 1 byte. A Peculated image is a term used to describe images that are enlarged too much and pixels start to become visible.Vector images work a little different, as hey are made up of lin es drawn between plotted co-ordinates, these shapes can then be filled with blocks of a single color, vectors therefore can be enlarged without becoming peculated and their file size is often much reduced then bitmaps because there is less information to be stored. Human use numbers in groups of 10, which is called ââ¬Ëdenary' or base 10, computer store either 0 or ones so only two values, which is called binary or base 2. Numbers in binary look like this: 01011011=91 Depending if it is a O or a 1 the number is used so the top sample is. 28 64 32 16 8 4 10 (64+16+8+2+1=91) Another method computers use to encode numbers is in hexadecimal or base 1 6, this method is usually used to represent color values, very comment in programming or web development. It is uses number from O to 9 and letter from A to Foot represent 10 to 15. 123456789ABCDEF These are very often in image editing , the color white is represented as #PAYOFF, the ââ¬Å"#â⬠isn't part of the hexadecimal number i t is just used to identify that the number is an hexadecimal number. Encoding recap: Encoding is basically done by pairing numbers or letters with different harassers.ASCII simply converts the number ââ¬Å"2â⬠to its equivalent in ASCII let's say 16, and this is then converted to binary, but bare in mind that 16 in binary is 00010000 where as what it would do is convert ââ¬Å"1â⬠and ââ¬Å"6â⬠to binary. Same happens with letters and special characters. And this is pretty much how encoding works, it is used in order too make the computer understand your input and to help you then understand what the computer outputs since if you would see 010101101 all over the screen would be odd as humans aren't naturally good with numbers.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.