Worksheet on Number Systems - Read Thoroughly

Worksheet on Number Systems - Read Thoroughly

<p> Name:______Visual C++ Worksheet on Number Systems - Read thoroughly</p><p>CONVERTING TO BASE 10</p><p>Base ten has 10 symbols – 0, 1, 2, 3, 4, 5, 6, 7, 8, 9</p><p>103 102 101 100 Place Value Thousands Hundreds Tens Ones Numeral 5 2 7 1</p><p>Multiply numeral by the place value This number equals five thousand, two hundred, seventy one, 5271</p><p>A. FROM BINARY – BASE 2</p><p>Base two has 2 symbols – 0 and 1 Multiply numeral by the place value</p><p>26 25 24 23 22 21 20 Place Value 64 32 16 8 4 2 1 Numeral 1 0 1 1 0 1 1</p><p>Multiply numeral by the place value to get the value in base 10 1 x 64 = 64 0 x 32 = 0 1 x 16 = 16 1 x 8 = 8 0 x 4 = 0 1 x 2 = 2 1 x 1 = 1 ------Then add 9110 base 10 value of 10110112 B. FROM OCTAL – BASE 8</p><p>Base eight has 8 symbols – 0, 1, 2, 3, 4, 5, 6, 7 Multiply numeral by the place value</p><p>83 82 81 80 Place Value 512 64 8 1 Numeral 3 1 7 4</p><p>Multiply numeral by the place value to get the value in base 10 3 x 512 = 1536 1 x 64 = 64 7 x 8 = 56 4 x 1 = 4 ------Then add 166010 base 10 value of 3174 8 </p><p>C. FROM HEXADECIMAL – BASE 16</p><p>Base 16 has 16 symbols– 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F Multiply numeral by the place value</p><p>163 162 161 160 Place Value 4096 256 16 1 Numeral A 2 F C</p><p>Multiply numeral by the place value to get the value in base 10 A x 4096 = 10 x 4096 = 40960 2 x 256 = 512 F x 16 = 15 x 16 = 240 C x 1 = 12 x 1 = 12 ------Then add 4172410 base 10 value of A2FC 16 CONVERTING FROM BASE 10</p><p>D. CONVERT 60010 TO BINARY</p><p>METHOD 1 – USING DIVIDENDS – DIVIDE BY 2</p><p>600/2 =300 r 0 (r is remainder) 300/2 =150 r 0 150/2 =75 r 0 75/2 =37 r 1 37/2 =18 r 1 18/2 =9 r 0 9/2 =4 r 1 4/2 =2 r 0 2/2 =1 r 0 1/2= 0 r 1 Read remainders from the bottom up 60010 is 10010110002 </p><p>Check: 29 28 27 26 25 24 23 22 21 20 Place Value 512 256 128 64 32 16 8 4 2 1 Numeral 1 0 0 1 0 1 1 0 0 0</p><p>512 + 64 + 16 + 8 = 600 It checks!</p><p>METHOD 2 – USING REMAINDERS – DIVIDE BY PLACE VALUE</p><p>29 28 27 26 25 24 23 22 21 20 Place Value 512 256 128 64 32 16 8 4 2 1</p><p>Choose largest place value that divides into 600 600/512 = 1 r 88 place a 1 in the 512 column cannot divide 88 by 256 or 128 so place 0s in those columns 88/64 = 1 r 24 place a 1 in the 64 column cannot divide 24 by 32 so put a 0 in the 32 column 24/16 = 1 r 8 put a 1 in the 16 column 8/8 = 1 r 0 put a 1 in the 8 column. </p><p>Done – no remainder!</p><p>29 28 27 26 25 24 23 22 21 20 Place Value 512 256 128 64 32 16 8 4 2 1 Numeral 1 0 0 1 0 1 1 0 0 0 E. CONVERT 60010 TO OCTAL</p><p>METHOD 1 – USING DIVIDENDS – DIVIDE BY 8 </p><p>600/8 = 75 r 0 (r is remainder) 75/8 = 9 r 3 9/8 = 1 r 1 1/8 = 0 r 1</p><p>Read remainders from the bottom up 60010 is 11308</p><p>Check: 83 82 81 80 Place Value 512 64 8 1 Numeral 1 1 3 0</p><p>(1 x 512) + (1 x 64 ) + (3 x 8) = 512 + 64 + 24 = 600 ! It checks!</p><p>METHOD 2 – USING REMAINDERS – DIVIDE BY PLACE VALUE</p><p>83 82 81 80 Place Value 512 64 8 1</p><p>Choose largest place value that divides into 600 600/512 = 1 r 88 place a 1 in the 512 column 88/64 = 1 r 24 place a 1 in the 64 column 24/8 = 3 r 0 place a 3 in the 8 column. Done – no remainder! F. CONVERT 60010 TO HEXADECIMAL</p><p>METHOD 1 – USING DIVIDENDS – DIVIDE BY 16</p><p>600/16 = 37 r 8 (r is remainder) 37/16 = 2 r 5 2/16 = 0 r 2 Read remainders from the bottom up 60010 is 25816</p><p>Check: 162 161 160 Place Value 256 16 1 2 5 8</p><p>(2 x 256) + (5 x 16) + (8 x 1) = 512 + 80 + 8 = 600 It checks!</p><p>METHOD 2 – USING REMAINDERS – DIVIDE BY PLACE VALUE</p><p>162 161 160 Place Value 256 16 1</p><p>Choose largest place value that divides into 600 600/256 = 2 r 88 place a 2 in the 512 column 88/16 = 5 r 8 place a 5 in the 16 column 8/1 = 8 r 0 place a 8 in the 1 column. </p><p>Done – no remainder! Name:______Visual C++</p><p>Use handout for conversion information. Include all work showing how you did the conversion for full credit.</p><p>1. Convert each of the following binary numerals to base 10 a) 1001 ______b) 110010 ______c) 1000000 ______d) 111111111111111 (fifteen 1s) ______</p><p>2. Convert each of the following octal numerals to base 10 a) 1238 ______b) 27058 ______c) 100008 ______d) 777778 ______</p><p>3. Convert each of the following hexadecimal numerals to base 10 a) 1216 ______b) 1AB16 ______c) ABC16 ______d) FFF16 ______</p><p>4. Convert each of the following base 10 numbers a) 5810 to binary ______b) 7510 to octal ______c) 41210 to hexadecimal ______</p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    6 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us