In Class today we learned about Base 2(Binary), Base 10, and Base 16(Hexadecimal) and how it works. Here is what Mr. Spence taught us. Base 10 are our everyday numbers such as 1, 2 , 3 and so on.
Base 2(Binary) is another number system where we only use 1's and 0's to represent a number. Each 0 and 1 is a single binary number also known as bits. Here are some questions which show us how Binary works. Base 2 to Base 10 1. (i) 10101 - So the first number to the right is supposed to be multiplied by 2^0 and each number u go to the left the exponent increases by one. After adding all the numbers together the answer you get is. = 21 (ii)100010 = 34 (iii)111101 = 61 Since binary is too small it is easier to write numbers with hexadecimal. This is why we mainly use hexadecimal in todays technology. Instead of using 8 numbers by doing base 2 for hexadecimal, you would only use 2. Base 10 to Hex 2. (i)29 = 1D - So we use 16^0 to 16^3 for these questions. We do these questions left to right. We cant use 16^3 or 16^2 since they are not smaller than 29 so we start with 16^1 which is 16. For the rest we add 13 of 16^0 which gives us 13. Since 13 is D our final answer is 1D. (ii) = 1023 = 3F
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2017
Categories |