Quiz Chapter 01.04: Binary Representation of Numbers

MULTIPLE CHOICE TEST

(All Tests)

BINARY REPRESENTATION

(More on Binary Representation)

INTRO TO SCIENTIFIC COMPUTING

(More on Scientific Computing)


Pick the most appropriate answer


1. \left(25\right)_{10}=\left(?\right)_{2}

 
 
 
 

2. \left(1101\right)_{2}=\left(?\right)_{10}

 
 
 
 

3. \left(25.375\right)_{10}=\left(?.?\right)_{2}

 
 
 
 

4. Representing \sqrt{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

 
 
 
 

5. 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

 
 
 
 

6. 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