The decimal system (base-10) is the human counting system that uses digits 0 through 9.
The decimal system (base-10) is the human counting system that uses digits 0 through 9.
What is the binary system?
The binary system (base-2) is the computer counting system that uses only 0 and 1.
Why do computers use binary?
Because binary can represent electrical states:
1 = On / Voltage present
0 = Off / No voltage
How many values can one byte represent?
256 values total (2⁸ = 256), including 0.
What is the maximum decimal value one byte can represent?
255 (because counting starts at 0, so values range from 0 to 255).
What are the binary place values from right to left for 8 bits?
128 — 64 — 32 — 16 — 8 — 4 — 2 — 1
Each position is double the value of the one to its right.
How do you convert binary to decimal?
Add the place values where the binary digit is 1.
Example:
01101000 = 64 + 32 + 8 = 104
What does a binary 1 represent in place value conversion?
The value of that position is included in the total.
What does a binary 0 represent in place value conversion?
The value of that position is not included.
What is 00001010 in decimal?
10
(8 + 2 = 10)
What is 01101000 in decimal?
104
(64 + 32 + 8 = 104)
What is machine language?
Machine language is the lowest-level programming language made of binary instructions that computers can directly execute.
How does binary relate to text representation?
Characters are assigned binary values using character encoding tables like ASCII and UTF-8.
What are the binary place values for an 8-bit byte?
128 — 64 — 32 — 16 — 8 — 4 — 2 — 1
Each value is half the previous value from left to right.
How do you convert binary to decimal?
Add the place values where the binary digit is 1.
Example:
10011101 = 128 + 16 + 8 + 4 + 1 = 157
Convert binary 00010011 to decimal.
19
(16 + 2 + 1 = 19)
How do you convert decimal to binary?
Select place values that add up to the decimal number and place 1s in those positions, otherwise use 0s.
Convert decimal 179 to binary.
10110011
(128 + 32 + 16 + 2 + 1 = 179)