SOLUTION:-
(a) 254
( 254 )10 = ( 11111110 )2
Explanation:-
Step 1: We will write down the decimal number and continually divide by 2 to give a result and a remainder. The remainder is either a 1 or a 0.
254 / 2 result
127 remainder 0
127 / 2 result 63
remainder 1
63 / 2 result 31
remainder 1
31 / 2 result 15
remainder 1
15 / 2 result 7
remainder 1
7 / 2 result 3
remainder 1
3 / 2 result 1
remainder 1
1 / 2 result 0
remainder 1
Step 2: Now we will read the remainders from bottom to top.
(b) 255
( 255 )10 = ( 11111111 )2
Explanation:-
Step 1: We will write down the decimal number and continually divide by 2 to give a result and a remainder. The remainder is either a 1 or a 0.
255 / 2 result
127 remainder 1
127 / 2 result 63
remainder 1
63 / 2 result 31
remainder 1
31 / 2 result 15
remainder 1
15 / 2 result 7
remainder 1
7 / 2 result 3
remainder 1
3 / 2 result 1
remainder 1
1 / 2 result 0
remainder 1
Step 2: Now we will read the remainders from bottom to top.
(c) 192
( 192 )10 = ( 11000000 )2
Explanation:-
Step 1: We will write down the decimal number and continually divide by 2 to give a result and a remainder. The remainder is either a 1 or a 0.
192 / 2 result
96 remainder 0
96 / 2 result 48
remainder 0
48 / 2 result 24
remainder 0
24 / 2 result 12
remainder 0
12 / 2 result 6
remainder 0
6 / 2 result 3
remainder 0
3 / 2 result 1
remainder 1
1 / 2 result 0
remainder 1
Step 2: Now we will read the remainders from bottom to top.
(d) 28
( 28 )10 = ( 11100 )2 = ( 00011100 )2 ( We have added three 0's to make it a 8-bit binary number)
Explanation:-
Step 1: We will write down the decimal number and continually divide by 2 to give a result and a remainder. The remainder is either a 1 or a 0.
28 / 2 result
14 remainder 0
14 / 2 result 7
remainder 0
7 / 2 result 3
remainder 1
3 / 2 result 1
remainder 1
1 / 2 result 0
remainder 1
Step 2: Now we will read the remainders from bottom to top.
(e) 145
( 145 )10 = ( 10010001 )2
Explanation:-
Step 1: We will write down the decimal number and continually divide by 2 to give a result and a remainder. The remainder is either a 1 or a 0.
145 / 2 result
72 remainder 1
72 / 2 result 36
remainder 0
36 / 2 result 18
remainder 0
18 / 2 result 9
remainder 0
9 / 2 result 4
remainder 1
4 / 2 result 2
remainder 0
2 / 2 result 1
remainder 0
1 / 2 result 0
remainder 1
Step 2: Now we will read the remainders from bottom to top.
==============================================================================
Convert the following decimal numbers to 8-bit binary form: 254 255 192 ...
Convert the following decimal numbers into 8-bit binary: 214 _____________ Convert the following 8-bit binary numbers into decimal: 10110111 ____________________ Convert the following decimal numbers into equivalent hexadecimal numbers: 253 ____________________ Convert the following hexadecimal numbers into equivalent decimal numbers: AE0 ____________________ Convert the following IP addresses into binary. Do not forget to put the period, or dot, between each group of eight binary digits: 206.79.125.83 _____________________________________________________________________ For the following exercises, come up with the subnet address, broadcast address, the...
Given two numbers in decimal form, 192 and 85, convert both to binary, then add them together in binary. Why is the result not 277? Show steps please. Trying to learn
(5 points) Convert the following decimal numbers to 8-bit two's complement binary numbers and carry out the additions in binary. Indicate whether the sum overflows the 8-bit result. If not show the result as a decimal number. a) 39 + (-78) b) -43 + (-92)
For problems 8, 9 and 10, convert the following decimal numbers into 8‑bit binary numbers as required for 2's complement math, and perform the indicated operations. Circle or bold your binary answer and show your work. Notes: Remember that positive numbers are represented in sign-magnitude format in 2's complement math 8. +26 +15 = 9. +26 - 15 = 10. - 26 +15 =
For the following decimal numbers, convert to 8-bit binary numbers and perform addition. Use 2's complement signed numbers when subtraction is indicated. (a) 2710+ 3410 (b) 520-1810 (c) 3110 - 6310
Exercise 1.25 Convert the following decimal numbers to unsigned binary numbers Exercise 1.31 Repeat Exercise 1.29, but convert to 8-bit sign/magnitude numbers KExercise 1.32 Repeat Exercise 1.30, but convert to 8-bit sign/magnitude numbers (a) 4210 (b) 6310 Exercise 1.33 Convert the following 4-bit two's complement numbers to 8-bit two's complement numbers. (c) 22910 (d) 84510 (a) 0101 b) 1010 XExercise 1.26 Convert the following decimal numbers to unsigned binary numbers. Exercise 1.34 Convert the following 4-bit two's complement numbers to...
1. a) Perform the following binary subtractions of unsigned binary numbers. Convert your answer to decimal. i) 101001012 - 01001001, ii) 110110102 - 100100112 b) Repeat the calculations above but for when the binary numbers are in two's complement form. Comment on the results of the two methods used, noting and discrepancies. 2. Find the sums of the following unsigned hexadecimal numbers. Indicate whether or not the sum overflows an equivalent 8-bit binary result. a) 1116 +2216 b) 1716 +3516...
Convert the decimal numbers A and B to 5-bit binary numbers. Using two’s complement representation, show (i) how to subtract the two 5-bit binary numbers (A−B); (ii) how to translate the binary result back to decimal
1. Convert the decimal number +164 and -164 to 9-bit binary numbers according to Sign magnitude, One’s complement, and Two’s complement 2. Convert the binary number 111011010 to base 10 decimal form (our regular number system) treating it as each of the following representations: Sign magnitude, One’s complement, and Two’s complement
Convert the following numbers from binary to decimal, assuming nine-bit two’s complement binary representation: 1 0110 1010