Difference between revisions of "Comparison operators assignment"
From WLCS
Line 1: | Line 1: | ||
'''Directions:''' | '''Directions:''' | ||
− | # Open a | + | # Open a Google Doc |
# Put your name at the top | # Put your name at the top | ||
− | # Save the file as | + | # Save the file as '''Comparison operators assignment''' |
− | # Complete the exercises below in this file. | + | # Complete the exercises below in this file. |
# Be sure to number each of your answers!! | # Be sure to number each of your answers!! | ||
+ | # Include the question with the answer | ||
+ | # Share the Google Doc with Mr. Bui | ||
'''References:''' | '''References:''' | ||
Line 24: | Line 26: | ||
'''Submit:''' | '''Submit:''' | ||
− | * | + | * Share the Google Doc with Mr. Bui |
Revision as of 10:04, 27 February 2013
Directions:
- Open a Google Doc
- Put your name at the top
- Save the file as Comparison operators assignment
- Complete the exercises below in this file.
- Be sure to number each of your answers!!
- Include the question with the answer
- Share the Google Doc with Mr. Bui
References:
Exercises:
- Evaluate the following comparisons as True or False
- Assume x = 6 and y = 4
- x > 2
- y <= x
- x == 2
- y != x
- x + 2 > y * 2
- y * x < x * y
- x + x >= y * y
- 2*(x-10) < 0
- y - 4 == x - 6
- x / y > y / x
Submit:
- Share the Google Doc with Mr. Bui