Perform the following calculation in a 6-bit two’s complement
system. Show your work. Indicate at the end if there will be
overflow/underflow or not and why.
1810 – 1010
Binary
How is 00001001 (base 2) represented in 8-bit two’s complement
notation?
Convert 0.3828125 to binary with 4 bits to the right of the binary
point.
How is 00110100 (base 2) represented in 8-bit one's
complement.
Digital arithmetic:
a) Convert +35 to 2-complement
b) Convert -35 to 2-complement
c) Convert 2-complement from 1101 1101 to decimal
d) Add 35 - 35 in binary
1a. Convert 67 (base 10) to 8-bit binary using signed magnitude.
Show your work.
1b. Convert 69 (base 10) to 8-bit binary using one’s complement.
Show your work
1c. Convert 70 (base 10) to 8-bit binary using two’s complement.
Show your work.
1d. Convert - 67 (base 10) to 8-bit binary using signed
magnitude.
1e. Convert - 67 (base 10) to 8-bit binary using ones
compliment. Show your work.
1f. Convert - 67 (base 10) to 8-bit binary using 2s...
Convert the following numbers to 32-bit, 2s compliment binary
and hexadecimal formats. Show your work in recursive division form.
899726616
1656906428
-77102817
-251026154
Write a c++ program to convert any decimal number to
either binary base or Hex base number system. Test your
program with the followings:
Convert 15 from decimal to binary.
Convert 255 from decimal to binary.
Convert BAC4 from hexadecimal to binary
Convert DEED from hexadecimal to binary.
Convert 311 from decimal to hexadecimal.
Convert your age to hexadecimal.
12. Suppose a firm’s cost function is C(q) =
3q2 + 10. (Show work)
a. Find variable cost, fixed cost, average cost, average
variable cost, and average fixed cost.(Hint: Marginal cost
is given by MC = 6q.)
b. Find the output that minimizes average cost.