logo CodeStepByStep logo

ExpressionsExam1

Language/Type: VB expressions Mod

Trace the evaluation of the following expressions, and give their resulting values. Make sure to give a value of the appropriate type (such as including "" quotes around a String or a .0 at the end of a Double).

3 * 4 + 5 * 6 + 7 * -2
1.5 * 2.0 + (5.5 / 2) + 5 \ 4
23 Mod 5 + 31 \ 4 Mod 3 - 17 Mod (16 Mod 10)
"1" + 2 + 3 + "4" + 5 * 6 + "7" + (8 + 9)
345 \ 10 \ 3 * 55 \ 5 \ 6 + 10 / (5 / 2.0)
1 \ 2 > 0 Or 4 = 9 Mod 5 Or 1 + 1 < 1 - 1

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.