Digit: Any of the numerals from 0 to 9, esp. when forming part of a number
Base 10: Well known decimal number system, represent any value with digit 0-9.
Where does the word bit originate from?
Comes from the word Binary digIT
Examine the tables beow:
Base10:
Place Value | 10 000 | 1 000 | 100 | 10 | 1 |
Place Value | 104 | 103 | 102 | 101 | 100 |
Digit | 9 | 0 | 3 | 0 | 2 |
Digit Value | 90 000 | 0 | 300 | 0 | 2 |
If 6,357 can be written as;(6 * 1000) + (3 * 100) + (5 * 10) + (7 * 1) = 6000 + 300 + 50 + 7
How would you write 4,321(4 * 1000) + (3 * 100) + ( 2 * 10) + (1 * 1) = 4000 + 300 + 20 + 1
Examine the table below:
Base2
Place Value | 16 | 8 | 4 | 2 | 1 |
Place Value | 24 | 23 | 22 | 21 | 20 |
Digit | 1 | 0 | 1 | 0 | 0 |
Digit Value | 16 | 0 | 4 | 0 | 0 |
10100 (base 2) = (1 x 16) + (1 x 4) = 20 (base 10)
Write the following numbers in binary (base 2)
10101= (1 x 16) + (1 x 4) + (1 x 1)
24
11100= (1 x 16) + (1 x8)
11100= (1 x 16) + (1 x8)
30
11110= (1 x 16) + (1 x 8) + (1 x 4) + (1 x 2)
11110= (1 x 16) + (1 x 8) + (1 x 4) + (1 x 2)
What is a byte?
A group of binary digits or bits (usually eight) operated on as a unit
How many bytes in a kilo, mega, giga and tera bytes?
1 kilobyte = 1024 bytes
1 megabyte = 1 048 576 bytes
1 gigabyte = 1 073 741 824 bytes
1 terabyte = 1 099 511 627 776 bytes
No comments:
Post a Comment