Test 1 CMSC 2100 Fall 2024


  1. Number Identification: For $3426501_9$
    1. [2 points] What is the base for the given number?
    2. [2 points] What is the lest significant digit for the given number?
    3. [4 points] Provide the expansion showing each digit and the associated weight for the given number.

  2. Binary representation
    1. [2 points] What is the base for the binary number system?
    2. [2 points] What is the set of digits for the binary number system?
    3. [2 points] Define bit.
    4. [2 points] Define byte.

  3. Conversions to binary
    1. [4 points] Give the algorithm for converting a number from base 10 to base 2
    2. [4 points] Convert 327 to binary. Show all work.

  4. Hexadecimal
    1. [2 points] Convert $10110101101_2$ to hexadecimal. Show all work.
    2. [2 points] Covert $AFC3_{16}$ to binary. Show all work.
    3. [2 points] Why is hexadecimal used?

  5. Floating Point
    1. [2 points] Define precision
    2. [2 points] Define gap
    3. [4 points] Represent 3.125 in binary. Show all work.

  6. For the logical or operator
    1. [2 points] Provide a sentence in English that describes the operator.
    2. [2 points] Provide the mathematical expression for the operator.
    3. [2 points] Provide the truth table for the operator.
    4. [2 points] Provide the circuit symbol for the operator.

  7. [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."