Monday, February 20, 2012

Bits and Bytes

1. What is a Digit ?
single place that can hold numerical values between 0 and 9
2. Base 10?
The decimal numeral system (also called base ten or occasionally denary) has ten as its base. It is the numerical base most widely used by modern civilizations.

3. Where does the word bit originate from ?
Binary digit
4. Examine the Table Below
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

90 302 (base 10) = (9 x 10000) + (3 x 100) + (2 x 1)

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

Base 2
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)

21 - 21 base-10 = 10101 base-2

24 - 24 base-10 = 11000 base-2

30 - 30 base-10 = 11110 base-2

6. What is a Byte?
A group of binary digits or bits (usually eight) operated on as a unit
7. How many bytes in a kilo, mega, giga and tera bytes
kilo - 1024 bytes
mega - 1048576 Bytes
giga - 1073741824 Bytes
tera - 1073741824 Bytes


No comments:

Post a Comment