Due: Wednesday 11/20 10:00am
Submission name: work23.txt
Write your answers to the following questions in a plain text file (with a .txt extension). If you are not certain how to create a plain text file here are some suggestions:
Here are the questions, you could google them, but you can also answer them with the main principles of different base arithmetic we’ve discussed in class, notably:
- The digits in any base are 0 -> (base - 1).
- We use letters if the base is greater than 10.
- Each digit in a number represents that digit times a power of the base (starting at the 0 power going right to left).
Questions:
- What is the largest 8 digit binary number?
- What is the smallest 9 digit binary number?
- What is the decimal value of the largest 8 digit binary number?
- What is the largest 3 digit hexadecimal number?
- What is the smallest 4 digit hexadecimal number?
- What is the decimal value of the largest 3 digit hexadecimal number?
- What is the largest 1 digit hexadecimal number?
- What is the largest 1 digit hexadecimal number in binary?
- How many bits would you need to represent a 1 digit hexadecimal number?
- What would the binary representation of the third digit of the hexadecimal number DEAD16
- A (bad) computer science joke goes something like this:
There are 10 types of people in the world; Those that understand binary, and those that don’t.
- Explain the joke.
- (bonus round) Another computer science joke:
Why do computer programmers celebrate Christmas on Halloween? Because Oct31 = Dec25
- (bonus round) Another computer science joke:
- Explain the joke (half of it is decimal, the other half is a different base, neither binary nor hexadecimal).