Holistic Numerical Methods Institute

committed to bringing numerical methods to undergraduates

Multiple Choice Test

Binary Representation

 

Q1. (25)10=(?)2

  100110

  10011

  11001

  110010

 


Q2. (1101)2=(?)10

  3

  13

  15

  26

 


Q3. (25.375)10=(?.?)2

  100110.011
  11001.011

  10011.0011

  10011.110

 


Q4. Representing √2 in a fixed point register with 2 bits for the integer part and 3 bits for the fractional part gives a round off error of most nearly

  -0.085709

  0.03921

  0.1642

  0.2892

 


Q5. An engineer working for the Department of Defense is writing a program that transfers non-negative real numbers to integer format.  To avoid overflow problems, the maximum non-negative integer that can be represented in a 5-bit integer word is

  16
  31

  63

  64

 


Q6. For a numerically controlled machine, integers need to be stored in a memory location.  The minimum number of bits needed for an integer word to represent all integers between 0 and 1024 is

  8
  9
  10

  11

 


 

       

> Home > Quizzes > Intro to Sci Comp