Binary and Hexadecimal Mastery Quiz Quiz

  1. Decimal to Binary Conversion

    What is the 8-bit binary representation of the decimal number 45?

    1. 00101101
    2. 00110101
    3. 00111001
    4. 00110110
    5. 01001101
  2. Hexadecimal to Decimal Understanding

    Which decimal value does the hexadecimal number '3C' represent?

    1. 60
    2. 54
    3. 38
    4. 42
    5. 63
  3. Colors in Hexadecimal

    In web design, which color does the hexadecimal code '#00FF00' represent?

    1. Green
    2. Blue
    3. Red
    4. Yellow
    5. Magenta
  4. Typo Trap in Binary

    Select the correct binary representation of decimal 100 from the following options.

    1. 1100100
    2. 1010100
    3. 1110010
    4. 1100001
    5. 1000110
  5. Hexadecimal Error Codes

    A computer displays the error code '0x1A'. What is this value in decimal?

    1. 26
    2. 21
    3. 12
    4. 41
    5. 16
  6. Binary Arithmetic

    What is the result of adding the binary numbers 1011 and 0110?

    1. 10001
    2. 1101
    3. 10101
    4. 10011
    5. 01101
  7. Hexadecimal Digits

    Which of these is NOT a valid single hexadecimal digit?

    1. G
    2. C
    3. F
    4. A
    5. 9
  8. Mixed Base Conversion

    What is the binary equivalent of the hexadecimal number '7F'?

    1. 01111111
    2. 11110000
    3. 01111100
    4. 10000001
    5. 11111110
  9. Scenario: Setting Bits

    If you set the 3rd least significant bit of binary 100100, what does the new binary value become?

    1. 100110
    2. 110100
    3. 100101
    4. 101100
    5. 110000
  10. Common Hexadecimal Mistake

    A student writes the hexadecimal number as '0x2G'. Is this a valid hexadecimal value and why?

    1. No, because 'G' is not a valid hexadecimal digit.
    2. Yes, it is correct hexadecimal.
    3. No, numbers cannot start with zero.
    4. Yes, but only if preceded by '0xH'.
    5. No, because '2G' is too long for hexadecimal.