Question

In: Computer Science

Use the place value method, the division method, or the equivalency chart to convert the following....

Use the place value method, the division method, or the equivalency chart to convert the following. You must show all steps.

Convert the following decimal numbers to the binary number system. a. 10 b. 43 c. 96 d. 156 e. 255

Solutions

Expert Solution

a) 10
Divide 10 successively by 2 until the quotient is 0
   > 10/2 = 5, remainder is 0
   > 5/2 = 2, remainder is 1
   > 2/2 = 1, remainder is 0
   > 1/2 = 0, remainder is 1
Read remainders from the bottom to top as 1010
So, 10 of decimal is 1010 in binary
Answer: 00001010

b) 43
Divide 43 successively by 2 until the quotient is 0
   > 43/2 = 21, remainder is 1
   > 21/2 = 10, remainder is 1
   > 10/2 = 5, remainder is 0
   > 5/2 = 2, remainder is 1
   > 2/2 = 1, remainder is 0
   > 1/2 = 0, remainder is 1
Read remainders from the bottom to top as 101011
So, 43 of decimal is 101011 in binary
Answer: 00101011

c) 96
Divide 96 successively by 2 until the quotient is 0
   > 96/2 = 48, remainder is 0
   > 48/2 = 24, remainder is 0
   > 24/2 = 12, remainder is 0
   > 12/2 = 6, remainder is 0
   > 6/2 = 3, remainder is 0
   > 3/2 = 1, remainder is 1
   > 1/2 = 0, remainder is 1
Read remainders from the bottom to top as 1100000
So, 96 of decimal is 1100000 in binary
Answer: 01100000

d) 156
Divide 156 successively by 2 until the quotient is 0
   > 156/2 = 78, remainder is 0
   > 78/2 = 39, remainder is 0
   > 39/2 = 19, remainder is 1
   > 19/2 = 9, remainder is 1
   > 9/2 = 4, remainder is 1
   > 4/2 = 2, remainder is 0
   > 2/2 = 1, remainder is 0
   > 1/2 = 0, remainder is 1
Read remainders from the bottom to top as 10011100
So, 156 of decimal is 10011100 in binary
Answer: 10011100

e) 255
Divide 255 successively by 2 until the quotient is 0
   > 255/2 = 127, remainder is 1
   > 127/2 = 63, remainder is 1
   > 63/2 = 31, remainder is 1
   > 31/2 = 15, remainder is 1
   > 15/2 = 7, remainder is 1
   > 7/2 = 3, remainder is 1
   > 3/2 = 1, remainder is 1
   > 1/2 = 0, remainder is 1
Read remainders from the bottom to top as 11111111
So, 255 of decimal is 11111111 in binary
Answer: 11111111



Related Solutions

Use the place value method, the division method, or the equivalency chart to convert the following....
Use the place value method, the division method, or the equivalency chart to convert the following. You must show all steps. Convert the following decimal numbers to the hexadecimal number system. a. 7 b. 32 c. 55 d. 254 e. 512
Use the place value method, the division method, or the equivalency chart to convert the following....
Use the place value method, the division method, or the equivalency chart to convert the following. You must show all steps. Convert the following binary numbers to the hexadecimal number system. a. 0000 0001 b. 0111 0010 c. 1010 0111 d. 1100 0100 e. 1111 1111
Use the place value method, the division method, or the equivalency chart to convert the following....
Use the place value method, the division method, or the equivalency chart to convert the following. You must show all steps. Convert the following hexadecimal numbers to the binary number system. a. C b. 33 c. 10 d. BA e. 9DF
Convert the following values into binary numbers for each word and place the binary values in...
Convert the following values into binary numbers for each word and place the binary values in the two-dimensional array in their proper order of words. Value Binary Number Equivalent Word 0 462,91210 Word 1 1142008 Word 2 5420h Word 3 20,992d Word 4 1104208 Word 5 6102008 Word 6 9F88h Word 7 20,49610 Word 8 502416 Word 9 1101018 Word 10 71082h
Use the matrix inverse and the matrix division method to solve the following set for x and y in terms of c:
Use the matrix inverse and the matrix division method to solve the following set for x and y in terms of c:
1. Use long division to convert decimal fraction into a binary expansion. 3/5 2. Find the...
1. Use long division to convert decimal fraction into a binary expansion. 3/5 2. Find the decimal equivalent for the following binary numbers. 1101.11102 3. Use long division to convert decimal fraction into a binary expansion. 3/4 4. Find the binary equivalent the following decimal numbers. 14. 25390625 1 5. Find the decimal equivalent for the following binary numbers. 0.110001102 6. Exactly how many bytes are in the following? 60MB
use the method of order two to approximate the solution to the following initial value problem...
use the method of order two to approximate the solution to the following initial value problem y'=e^(t-y),0<=t<=1, y(0)=1, with h=0.5
Exercise (a) Use Euler's method with each of the following step sizes to estimate the value...
Exercise (a) Use Euler's method with each of the following step sizes to estimate the value of y(1.6), where y is the solution of the initial-value problem y' = y, y(0) = 6. (i)    h = 1.6 (ii)    h = 0.8 (iii)    h = 0.4 Exercise (b) We know that the exact solution of the initial-value problem in part (a) is y = 6ex. Draw, as accurately as you can, the graph of y = 6ex, 0 ≤ x ≤ 1.6, together with...
Use the Free Cash Flow method of valuation and the following information, to calculate the value...
Use the Free Cash Flow method of valuation and the following information, to calculate the value for a venture with the following information. Expected sales at year zero (or beginning of year 1): $2.50 M; growth rate in sales for the first 8 years: 35%; and for years 9-on: 10%; Annual profit margin (or EBIAT/Sales) for all years=22%; Annual asset intensity ratio (or (FA+WC)/Sales) for all years = 32%; discount rate in years 1-8: 30%, and in years 9-on: 16%....
JAVA PROGRAMMING Is there a way I can use a method to place a user input...
JAVA PROGRAMMING Is there a way I can use a method to place a user input variable into an array? Then call the same method to print the array? I'm new to Java programming I'm not sure how to continue. For example: import java.util.Scanner; public class PartayScanner { public static void main(String[] args) { Scanner scan = new Scanner(System.in); System.out.println("Enter pokemon 1:"); String pokemon1 = scan.nextLine(); System.out.println("Enter pokemon 2:"); String pokemon2 = scan.nextLine(); System.out.println("Enter pokemon 3:"); String pokemon3 = scan.nextLine();...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT