Homework 3

  1. What is your name? __________________

  2. What is log29101 ? ___________________ (to four decimal places; on the quiz I'll ask for the ceiling or floor)

  3. What is 20 mod 11 ? ___________________ What is 11 mod 20 ? ___________________

  4. Convert the following numbers to standard scientific notation (place the decimal point just to the right of the most significant digit.)
    a.	.0013			____________________________
    
    b.	130000			____________________________
    
  5. Convert the following numbers which are stated in standard scientific notation to expanded form (our usual way of writing decimal numbers).
    a.	2.82 x 104		____________________________
    
    b.	2.82 x 10-3		____________________________
    
    c.	2.82 x 100	____________________________
    
  6. Assume that we are using the following system for storing real numbers. The system is defined as follows:
    1 bit:sign, 0 for positive, 1 for negative
    5 bits:exponent stored in excess-15 notation
    10 bits:mantissa

    a.	What would    -0.6 look like in memory?   	_____________________
    
    b.	What would     15.34375   look like in memory?  	_____________________
    
    c.	What value does 0100111011011110 represent? 	_____________________
    
  7. What is the ASCII representation, in decimal, hexadecimal, and binary of
    a.   Uppercase Q   ________ (decimal)  _________ (hex) ___________ (binary)
    
    b.   Question mark  ________ (decimal)  _________ (hex) ___________ (binary)
    
  8. Using the EBCDIC character set in Table 1.5 on page 62 of your text, and the memory dump of Figure 1.17b on page 60 of your text, what characters are at the following memory locations?
    a.      02A0B2          ____________________________
    
    b.      02A049          ____________________________
    
    c.      02A03B          ____________________________
    
  9. Using the EBCDIC character set in Table 1.5 on page 62 of your text, and the memory dump of Figure 1.17b on page 60 of your text, specify the address of a memory location that contains the letter your first name begins with.
                                   Address ________________