Home
Add Document
Sign In
Create An Account
Viewer
Transcript
Number System – Conversion Reference-1: Link: http://cs.txstate.edu/~br02/cs1428/NumberSystems/ Reference-2: Link: http://www0.cs.ucl.ac.uk/staff/r.hirsch/teaching/maths/num_ans.pdf Reference-3: Link: http://east82.com/howto/ip_addressing/docs/Conversion_Worksheet.pdf
1. Convert Exercise – 1 1. 1. Decimal to binary: 27
75
164
255
11001
10000
94
1.2. Binary to decimal: 1
1010
2. Convert Exercise - 2 Binary to decimal 1. 11001011 6. 00000100
2. 00110101 7. 00010010
3. 10000011 8. 00111111
4. 10001111 9. 10101010
5. 11100011 10.01010101
2. 9 7. 6
3. 67 8. 1
4. 99 9. 197
5. 23 10.252
2. 11110001 7. 11101100
3. 00110001 8. 11111100
4. 11000010 9. 00111111
5. 10100100 10.00000011
2. 0xFA 7. 0xDD
3. 0x5D 8. 0xFE
4. 0x99 9. 0x22
5. 0x03 10.0x18
2. 21 7. 4
3. 9 8. 121
4. 75 9. 94
5. 188 10.201
2. 0xCC 7. 0xF1
3. 0x97 8. 0xFB
4. 0x40 9. 0x82
5. 0x07 10.0xE4
2.1 Decimal to binary 1. 213 6. 143
2.2 Binary to hex 1. 11001100 6. 10100111
2.3 Hex to binary 1. 0x45 6. 0x6B
2.4 Decimal to hex 1. 233 6. 56
2.5 Hex to decimal 1. 0x5A 6. 0x3D
3. Convert Exercise - 3 3.1 Binary to octal. 1. 111110110
2. 1000001
3. 10000010
4.1100010
3.2 Binary to hexadecimal 1.10101001
2. 11100111
3. 01101110
4. 01121111
3.3 Hexadecimal to octal. 1.
A9
2.
E7
3.
6E
3.
443
3.4 Octal to hexadecimal. 1.
777
2.
605
4.
521
5.
1
3.5 Decimal to octal. 1.
901
2.
321
3.
1492
4.
1066
5.
2001
3.6 Decimal to binary. 1.
45
2.
69
3.
1066
99
4.
5.
1
3.7 Decimal to hexadecimal. 1.
1066
2.
1939
3.
1
4.
998
4. Convert Exercise – 4 1) 68.5625 decimal to Binary: __________________ 2) 00111011.01 binary to Decimal: _________________ 3) 10010101.111 binary to Decimal: __________________ 4) 11000011.01 binary to Decimal: 5) 38.4 decimal to Binary:
_________________
_________________
6) 252.33 decimal to Binary: ___________________ 7) 11001010.001 binary to Decimal: __________________ 8) 110111.1101 binary to Decimal:
_________________
9) 1110.001 binary to Decimal: __________________ 10) 43.625 decimal to Binary ___________________
5. Convert Exercise – 5 1. 568.1875 decimal to binary: __________________ 2. 100111011.01 binary to decimal: __________________ 3. 111111.1111 binary to decimal: _________________ 4. 11111000011.01 binary to decimal: __________________ 5. 3138.4 decimal to binary: __________________ 6. 6143.3175 decimal to binary: __________________ 7. 11001110.1001 binary to decimal: __________________ 8. 1000100101.111 binary to decimal: __________________ 9. 1000110111110.001 binary to decimal: __________________ 10. 639.13 decimal to binary: __________________
5.
43
Answer 1. Exercise -1: 1.
decimal 27 75 164 255 94
2.
binary 1 1010 11001 10000
binary 11011 1001011 10100100 11111111 1011110 decimal 1 10 25 16
2. Exercise –2: Binary to decimal 1. 11001011 – 203 4. 10001111 – 143 7. 00010010 – 18 10.01010101 – 85 Decimal to binary 1. 213 – 11010101 4. 99 – 01100011 6. 6 – 00000110 8. 252 – 11111100 Binary to hex 1. 11001100 – 0xCC 4. 11000010 – 0xC2 7. 11101100 – 0xEC 10.00000011 – 0x03 Hex to binary 1. 0x45 – 01000101 4. 0x99 – 10011001 7. 0xDD – 11011101 10.0x18 – 00011000 Decimal to hex 1. 233 – 0xE9 4. 75 – 0x4B 7. 4 – 0x04 9. 201 – 0xC9 Hex to decimal 1. 0x5A – 90 4. 0x40 – 64 7. 0xF1 – 241 10.0xE4 – 228
2. 00110101 – 53 5. 11100011 – 227 8. 00111111 – 63
3. 10000011 – 131 6. 00000100 – 4 9. 10101010 – 170
1. 9 – 00001001 5. 23 – 00010111 7. 1 – 00000001
3. 67 – 01000011 5. 143 – 10001111 8. 197 – 11000101
2. 11110001 – 0xF1 5. 10100100 – 0xA4 8. 11111100 – 0xFC
3. 00110001 – 0x31 6. 10100111 – 0xA7 9. 00111111 – 0x3F
2. 0xFA – 11111010 5. 0x03 – 00000011 8. 0xFE – 11111110
3. 0x5D – 01011101 6. 0x6B – 01101011 9. 0x22 – 00100010
2. 21 – 0x15 5. 188 – 0xBC 7. 121 – 0x79
3. 9 – 0x09 6. 56 – 0x38 8. 94 – 0x5E
2. 0xCC – 204 5. 0x07 – 7 8. 0xFB – 251
3. 0x97 – 151 6. 0x3D – 61 9. 0x82 – 130
2. 1000001 - 101
3. 10000010 - 202
3. Convert Exercise -3: 3.1 Binary to octal. 1. 111110110 – 766 4. 1100010 – 142
3.2 Binary to hexadecimal. 1. 10101001 - A9 2. 11100111 - E7 4. 01121111 - This is not a binary number 3.3 Hexadecimal to octal. 1. A9 - 251
2.
E7 – 347
3.4 Octal numbers to hexadecimal. 1. 777 - 1FF 2. 605 – 185 4. 521 - 151 5. 1 – 1 3.5 Decimal numbers to octal. 1. 901 - 1605 2. 4. 1066 – 2052 5.
3.7 Decimal numbers to hexadecimal. 1. 1066 - 42A 2. 1939 – 793 4. 998 - 3E6 5. 43 - 2B 4. Convert Exercise -4: 1) binary 1000100.1001 2) decimal 59.25 3) decimal 55.8125 4) decimal 195.25 5) binary 100110.0110011 6) binary 101011.101 7) decimal 14.125 8) decimal 149.875 9) decimal 202.125 10) binary 11111100.010101
5. Convert Exercise – 5 1. 568.1875 decimal to binary 1000111000.0011 2. 100111011.01 binary to decimal 315.25 3. 111111.1111 binary to decimal 63.9375 4. 11111000011.01 binary to decimal 1987.25 5. 3138.4 decimal to binary 110001000010.0110011 6. 6143.3175 decimal to binary 1011111111111.01010001 11001110.1001 binary to decimal 206.5625
8. 1000100101.111 binary to decimal 549.875 9. 1000110111110.001 binary to
decimal 4542.125
10. 639.13 decimal to binary 1001111111.00100001
01101110 - 6E
3.
6E - 156
3.
443 – 123
321 – 501 2001 – 3721
3.6 Decimal numbers to binary. 1. 45 – 101101 2. 69 – 1000101 4. 99 – 1100011 5. 1 – 1
7.
3.
3.
3.
3.
1492 – 2724
1066 – 10000101010
1 – 1
FOC-NumberSystem-Conversion-Exercise-1.pdf
2.5
Hex
to decimal. 1. 0x5A 2. 0xCC 3. 0x97 4. 0x40 5. 0x07. 6. 0x3D 7. 0xF1 8. 0xFB 9. 0x82 10.0xE4. 3. Convert Exercise - 3. 3.1 Binary to octal. 1. 111110110 2. 1000001 3. 10000010 4.1100010. 3.2 Binary to
hexadecimal
. 1.10101001 2. 11100111 3. 01101110 4. 01121111. 3.3
Hexadecimal
to octal. 1. A9 2. E7 3. 6E.
Download PDF
645KB Sizes
8 Downloads
213 Views
Report
Recommend Documents
No documents
×
Report FOC-NumberSystem-Conversion-Exercise-1.pdf
Your name
Email
Reason
-Select Reason-
Pornographic
Defamatory
Illegal/Unlawful
Spam
Other Terms Of Service Violation
File a copyright complaint
Description
×
Sign In
Email
Password
Remember Password
Forgot Password?
Sign In