Perform the following, showing ALL your work:
a) Convert 324.35 to binary
b) Find the sum of A23C16 and 363E16
c) Work out: 658 – 9A16 using 8-bit 2’s complement. Give your answer in decimal.
d) Find the difference between the two numbers in BCD: 97310 - 34510
e) Use the postulates and theorems of Boolean algebra to prove that: (𝑥+𝑦)⋅(𝑥+"\\bar{y}" ) = 𝑥
a) show 1’s complement, 2’s complement, Sign Magnitude, 7’s Complement, 8’s Complement, 15’s Complement and 16’s Complement of decimal 25
b) show 1’s complement, Sign Magnitude, 7’s Complement, 8’s Complement, 15’s Complement and 16’s Complement of 2’s complement 11100111
c) a) show 1’s complement, 2’s complement, Sign Magnitude, 7’s Complement, 8’s Complement, 15’s Complement and 16’s Complement of decimal -95
Subtract the given numbers using the indicated complements. Also show your answers in non-complement form, using (+) and (-) to indicate the sign of the number.
a. 84810 – 69210 in 10’s complement
b. 61816 – 8E316 in 16’s complement
c. 100011002 – 111000112 in 2’s complement
d. 110001012 – 100011102 in 1’s complement
e. 40208 – 20218 in 8’s complement
Work out the following and give answers in the indicated bases/codes. (Show your ALL working):
a. 16608 – 53016 in base 8
b. AB.7516 – 830.510 in base 2
c. 402810 + 475.0816 in base 16
d. 102410 – 110101112 in base 2
Subtract the following numbers in the indicated bases (do not make any conversion to a different base):
a. 46078 - 17058
b. F3216 - A6516
c. 1100102 - 0101012
d. 12345 - 4325
1. Add the following numbers in the indicated bases (do not make any conversion to a different base):
a. 4607.548 + 1705.638
b. A6516 + F3216
c. 1100102 + 0101012
d. 4325 + 12345
How many integers form 1 to 500 are divisible by 2, 3, 4, and5?
For how many three digit numbers (100 to 999) is the sum of the digits even? (For example, 343 has an even sum of digits: 3 + 4 + 3 10 which is even.) Find the answer and explain why it is correct in at least two different ways.
Use iterative approach to solve for { } if where for and
Find a recurrence relation for the number of bit sequences of length n with an odd number of 0s?