Difference between revisions of "Comparison operators assignment"

From WLCS
Line 6: Line 6:
 
# Be sure to number each of your answers!!
 
# Be sure to number each of your answers!!
 
# Include the question with the answer
 
# Include the question with the answer
# Share the Google Doc with Mr. Bui
+
# Submit your assignment via [http://classroom.google.com Google Classroom]
  
 
'''References:'''
 
'''References:'''
Line 26: Line 26:
  
 
'''Submit:'''
 
'''Submit:'''
* Share the Google Doc with Mr. Bui
+
* Submit your assignment via [http://classroom.google.com Google Classroom]

Revision as of 09:23, 12 September 2014

Directions:

  1. Open a Google Doc
  2. Put your name at the top
  3. Save the file as Comparison operators assignment
  4. Complete the exercises below in this file.
  5. Be sure to number each of your answers!!
  6. Include the question with the answer
  7. Submit your assignment via Google Classroom

References:

Exercises:

  • Evaluate the following comparisons as True or False
  • Assume x = 6 and y = 4
  1. x > 2
  2. y <= x
  3. x == 2
  4. y != x
  5. x + 2 > y * 2
  6. y * x < x * y
  7. x + x >= y * y
  8. 2*(x-10) < 0
  9. y - 4 == x - 6
  10. x / y > y / x

Submit: