Translating Binary To Text

Translating Binary To Text - Translating Binary to Text:...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Translating Binary to Text: The Hard Way A Tutorial for those willing to Learn Contents 1. Introduction 2. The Binary System 3. Converting Binary to ASCII (Text) Introduction: We±ve 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 we²re used to in our daily life. Then, I will show you how to use those numbers and your keypad to translate them into text. Note that your computer doesn&t use the decimal system, so technically, when it converts binary to text, it doesn³t 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 right-to-left. 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 in the second slot from the right means you want a two, but not a one:
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
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.

Page1 / 3

Translating Binary To Text - Translating Binary to Text:...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online