HTTP/1.0 200 OK Content-type: text/html Test 5 -- Expressions

,6/1 12:54 CDT,Due date-->9/20/2003 10:00 CDT

  1. Check all of the following expressions that evaluate to +4.
    1) 31/7
    2) 26%8
    3) -( 11- 15)
    4) 11-7

  2. Which expression is equivalent to the formula B squared minus 4AC?
    1) BxB-4AC
    2) B*B-(A*C)*4
    3) B*2-4*A*C
    4) B^2-A*4*C

  3. What is the value of 7+9?
    1) 79
    2) 15
    3) 16
    4) 14

  4. What is the value of 7-9?
    1) -2
    2) -1
    3) -3
    4) 0

  5. What is the value of 7*9?
    1) 63
    2) 62
    3) 70
    4) 69

  6. What is the value of 17%5?
    1) 85
    2) 1
    3) 3
    4) 2

  7. What is the value of 70/5?
    1) 14
    2) 13
    3) 15
    4) 17

  8. What is the value of 7^2?
    1) 42
    2) 49
    3) 56
    4) 14

  9. What is the value of 7+(3*4)?
    1) 40
    2) 19
    3) 33
    4) 14

  10. Is binary addition +
    1) a preceder
    2) left associative
    3) right associative
    4) left parenthesized

  11. What is the value of (83.0*6.9e+1+1.5-79.0*63.0/2.0)?
    1) -900.0
    2) -210.0
    3) 480.0
    4) 1170.0

  12. What is the value of math.sqrt( 49)?
    1) 7
    2) 8
    3) 9
    4) inf

  13. What is the value of math.sin(0.5)?
    1) pi
    2) -pi
    3) 0.479
    4) -0.623