how to read binary code

How to Read Binary Code

Reading a binary code is not as difficult as it seems to be. With a little bit of practice, you will be able to master this skill. Read this Buzzle article to learn how to do the same.

Fast Fact
If the last digit of a binary number is 1, the number is odd; if it is 0, the number is even.
Binary is a base-2 number system which represents numeric values through various combinations of bits. A bit can either be zero or one, only. A combination of 8 bits is called a byte, and every byte represents a single numeric value. Binary is also popularly known as the machine language, since it helps detect an electrical signal's on or off state. But how? The answer lies in the fact that 0 indicates the OFF state, whereas 1 indicates the ON state of an electrical signal. Here, we will learn how a computer decodes binary data into human-readable form.
How to Read Binary Code Text
Computers only understand the numerical 'binary' language. Then how is it possible that they can interpret alphabets and other characters too? The answer lies in the fact that every character, including alphabets and non-alphabetic characters like space, +, ×, etc., and numeric text 0 - 9, is internally represented with a numerical value known as the 'ASCII' value. ASCII stands for American Standard Code for Information Interchange. Now, once the computer is aware which number is associated with a particular alphabet/character, it can easily manipulate the data after converting it into binary format. The following table depicts the ASCII value and its associated binary code for letters 'A - Z' and 'a - z'.
Uppercase Alphabets
Letter ASCII Value Binary
A 65 01000001
B 66 01000010
C 67 01000011
D 68 01000100
E 69 01000101
F 70 01000110
G 71 01000111
H 72 01001000
I 73 01001001
J 74 01001010
K 75 01001011
L 76 01001100
M 77 01001101
N 78 01001110
O 79 01001111
P 80 01010000
Q 81 01010001
R 82 01010010
S 83 01010011
T 84 01010100
U 85 01010101
V 86 01010110
W 87 01010111
X 88 01011000
Y 89 01011001
Z 90 01011010
Lowercase Alphabets
Letter ASCII Value Binary
a 97 01100001
b 98 01100010
c 99 01100011
d 100 01100100
e 101 01100101
f 102 01100110
g 103 01100111
h 104 01101000
i 105 01101001
j 106 01101010
k 107 01101011
l 108 01101100
m 109 01101101
n 110 01101110
o 111 01101111
p 112 01110000
q 113 01110001
r 114 01110010
s 115 01110011
t 116 01110100
u 117 01110101
v 118 01110110
w 119 01110111
x 120 01111000
y 121 01111001
z 122 01111010
Let us see how to read binary code alphabets and letters with examples.
Example #1
Question: Decode the binary string 010010012 Answer: Begin decoding from right to left. 010010012
= 1 × 20 + 0 × 21 + 0 × 22 + 1 × 23 + 0 × 24 + 0 × 25 + 1 × 26 + 0 × 27 = 1 + 0 + 0 + 8 + 0 + 0 + 64 + 0 = 73, which is the ASCII equivalent of I
Example #2
Question: Decode the binary string 011001112 Answer: Begin decoding from right to left. 011001112
= 1 × 20 + 1 × 21 + 1 × 22 + 0 × 23 + 0 × 24 + 1 × 25 + 1 × 26 + 0 × 27 = 1 + 2 + 4 + 0 + 0 + 32 + 64 + 0 = 103, which is the ASCII equivalent of g
Example #3
Question: Decode the binary string 001101002 Answer: Begin decoding from right to left. 001101002
= 0 × 20 + 0 × 21 + 1 × 22 + 0 × 23 + 1 × 24 + 1 × 25 + 0 × 26 + 0 × 27 = 0 + 0 + 4 + 0 + 16 + 32 + 0 + 0 = 52, which is the ASCII equivalent of 4
Example #4
Question: Decode the binary string 01001001 00100000 01001100 01001111 01010110 01000101 00100000 01000010 01010101 01011010 01011010 01001100 010001012 Note*: The ASCII value of space is 32 and its associated binary string is 010011002 Answer: From Example #1, #2, and #3, we now know how to decode single binary code character. Using the same logic, we will find the ASCII numbers of every 8 bit string. So, the decoding will proceed as follows: 010010012
= 1 × 20 + 0 × 21 + 0 × 22 + 1 × 23 + 0 × 24 + 0 × 25 + 1 × 26 + 0 × 27 = 1 + 0 + 0 + 8 + 0 + 0 + 64 + 0 = 73, which is the ASCII equivalent of I
001000002= 32, which is the ASCII equivalent of space 010011002
= 0 × 20 + 0 × 21 + 1 × 22 + 1 × 23 + 0 × 24 + 0 × 25 + 1 × 26 + 0 × 27 = 0 + 0 + 4 + 8 + 0 + 0 + 64 + 0 = 76, which is the ASCII equivalent of L
010011112
= 1 × 20 + 1 × 21 + 1 × 22 + 1 × 23 + 0 × 24 + 0 × 25 + 1 × 26 + 0 × 27 = 1 + 2 + 4 + 8 + 0 + 0 + 64 + 0 = 79, which is the ASCII equivalent of O
010101102
= 0 × 20 + 1 × 21 + 1 × 22 + 0 × 23 + 1 × 24 + 0 × 25 + 1 × 26 + 0 × 27 = 0 + 2 + 4 + 0 + 16 + 0 + 64 + 0 = 86, which is the ASCII equivalent of V
010001012
= 1 × 20 + 0 × 21 + 1 × 22 + 0 × 23 + 0 × 24 + 0 × 25 + 1 × 26 + 0 × 27 = 1 + 0 + 4 + 0 + 0 + 0 + 64 + 0 = 69, which is the ASCII equivalent of E
001000002 = 32, which is the ASCII equivalent of space 010000102
= 0 × 20 + 1 × 21 + 0 × 22 + 0 × 23 + 0 × 24 + 0 × 25 + 1 × 26 + 0 × 27 = 1 + 0 + 0 + 0 + 0 + 0 + 64 + 0 = 65, which is the ASCII equivalent of B
010101012
= 1 × 20 + 0 × 21 + 1 × 22 + 0 × 23 + 1 × 24 + 0 × 25 + 1 × 26 + 0 × 27 = 1 + 0 + 4 + 0 + 16 + 0 + 64 + 0 = 85, which is the ASCII equivalent of U
010110102
= 0 × 20 + 1 × 21 + 0 × 22 + 1 × 23 + 1 × 24 + 0 × 25 + 1 × 26 + 0 × 27 = 0 + 2 + 0 + 8 + 16 + 0 + 64 + 0 = 90, which is the ASCII equivalent of Z
010110102
= 0 × 20 + 1 × 21 + 0 × 22 + 1 × 23 + 1 × 24 + 0 × 25 + 1 × 26 + 0 × 27 = 0 + 2 + 0 + 8 + 16 + 0 + 64 + 0 = 90, which is the ASCII equivalent of Z
010011002
= 0 × 20 + 0 × 21 + 1 × 22 + 1 × 23 + 0 × 24 + 0 × 25 + 1 × 26 + 0 × 27 = 0 + 0 + 4 + 8 + 0 + 0 + 64 + 0 = 76, which is the ASCII equivalent of L
010001012
= 1 × 20 + 0 × 21 + 1 × 22 + 0 × 23 + 0 × 24 + 0 × 25 + 1 × 26 + 0 × 27 = 1 + 0 + 4 + 0 + 0 + 0 + 64 + 0 = 69, which is the ASCII equivalent of E
The final decoded output is, I LOVE BUZZLE
How to Read Binary Code Numbers
The decoding procedure for binary code numbers is the same as for binary code text, with the only difference that the ASCII equivalent of the numerical output is not evaluated.
Example
Question: Decode the binary string 001101002 Answer: Begin decoding from right to left. 001101002
= 0 × 20 + 0 × 21 + 1 × 22 + 0 × 23 + 1 × 24 + 1 × 25 + 0 × 26 + 0 × 27 = 0 + 0 + 4 + 0 + 16 + 32 + 0 + 0 = 52
How to Read a Binary Clock
In the decimal numbering system, time is indicated by 3 pairs of digits, namely, 'hours', 'minutes', and 'seconds'. For instance, '11:54:28' means, the time is 54 minutes and 28 seconds past 11 o'clock. On the contrary, a binary clock which is based on the binary numbering system represents time in the form of lights. Basically, the clock comprises 6 columns and 4 rows of light bulbs, where the pairs of columns from left to right represent the hours, minutes, and seconds, respectively. The decimal value of each column depends upon the position of light which is 'on'. Starting from the bottom and moving upwards, the values are calculated by '2 raised to the power of the row number'. Note that the row number begins from '0'. The value of every row in a column where the light is 'on' would be as follows: 0th row: 20 = 1 1st row: 21 = 2 2nd row: 22 = 4 3rd row: 23 = 8 If more than one light is 'on' in a particular column, then the final value would be the sum of all individual values of the rows in that column. Also, note that the value will be '0' if the light bulb is 'off'. The following illustration will help you understand the concept better.
Example
Question: Find the time represented by the given binary clock.
Answer: The values are calculated from left to right. Value of 1st column = 21 = 2 Value of 2nd column = 0 (no light bulb is 'on') Value of 3rd column = 21 = 2 Value of 4th column = 20 + 21 + 22= 1 + 2 + 4 = 7 Value of 5th column = 22 = 4 Value of 6th column = 20 + 21 = 1 + 2 = 3 Therefore, the time is 20:27:43

Похожие статьи

Другие категории и статьи раздела «Статьи»

Статьи 24

Это первоклассное место для азартных игр - Вулкан Победа официальный сайт

Если вы хотите погрузиться в атмосферу веселья и адреналина, обязательно посетите портал Вулкан Победа официальный сайт, где яркие эмоции и бесконечное веселье. Заведение дружелюбно относится к своим гостям, дает им большое разнообразие качественных игровых автоматов и хорошие бонусы. Его двери всегда открыты, поэтому проблем с доступом нет.

Причины для игры в клубе

Опытные новички, а также подковы одинаково любят и ценят это казино. В чем причина? Здесь посетители найдут восхитительные эмоции, великолепные выигрыши и выброс адреналина. Чтобы начать увлекательную игру, не нужно изучать самые сложные инструкции. Правила просты и понятны по максимуму. Выберите достойную машину и начните ее немедленно. Круглосуточный портал готов к приему новых гостей, демонстрируя им изысканный ассортимент тренажеров и уютных игровых комнат.

Корпоративные преимущества:
Чтобы победить, нужно только верить в удачу и всегда быть на положительной стороне.
Существует богатый список новых и старых игровых автоматов, которые погружают пользователя в ту или иную тематическую атмосферу.
Управлять устройствами легко, панель с кнопками не поставит геймера в тупик.
Заманчивые награды и приятные бонусы.
Поглощая самую сильную положительную энергию этого раздела, вы можете вернуться к обычным вещам с полной силой. Но время от времени возвращайтесь сюда на сладкий и чарующий отдых.
Удивительно роскошный отдых прямо по соседству.

Чтобы поймать свою удачу, вам не нужно идти в стационарный игровой клуб. Вы можете попросить удачу на свидание прямо за монитором компьютера в вашем офисе или дома. Или вы можете крутить барабаны со своего мобильного устройства, имея доступ только к глобальной сети.

Любой адреналиновый энтузиаст может испытать невероятную удачу на Вулкан Победа официальный сайт. Часы отдыха пролетят незаметно, оставив интересный и незабываемый опыт, а также солидное дополнение к кошельку. Почувствуйте очарование рискованных приключений среди одноруких бандитов от лучших производителей.

Азартные приключения предназначены для удовольствия, а не разочарования, поэтому вносите на игровой счет только ту сумму, с которой не жалко расставаться.