Chapter 4: Q2E (page 245)
Convert the decimal expansion of each of these integers to a binaryexpansion.
- \(321\)
- \(1023\)
- \(100632\)
Short Answer
- \(101000001\)
- \(1111111111\)
- \(11000100100011000\)
Chapter 4: Q2E (page 245)
Convert the decimal expansion of each of these integers to a binaryexpansion.
All the tools & learning materials you need for study success - in one app.
Get started for freeHow many divisions are required to find gcd(21,34) using the Euclidean algorithm?
Find
Answer Exercise 37 for two's complement expansion.
How is the one's complement representation of the sum of two integers obtained from the one's complement representations of these integers?
Show that n is prime if and only if .
a) Define what it means for a and b to be congruent m odulo 7.
b) Which pairs of the integers-11,-8,-7,-1,0,3 and 17are congruent ?
c) Show that ifa and bare congruent m odulo 7, then 10a+13 and -4b+20 are also congruent m odulo 7.
What do you think about this solution?
We value your feedback to improve our textbook solutions.