As explained in the syllabus, the homework problems--as opposed to
the lab assignments--are not collected or graded. But you should
definitely try to do them before you
look at the posted solutions, as they are typical of the kinds of
problems you will see on quizzes and tests.
Well, if the problems
aren't collected or graded, I guess there's no such thing as really
cheating. But you can check your answers to these questions using
a calculator that's built into Google. You denote values in
binary by preceding them with "0b", and values in hex by preceding them
with "0x". Type
"0b1101001 in decimal"
and Google will do the base conversion for you. If you type
"0x3ae2 * 0x5a4f ="
it will display the product in hex. (I find it amusing that you can send these arithmetic problems over the Internet and have a computer in California solve them for you!)
As I say, that's fine for checking your results, but you really do need to know how to figure these answers out on your own. So take the time to learn the algorithms and apply what you learned to these examples.1. Write, in ordinary decimal notation, the integer whose binary
representation
is 11011001.
2. Write the binary
representation of one hundred sixty-nine
4. Add 100101 and 11101011 in binary. Don't do this
by
converting
to decimal, adding, and then converting back to binary, do the entire
problem
in binary. Now multiply 11010 and 10111 in binary.
8. In the directory of numbers in my cell phone, there is a
number
labeled.
and another labeled
This directory is presumably in alphabetical order, but "HOWARD WORK" comes before "Home". Why is that?