Computer Science 121

Worksheet on Expressions

Compute the value of the following expressions:

  1. 10 - 5 - (10 + 7) % 3 
  2.  

     

  3. 15 + 30 / 5.0 * 2 - 9
  4.  

     

  5. 50 + 4 * 5 - 20 / 6
  6.  

     

  7. 10 % 3 + 10 / 3
  8.  

     

  9. 5 * 15.2 / 10 + 20 - 3 * 25