Programming Concepts Part III
Continuing from Programming Concepts Part II . A computer cannot understand instructions as given in the previous part. We have to change those human-understandable instructions to machine-understandable instructions. It is known as the machine language of the computer. A computer only understands a sequence of 0s and 1s. Most of the time we see mention of the 0 and the 1. But we can also say yes/no, on/off, true/false and so on. There are two states, either present or absent. All numbers, texts, images and so on are a sequence of 0s and 1s. There are two states or symbols(0 and 1), so it is called a binary system . A single 0 or 1 is called a bit for a binary digit. Its counting goes like this, 1 = 1 10 = 2 11 = 3 100 = 4 101 = 5 110 = 6 111 = 7 1000 = 8 1001 = 9 1010 = 10 1011 = 11 1100 = 12 1101 = 13 1110 = 14 1111 = 15 and so on. The place value is like 1, 2, 4, 8, 16, 32 and so on from right to left. When the number of bits is large, it is grouped in 3 bits from the right ...