This preview shows pages 1–2. Sign up to view the full content.
Translating Binary to Text
Contents
1. Introduction
2. The Binary System
3. Converting Binary to ASCII (Text)
Introduction:
WeYve all seen binary code. We&ve come to think of them as a bunch of ones and
010010101010101001101011
But these ones and zeroes can also represent decimal numbers. First off, I will
show you how to read these numbers as the decimal numbers weNre used to in our
daily life. Then, I will show you how to use those numbers and your keypad to
translate them into text. ±ote that your computer doesn&t use the decimal system,
so technically, when it converts binary to text, it doesnzt go through the process
I will show you. This is just a divertive way of explaining you how the binary
system works.
The Binary System:
10101
LetEs think of the example above as empty slots:
_ _ _ _ _
First off, you read binary from righttoleft. It's just the way itEs designed. The
first slot from the right represents a value of one, the second from the right a
value of two, the third from the right a value of four, the fourth from the right a
value of eight, the fifth from the right a value of sixteen, and the cycle
continues by multiples of 2. This will never change.
By putting a 1 or a 0 in those slots you are either saying you want to
corresponding value that²s attached to that slot or you don¶t. A 1 means yes, and a
0 means no. For example, putting a zero in the first slot from the right, but a 1
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
This is the end of the preview. Sign up
to
access the rest of the document.
This note was uploaded on 02/24/2010 for the course CPSC 431 taught by Professor Staff during the Spring '08 term at Texas A&M.
 Spring '08
 Staff

Click to edit the document details