This document contains questions about binary, hexadecimal, floating point, and other computer number representations. It asks about topics like:
- Why 1024 bits is considered 1 kilobit
- Implementing NAND logic with resistors
- IEEE single precision floating point format
- Converting between number bases and representations like binary, octal, hexadecimal
- Storing signed and unsigned integers in fixed widths
- Floating point exponent and mantissa representations
- Arithmetic operations on computer numbers
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
171 views
Number System Related Interview/Test Questions
This document contains questions about binary, hexadecimal, floating point, and other computer number representations. It asks about topics like:
- Why 1024 bits is considered 1 kilobit
- Implementing NAND logic with resistors
- IEEE single precision floating point format
- Converting between number bases and representations like binary, octal, hexadecimal
- Storing signed and unsigned integers in fixed widths
- Floating point exponent and mantissa representations
- Arithmetic operations on computer numbers
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3
1) what is the logic behind taking 1024bits as 1 K bit?
2) implement the NAND logic using a 5 V supply and 2 resistors
3) ieee single precision format for 1/5. form : 1 signbit, 8 bits for exponent, 23 bits for mantissa 4) Give Binary representation of -125.375 in fixed point 2C notation with 3 bits for fractional part and 8 bits for integer part. 5) Given a 4 bit binary number design a circuit that gives square of the number. 6) A binary number is enormously large, so it is divided by a fixed number and the remainder is used.What is this called and why it is called so???? 7) consider a numeric system with base 20,which is a simple extension to the hexadecimalsystem such that the letter A,B,C,D,E,F,G,H,I and J stand for the decimal number 10,11,12,1,14,15,16,17,18and 19 respectively. The value IA in above system is equivalent to :ans (c ) 562 in the octal system. 8) If a signed integer is stored in a 8 bit memory element ,which of the following is true/ ans (a) the minimum value of the integer possible is -128 9) assume the following convention for storing real numbers of size 10 bits in mantissaexponent form: Mantissa :6 MSB bits, stored in 2,s complement Exponent:4 LSB ,stored in excess 4 form. Under the above rule the decimal number corresponding to 1,110,11,0111 10) in
given 6 bit mantissa in 2s complement form and 4 bit exponent is
excess-4 form in a floating point representation, find the number
ans -(something) * ( 2 to the power 3) 11) in a machine a flating point number is represented in 2's complement mantissa 6 MSB exponent 4 LSB(excess 4 form) then 01101_0111(10 bits) ans .656 * 2exp(-3) 12) How many nibbles are there in 111001010100? 13) in usual computer arthemetic, the value of the integer expression 22/5*2+8*2/6 ans:10 14) An 8kb computer will bave addresses ----ans:8191 15) an ASCII text file containing 500 characters will have size approximately ans:500bytes
16)
In BCD,the decimal number 516 is
ans:10101110 17) The octal equivalant of hexa number 123 is ans:443 18) the 2's complement number of 110010 is 19) 'ABCDEFGHIJ' is a number. A is the number of 0s. B is the number of 1s etc J is the number of 9s What is the number? 20) A 5 digit number is appended with 7(on right of units place) and multiplied by 5 then the result is similar to intial no with 7 on the left most digit (most significant digit). Find the 3rd digit in the initial number ans = abcde7 *5 ------------7abcde Therefore, e=5, b=8, c=2 answer: c=2 21) abcdefghij a=no of zeros in the no b= no of ones in the no c= no of twos so on wht is the sum of digts a.10 b.55 c.9 d. ans 10 number is 6210001000 22)
Two binary numbers a and b its one's complement are
for a=0100 for b=1001 What is the decimal addition of a&b.? 23) what is the representation in -2 box for 3 and -3 ? only 0 an 1 are allowed. 24) The max. value and min. value of 16-bit 2's complement (hex, dec,
binary)? 25) The max.,min. value of 16-bit 1's complement (hex, dec, binary)?