background preloader

Other number systems

Facebook Twitter

Introduction to Binary Numbers. How Computers Store Numbers Computer systems are constructed of digital electronics. That means that their electronic circuits can exist in only one of two states: on or off. Most computer electronics use voltage levels to indicate their present state. For example, a transistor with five volts would be considered "on", while a transistor with no voltage would be considered "off. " These patterns of "on" and "off" stored inside the computer are used to encode numbers using the binary number system.

The binary number system is a method of storing ordinary numbers such as 42 or 365 as patterns of 1's and 0's. How Binary Works The decimal number system that people use every day contains ten digits, 0 through 9. Another way to make this clear is to write decimal numbers in expanded notation. 365, for example, is equal to 3×100 + 6×10 + 5×1. 1032 is equal to 1×1000 + 0×100 + 3×10 + 2×1. Binary uses two digits, so each column is worth twice the one before.

How Hexadecimal Works was developed. Not so Horrible Hexadecimal! Game. Hexadecimal Drum Machine. Create your own rhythms! And learn about binary, decimal and hexadecimal numbers, too. Instructions: Click on the lights next to each type of drum, or change the Rhythm Number. (Hint: if you like a rhythm, save the rhythm number - you can come back and re-enter it later.)

Also read the explanation below. Explanation There are 4 instruments (HiHat, Snare, Tom and Base). At any point in time any combination of them can be played. If you write down "1" for Play and "0" for Don't Play, then you could have a combination like HiHat and Tom being "1010", or HiHat and Base being "1001". So, at any point in time these are the possible combinations (1=Play, 0=Don't Play): In the column next to the Binary Numbers are the matching Decimal Numbers and then the Hexadecimal Numbers. Hexadecimal Numbers The Hexadecimal numbers are interesting. So a single Hexadecimal digit can show 16 different values instead of the normal 10. How does this help? Computers. Number Systems: An Introduction to Binary, Hexadecimal, and More. Ever see crazy binary numbers and wonder what they meant? Ever see numbers with letters mixed in and wonder what is going on?

You'll find out all of this and more in this article. Hexadecimal doesn't have to be scary. (Thanks to the ReBoot Wiki for the thumbnail image.) Introduction: What is a Number System? You probably already know what a number system is - ever hear of binary numbers or hexadecimal numbers? In this article, I'll explain what these different systems are, how to work with them, and why knowing about them will help you.

Activity Before we get started, let's try a little activity for fun. You may be wondering how colors relate to number systems. Your job is to guess how much red, green, and blue is in the background color of the activity below. Feel free to use the various hints provided to help you out. Looking at Base-10 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11... Let's take a quick look at counting. Although that's all very basic, you shouldn't overlook what is going on. Tag binary - Test Your Knowledge. BINARY AND HEXADECIMAL. Let's learn to count... But before you go on you can look at this BINARY, HEX, DECIMAL CONVERTER TOOL! Decimal number system: Before we start with the new stuff we will take a look at the number system which we all know the decimal number system.

Starting with something we already know will make it easier to introduce the concepts we will use in the other numbering systems. We have ten digits, 0 to 9. This is what we call a base 10 number system (radix of 10). It is really arbitrary that we wound up using a base 10 number system, but it probably has something to do with the fact that we have 10 fingers. Start counting: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, and you will find that there are no more digits left. Binary number system: Now let us take a look at the binary base 2 number system (radix of 2). Convert from Binary to Decimal: Converting a binary number into decimal is easy once you get the hang of it.

Step1: Write down the binary number you want to convert, in this case 1111 1111. Binary, Decimal and Hexadecimal Numbers. Decimals To understand Binary and Hexadecimal numbers, it is best to know how Decimal Numbers work. Every digit in a decimal number has a "position", and the decimal point helps us to know which position is which. The position just to the left of the point is the "Units" position. Every position further to the left is 10 times bigger, and every position further to the right is 10 times smaller: Now, this is just a way of writing down a value.

The Decimal Number System is also called "Base 10". And there are 10 symbols (0,1,2,3,4,5,6,7,8 and 9), but notice something interesting: there is no symbol for "ten". "10" is actually two symbols put together, a "1" and a "0": In decimal you count "0,1,2,3,4,5,6,7,8,9,... " but then you run out of symbols! So you add 1 on the left and then start again at 0: 10,11,12, ... Counting with Different Number Systems But you don't have to use 10 as a "Base".

Example: In binary you count "0,1,... " but then you run out of symbols! So the general rule is: Like this: Hexadecimal Color Tutorial:1. Part 1: What is Hexadecimal? From Greek, hexadecimal is a word meaning "sixteen. " Hexa=6 (hexagonal, hexagram, etc.) Decimal=10 Hexadecimal=16 In the hexadecimal system, 6 letters are added to the standard 0-9 Arabic Numerals, to give you a numbering system with base 16, instead of base ten. Decimal: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Hexadecimal: 0 1 2 3 4 5 6 7 8 9 A B C D E F 10 Counting in Hexadecimal: Count from 0 to 9, then count A, B, C, D, E, F. Then you reach 10 (hexadecimal 10, which corresponds to decimal 16). Count again: 11, 12, 13, 14, 15, 16, 17, 18 , 19, then use 1 and a letter: 1A, 1B, 1C, 1D, 1E, 1F.

Then you reach 20 (hexadecimal 20, which corresponds to decimal 32). This continues forever. Here are another few examples: To convert from decimal to hexadecimal, reverse this procedure. Here are some more numbers in hexadecimal and decimal. If you would rather let the computer compute hexadecimal numbers, you can try this automatic converter. Various alphabets with numerological values (gematria) Numeric Systems Home Page. Undefined If it weren't for this bulky title, this page would load in a good 5 seconds! And no, this doesn't mean I'm getting rid of it. A. What are numeric systems? B. Binary C. A. Glad you asked. Ancient Numeric Systems These numeric systems gave birth to our own. Modern Numeric Systems What we use today.

Why do we use the base 10, you ask? So how does it all work? Representing this graphically, we'd have: As we observe, each column header's value equals 10 times the place to the right of it. B. The binary system has a base 2, which means each column's value equals 2 times the value of the one to the right, starting with the rightmost digit, which equals 1. So we have: (1 x 4096) + (0 x 2048) + (0 x 1024) + (0 x 512) + (1 x 256) + (1 x 128) + (1 x 64) + (1 x 32) + (0 x 16) + (1 x 8) + (0 x 4) + (0 x 2) + (1 x 1) = 4096 + 256 + 128 + 64 + 32 + 8 + 1 = 4585 There!

The other way around You've seen how to convert numbers from binary to decimal. Now, write down a zero under 512: See? C. There!