# Binary codes for letters and numbers

So a word with 5 letters would take 40 lightbulbs! How many lightbulbs do you think it took to make this page? I bet it was a lot! Enter some text here to be converted to binary. Basic Explanation Did you know that everything a computer does is based on ones and zeroes? It's hard to imagine, because you hear people talking about the absolutely gargantuan huge numbers that computers "crunch". But all those huge numbers - they're just made up of ones and zeros.

It's kind of like the computer is made up of a bunch of lightswitches, and each lightswitch controls just one lightbulb. What do I mean by sequence? Let's say you had two lightswitches. There are four different ways we could flip those switches: We'll say the first lightbulb is worth two points, and the second one is worth one point. Now take a look at the combinations: As you can see, it's going to take a lot of lightbulbs to make a really big number!

If those two numbers are represented by lightbulbs, what is the value assigned to a bulb that is not turned on? What would be another way to write this: On Off On On Off? If you convert your name to binary using the encoder, what is the result? If you convert a 5-letter word to binary, how many digits does the result have? Assign this reference page. Match color, font, and letter in this strategy game. Reviews and book lists - books we love! For example, lowercase "a" is represented by as a bit string which is 97 in decimal.

Binary-coded decimal , or BCD, is a binary encoded representation of integer values that uses a 4-bit nibble to encode decimal digits. Four binary bits can encode up to 16 distinct values; but, in BCD-encoded numbers, only the first ten values in each nibble are legal, and encode the decimal digits zero, through nine.

The remaining six values are illegal, and may cause either a machine exception or unspecified behavior, depending on the computer implementation of BCD arithmetic. BCD arithmetic is sometimes preferred to floating-point numeric formats in commercial and financial applications where the complex rounding behaviors of floating-point numbers is inappropriate.

Most modern computers use binary encoding for instructions and data. Telephone calls are carried digitally on long-distance and mobile phone networks using pulse-code modulation , and on voice over IP networks. The weight of a binary code, as defined in the table of constant-weight codes , [18] is the Hamming weight of the binary words coding for the represented words or sequences. From Wikipedia, the free encyclopedia. This section has multiple issues.

Please help improve it or discuss these issues on the talk page. Learn how and when to remove these template messages.

This section's factual accuracy is disputed. Relevant discussion may be found on Talk: Please help to ensure that disputed statements are reliably sourced.

April Learn how and when to remove this template message. The neutrality of this section is disputed. Relevant discussion may be found on the talk page. Please do not remove this message until conditions to do so are met.

This section possibly contains original research. Please improve it by verifying the claims made and adding inline citations. Statements consisting only of original research should be removed.

March Learn how and when to remove this template message. List of binary codes. Gerhardt, Berlin , vol.