Lab 1.1: Reading Binary
Exercise 1.1.1 – 2931
103 102 101 100
1000/ 100/ 10/ 0
2000+900+30+1 = 293110
Exercise 1.1.2 – 1102
22 21 20
1102 = 610
Exercise 1.1.3 – 112 = 310
Exercise 1.1.4 – 100102 = 1810
Exercise 1.1.5 – 111000102 = 22610
Exercise 1.1.6 – 15610 = 100111002
Exercise 1.1.7 – 25510 = 111111112
Exercise 1.1.8 – 20010 = 110010002
Exercise 1.1.9 –
2^7
2^6
2^5
2^4
2^3
2^2
2^1
2^0
128
64
32
16
8
4
2
0
binary
0
0
0
0
1
0
0
1
0
0
0
0
8
0
0
0
decimal
8
Exercise 1.1.10 – 101110012 = 18510
Exercise 1.1.11 – 1011112 = 4610
Exercise 1.1.12 – 100000012 = 12910
Lab 1.2: Binary Math and Logic
Exercise 1.2.1 – 1111
Exercise 1.2.2 – 1011
Exercise 1.2.3 –1110
Exercise 1.2.4 – 111
Exercise 1.2.5 – 100
Exercise 1.2.6 – 0110
Exercise 1.2.7 – 1100, only when the digits are the same the slot will change
Exercise 1.2.8 – 110, when there are 2 of same number on same slot it gets pushed one slot to right.
Exercise 1.2.9 – 1111, compares 2 bits and produces a 1 if either of them are a 1 or a 0 otherwise
Lab 1.3: Bit and Byte Structure
Exercise 1.3.1 – 2510, 23310
Exercise 1.3.2 – 663310, this is a bigger number than byte 1 and 2 multiplied together. (25*233=5825)
Exercise 1.3.3 – 120 MB = 1024 * 120 = 122,880 KB = 122,880 * 1024 = 125,829,120 bytes
Exercise 1.3.4 – 16 GB = 16 * 1024 = 16,384 MB = 16,384 * 1024 = 16,777,216 KB = 16,777,216 * 1024 = 1.71798692*1010 bytes = 1.71798692*1010 / 4 = 4,294,967,296 words
Exercise 1.3.5 – 112 = 3H, 01102 = 6H, so 1101102 = 36H
Exercise 1.3.6 – FH = 11112, 6H = 01102, Binary = 1111 01102, Decimal = 24610
128+64+32+16+4+2=246
Lab 1.4: ASCII
Exercise 1.4.1 – 20, to show breaks within a sentence.
Exercise 1.4.2 – digit 0 0 30 digit 1 1 31 digit 2 2 32 digit 3 3 33 digit 4 4 34 digit 5 5 35 digit 6 6 36 digit 7 7 37 digit 8 8 38 digit 9 9 39
Exercise 1.4.3 – K=binary-1001011, hex- 4b, decimal 75
Exercise 1.4.4 – UCS is a standard of characters, it was created so that there would be