Test 1 CMSC 2100
Fall 2024
- Please answer each question fully, carefully and thoughtfully.
- No credit will be given for unreadable answers, please write neatly.
- Answer the questions in any order, but please number each answer.
- Make sure that your name is on your test.
- Please show all computations.
- You may use a calculator, but write down intermediate steps
- If the purpose of the question is to demonstrate an algorithm or technique and you do not show your computations, the answer will be marked incorrect.
- Number Identification: For $3426501_9$
- [2 points] What is the base for the given number?
- [2 points] What is the lest significant digit for the given number?
- [4 points] Provide the expansion showing each digit and the associated weight for the given number.
- Binary representation
- [2 points] What is the base for the binary number system?
- [2 points] What is the set of digits for the binary number system?
- [2 points] Define bit.
- [2 points] Define byte.
- Conversions to binary
- [4 points] Give the algorithm for converting a number from base 10 to base 2
- [4 points] Convert 327 to binary. Show all work.
- Hexadecimal
- [2 points] Convert $10110101101_2$ to hexadecimal. Show all work.
- [2 points] Covert $AFC3_{16}$ to binary. Show all work.
- [2 points] Why is hexadecimal used?
- Floating Point
- [2 points] Define precision
- [2 points] Define gap
- [4 points] Represent 3.125 in binary. Show all work.
- For the logical or operator
- [2 points] Provide a sentence in English that describes the operator.
- [2 points] Provide the mathematical expression for the operator.
- [2 points] Provide the truth table for the operator.
- [2 points] Provide the circuit symbol for the operator.
- [4 points] Moore's law states that the number of transistors on a chip will double every n years. (where 1 ≤ n ≤ 3). Explain how this is equivalent to "The power of a processor will double every n years."