Computer Science 252
Problem Solving with Java
Spring 2015, The College of Saint Rose
Agenda
Due at the start of class, Tuesday, January 20.
Please submit answers to these questions in Submission Box under "LA2" or in hard copy by the start of our next class. We will discuss these questions at the start of class, so no late submissions are accepted. Please be sure that your name is clearly indicated in all submissions.
int x = 7; int y = -3; int z = 1; double a = 7.5;
a.
x - z > y
b.
x/2 + y
c.
x/2.0 + y
d.
a/2 + z
e.
a + x * y + z
f.
!(x > z) && (a + x + y + 12 < 32) && (a * a * a / 4 == 12)
g.
true || (x * y * z / a < 11)
For this assignment, this part of which is due on February 6 (though you are strongly encouraged to complete them sooner) choose two topics in which you feel you need some practice and run through the "Tutor" for that topic. When you finish, you will be given a code that verifies your successful completion. Email those codes for 15 points for each of the first 2 tutorials completed.
If you find these useful and would like more practice, you can earn 10 bonus points for each additional tutorial you complete by February 6.
Terminology
Examples