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.

    Which of the following binary operations would give 111010 as the result? (All numbers in this question are in binary number system)

    A. 111111-1011B. 100101 + 10101C. 110001 + 10101D. 111101-101
    mediumAsked in TCS ExamView solution ›
  2. Q22.

    Which of the following is a binary number?

    A. 12B. 34C. 45D. 11
    easyAsked in TCS ExamView solution ›
  3. Q23.

    Which of the following is an example of binary number?

    A. 0101B. 0123C. 0202D. 0003
    easyAsked in TCS ExamView solution ›
  4. Q24.

    Which of the following is a binary number?

    A. 4343B. 109C. 1101101D. 1212
    easyAsked in TCS ExamView solution ›
  5. Q25.

    Which among the following is not a binary number?

    A. 11B. 01C. 22D. 10
    easyAsked in TCS ExamView solution ›
  6. Q26.

    ASCII stands for

    A. American Standard Code for Information InterchangeB. American Stable Code for International InterchangeC. American Standard Case for Institutional InterchangeD. American Standard Code for Interchange Information
    easyAsked in TCS ExamView solution ›
  7. Q27.

    ASCII is used for information exchange among data processing system, data communication system and associated equipments. Which set of coded characters are used by ASCII?

    A. 5 bitB. 7 bitC. 12 bitD. 32 bit
    easyAsked in TCS ExamView solution ›
  8. Q28.

    Which coding system allows non-English characters and" special characters to be represented?

    A. ASCIIB. UnicodeC. EBCDICD. ANSIC
    easyAsked in TCS ExamView solution ›
  9. Q29.

    Which of the following is not a binary number?

    A. 11101B. 110C. 233D. 1001
    easyAsked in TCS ExamView solution ›
  10. Q30.

    Let and be two 8-bit 2's complement numbers. Their product in 2's complement notation is

    A. 11000100B. 10011100C. 10100101D. 11010101
    mediumAsked in NIMCET 2012View solution ›
  11. Q31.

    The range of numbers that can be stored in 8 bits, if negative numbers are stored in 2's complement form, is

    A. -128 to +128B. -128 to +127C. -127 to +128D. -127 to +127
    easyAsked in NIMCET 2012View solution ›
  12. Q32.

    is equivalent to

    A. B. C. Both (A) and (B)D. None of these
    mediumAsked in NIMCET 2012View solution ›
  13. Q33.

    When two binary numbers are added, an overflow will never occur if

    A. both numbers have the same signB. the carry into the sign bit position and the carry out of the sign bit position are not equalC. the carry into the sign bit position and the carry out of the sign bit position are equalD. the carry into the sign bit position is 1
    mediumAsked in NIMCET 2011View solution ›
  14. Q34.

    The binary sum 11010 + 01111 equals

    A. 101001B. 101010C. 110101D. 101000
    easyAsked in NIMCET 2011View solution ›
  15. Q35.

    The least significant bit of the binary number equivalent to any odd decimal number is

    A. 0B. 1C. 1 or 0D. All of the above
    easyAsked in NIMCET 2011View solution ›
  16. Q36.

    The ASCII code of 'A' is

    A. 66DB. 41HC. 01000010D. 01100011
    easyAsked in NIMCET 2011View solution ›
  17. Q37.

    An eight-bit byte is capable of representing how many different characters?

    A. B. C. D.
    easyAsked in NIMCET 2011View solution ›
  18. Q38.

    If , then the value of is

    A. B. C. Both (A) and (B)D. None of these
    mediumAsked in NIMCET 2010View solution ›
  19. Q39.

    To change an upper-case letter to the lower-case letter in ASCII, the correct mask and operation should be:

    A. and NORB. and NANDC. and ORD. None of these
    mediumAsked in NIMCET 2009View solution ›
  20. Q40.

    A computer with a 32-bit word size uses 2's complement to represent numbers. The range of integers that can be represented by this computer is:

    A. to B. to C. to D. to
    easyAsked in NIMCET 2009View solution ›