Wiki Page for the DATA class. Please Enhance. For those unfamiliar, here is a page on [[wiki:syntax|wiki editing syntax]] that can be used here. =====Problems Logging in to Wiki?===== Some people have reported problems logging into the wiki. There seems to be two sources of problems experienced: * User cannot log in. * User cannot log in using "Secure Login". If you are confident you are using the correct username and password, and are using a version of Internet Explorer, it is suggested that you use a different browser, such as Firefox, Safari, or Chrome. If the "Secure Login" doesn't seem to be working for you, the behavior seems to occur when user passwords contain symbols like quote marks and asterisks. In which case, you can either: * Uncheck "Use Secure Login". This sort of defeats the purpose of having security though, so it isn't outwardly recommended. * Change your password to something that doesn't contain quote marks or asterisks. We don't yet know **exactly** which characters cause this problem, but we suspect it is characters that aren't being properly escaped that could have special syntactical meaning. ===NUMBER SYSTEMS!=== For anyone who was confused by the lesson on "Number Systems", here are some extra examples to help you all to understand the seemingly complex, yet very basic, logic behind it:
Base Correlation Chart
Binary Base 2 Octal Base 8 Decimal Base 10 Hexacedimal Base 16
0 0 0 0
1 1 1 1
10 2 2 2
11 3 3 3
100 4 4 4
101 5 5 5
110 6 6 6
111 7 7 7
1000 10 8 8
1001 11 9 9
1010 12 10 A
1011 13 11 B
1100 14 12 C
1101 15 13 D
1110 16 14 E
1111 17 15 F
10000 20 16 10
10001 21 17 11
10010 22 18 12
10011 23 19 13
10100 24 20 14
10101 25 21 15
10110 26 22 16
10111 27 23 17
11000 30 24 18
11001 31 25 19
11010 32 26 1A
11011 33 27 1B
11100 34 28 1C
11101 35 29 1D
11110 36 30 1E
11111 37 31 1F
100000 40 32 20
100001 41 33 21
100010 42 34 22
100011 43 35 23
100100 44 36 24
100101 45 37 25
100110 46 38 26
Let's use the example of the Octal value 24. Why is Octal 24 equal to the number 20 in our typical "base 10" lives? Because equivalent values existing in the different bases are... well... different. There is no existant "8", or "9" digit in an Octal system, therefore we lose the ability to use those digits. "19" and "98", for example, can not exist without having access to the digits 8 and 9. This means that we need to "carry" or extend our work to the next column over when we reach this imaginary "ceiling", if you will, of the base.

Now lets try switching bases, but preserving the SAME value (we'll work in base 10 since that is what most people are most familiar with). This can be done by recognizing that a "carry" must happen once we have reached our maximum digit in any given base but still need to continue counting. With Base 10 we do this after we reach the digit 9. We increase the value of the left-most value by one to continue counting upward.

Here's an Example:

When dealing with the digit 9410 (Base 10), we can represent any values preceeding the 9 as 0's. The number 000094 is the same as just plain 94. If placed in front of something, 0 has NO value.

Understanding this, we should be able to recognize that once we reach 99, and need to continue, we will be able to roll one of the imaginary leading zeros up to our next digit and reset everything that follows.

Counting upward in Base 10:

000094
000095
000096
000097
000098
000099
000100 - We simply call this 100, and typically ignore the laws behind why it's a 1 followed by two 0's (The same
000101    goes for 10, or 1,000, 10,000, and so on...)
000102

We're going to increase the value of our column to the left by 1 factor each time we reach our maximum in the column to it's right. If we apply this concept while counting in any base then we should be able to list the numbers of any number system consecutively. Becoming familiar is simply a matter of practice. From Tom: I also found a nice conversion chart at http://www.interfacebus.com/Glossary-of-Terms-gray-code-circuit.html. For all the byte enthusiasts, here's a pretty cool explanation chart for byte sizes in binary and decimal: http://www.zdnet.com/blog/storage/snow-leopard-fixes-disk-capacity-bug/589. And finally, a nice conversion chart from ASCII to binary (scroll down page a “bit” :) — http://www.cs.ndsu.nodak.edu/~adenton/ExpandingHorizons/EH2005/Expanding%20Horizons%2005.html.