logo Practice-It logo

expressions

Language/Type: Java expressions mod
Author: Kimberly Todd (on 2010/12/28)

For each expression in the left-hand column, indicate its value in the right-hand column. Be sure to list a constant of appropriate type. (e.g., 7.0 rather than 7 for a double, Strings in "quotes", true or false for a boolean).

3 + 4 * 5 / 2
13 % 5 + 43 % (11 % 3)
1.5 * 3.0 + 25.0 / 10.0
7 / 2 != 123 / 12 % 7
5 / 2 + 123 / 10 / 10.0
5 + 2 + "(1 + 1)" + 4 + 2 * 3

You must log in before you can solve this problem.


Log In

If you do not understand how to solve a problem or why your solution doesn't work, please contact your TA or instructor.
If something seems wrong with the site (errors, slow performance, incorrect problems/tests, etc.), please

Is there a problem? Contact a site administrator.