Computer Number System Questions with Solutions

112 questions71 easy40 medium1 hard

Computers store and process all data in binary, using only the digits 0 and 1. This topic covers the four number systems used in computing: binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16, using digits 0 to 9 and letters A to F). It covers converting numbers between these systems, binary arithmetic (addition, subtraction, multiplication and division), and complements (1's and 2's complement) used to represent negative numbers. The fastest conversions go through binary. Each octal digit equals a group of three binary digits, and each hexadecimal digit equals a group of four. To convert decimal to binary, divide by 2 repeatedly and read the remainders from bottom to top. Character encoding schemes such as ASCII and Unicode are also covered at a basic level. Practise the computer number system questions below, each with a step-by-step conversion.

  1. Q21.

    in binary is:

    A. 0.111101B. 0.101110C. 0.101111D. 0.110111
    mediumView solution ›
  2. Q22.

    in hexadecimal is:

    A. 29BB. 2C9C. 29CD. 39C
    mediumView solution ›
  3. Q23.

    Which of the following is equal to ?

    A. B. C. D.
    mediumView solution ›
  4. Q24.

    Which of the following is the largest?

    A. B. C. D.
    mediumView solution ›
  5. Q25.

    If , then the base is:

    A. 5B. 4C. 6D. 25
    mediumView solution ›
  6. Q26.

    If , then is:

    A. 29B. 1DC. 1CD. D1
    mediumView solution ›
  7. Q27.

    The octal equivalent of is:

    A. 14.5B. 12.4C. 15.4D. 14.4
    mediumView solution ›
  8. Q28.

    Determine the octal equivalent of

    A. B. C. D. None of the above
    mediumAsked in NIMCET 2020View solution ›
  9. Q29.

    Suppose the largest n-bit number requires 'd' digits in decimal representation. Which of the following relations between 'n' and 'd' is approximately correct?

    A. B. C. D.
    mediumAsked in NIMCET 2022View solution ›
  10. Q30.

    The binary equivalent of is

    A. B. C. D.
    mediumAsked in NIMCET 2014View solution ›
  11. Q31.

    The representation of a floating point binary number +1001.11 in 8 bit fraction and 6 bit exponent format is

    A. Fraction: 01001110, Exponent: 000100B. Fraction: 00001001, Exponent: 000011C. Fraction: 10010000, Exponent: 110000D. Fraction: 00100100, Exponent: 011000
    mediumAsked in NIMCET 2017View solution ›
  12. Q32.

    Consider the equation in some bases x and y. Then a possible set of values of x and y is

    A. 8, 12B. 12, 8C. 6 and 12D. 14 and 6
    mediumAsked in NIMCET 2017View solution ›
  13. Q33.

    Consider the equation , where x and y are unknown. The number of possible solutions is

    A. 4B. 5C. 6D. 7
    mediumAsked in NIMCET 2018View solution ›
  14. Q34.

    If N is a 16-bit signed integer, then the 2's complement representation of N is . The 2's complement representation of 8*N is

    A. B. C. D.
    mediumAsked in NIMCET 2019View solution ›
  15. Q35.

    The base (or radix) of the number system such that the following equation holds, , is

    A. 3B. 4C. 5D. 6
    mediumAsked in NIMCET 2019View solution ›
  16. Q36.

    Consider the following 4-bit binary numbers represented in the 2's complement form: 1101 and 0100. What would be the result when we add them?

    A. 0001 and no overflowB. 1001 and an overflowC. 0001 and an overflowD. 1001 and no overflow
    mediumAsked in NIMCET 2024View solution ›
  17. Q37.

    Consider an arbitrary number system with independent digits 0, 1 and A. If we generate the first few numbers in sequence as 00, 01, 0A, 10, 11, 1A and this process is continued to generate the numbers, then the position of 10A is ______

    A. 15B. 10C. 12D. 9
    mediumAsked in NIMCET 2024View solution ›
  18. Q38.

    The range of the exponent E in the IEEE 754 double precision (binary64) format is ______

    A. B. C. D.
    mediumAsked in NIMCET 2024View solution ›
  19. Q39.

    Let the given numbers 11001, 1001 and 111001 correspond to the 2's complement representation. Then with which one of the following decimal numbers do the given numbers match?

    A. -6, -6 and -6 respectivelyB. -7, -7 and -7 respectivelyC. -25, -9 and -57 respectivelyD. 25, 9 and 57 respectively
    mediumAsked in NIMCET 2024View solution ›
  20. Q40.

    Consider a 9-bit representation. Which of the following correctly gives the smallest number that can be represented in (i) 1's complement and (ii) 2's complement?

    A. (i) āˆ’256, (ii) āˆ’255B. (i) āˆ’255, (ii) āˆ’255C. (i) āˆ’255, (ii) āˆ’256D. (i) āˆ’256, (ii) āˆ’256
    mediumAsked in NIMCET 2025View solution ›
‹ PreviousPage 2 of 2