Computer Number System Questions with Solutions
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.
- Q81.
'Floating point representation' is used to represent
A. IntegersB. Whole NumbersC. Real NumbersD. Boolean ValueseasyAsked in NIMCET 2022View solution āŗ - Q82.
The decimal equivalent of the hexadecimal operation A10 + B21 is
A. 5425B. 5246C. 2849D. 5344easyAsked in NIMCET 2014View solution āŗ - Q83.
What is the 2's complement of 0011 0101 1001 1100?
A. 1100 1010 1100 1011B. 1100 1010 0110 0011C. 1100 1010 0110 0100D. 1100 1010 1111 1111easyAsked in NIMCET 2014View solution āŗ - Q84.
Multiplication of by is
A. B. C. D.easyAsked in NIMCET 2014View solution āŗ - Q85.
What is the 8 bit 2's complement representation of the negative integer ā93?
A. 10100011B. 10100010C. 0XA2D. None of theseeasyAsked in NIMCET 2014View solution āŗ - Q86.
How many bytes are there in a nibble?
A. one-fourthB. halfC. 2D. 4easyAsked in NIMCET 2014View solution āŗ - Q87.
The result of multiplication of the numbers and in hexadecimal form is
A. 609B. 216C. 261D. 906easyAsked in NIMCET 2014View solution āŗ - Q88.
The binary equivalent of is
A. B. C. D.mediumAsked in NIMCET 2014View solution āŗ - Q89.
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: 011000mediumAsked in NIMCET 2017View solution āŗ - Q90.
Which of the following is the representation of decimal number (ā147) in 2's complement notation on a 12-bit machine?
A. 111101101100B. 110001001101C. 111101101101D. 000001101101easyAsked in NIMCET 2017View solution āŗ - Q91.
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 6mediumAsked in NIMCET 2017View solution āŗ - Q92.
The smallest integer that can be represented by an 8 bit number in 2's complement form is
A. ā256B. ā128C. ā127D. ā255easyAsked in NIMCET 2017View solution āŗ - Q93.
Consider the equation , where x and y are unknown. The number of possible solutions is
A. 4B. 5C. 6D. 7mediumAsked in NIMCET 2018View solution āŗ - Q94.
What are the values of and respectively in the expression ?
A. 8, 16B. 16, 8C. 8, 12D. 16, 12easyAsked in NIMCET 2018View solution āŗ - Q95.
In order to store floating-point numbers in a computer using the normalized representation and 32-bit single precision, the numbers of bits used for the exponent and the fraction are __________ and __________ respectively.
A. 11, 21B. 16, 15C. 16, 16D. 8, 23easyAsked in NIMCET 2018View solution āŗ - Q96.
In IEEE single precision floating point representation, the exponent is represented in ______
A. 8 bit Sign-magnitude representationB. 8 bit 2's complement representationC. Biased exponent representation with a bias value 127D. Biased exponent representation with a bias value 128easyAsked in NIMCET 2019View solution āŗ - Q97.
With 4-bit 2's complement arithmetic, which of the following additions will result in overflow?
A. 1111 + 1101B. 0110 + 0110C. 1101 + 0101D. 0101 + 1011easyAsked in NIMCET 2019View solution āŗ - Q98.
If the 2's complement representation of a number is , what is its equivalent hexadecimal representation?
A. B. C. D.easyAsked in NIMCET 2019View solution āŗ - Q99.
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 āŗ - Q100.
The base (or radix) of the number system such that the following equation holds, , is
A. 3B. 4C. 5D. 6mediumAsked in NIMCET 2019View solution āŗ