Quiz | Posted (Thursdays) |
Given in class (Thursdays) |
||
---|---|---|---|---|
31 | Aug | 7 | Sep |
You will fare better on the quiz if you try working the problems before looking at the solutions. If you don't understand the question or its answer, please get help.
a. (50 - 5 * 4) / 10 - 7 b. 12 + -5 * 2 + 6 / 3 c. 1 + 2 + 3 + 4 + 5 + 1 * 2 * 3 * 4 * 5
a. (-b - Math.sqrt(b * b - 4*a*c)) / (2*a) b. a + (b * c) - ((d * f) / e) - g c. a + b * c - d * f / e - g
a. "this " + "string " + "has " + "spaces " b. "this" + "string" + "has" + "no" + "spaces" c. "the sum of " + 6 + " + " + 10 + " is " + (6 + 10) d. "the sum of " + "6 + 10" + " is " + (6 + 10) e. 6 + 10 + " equals " + (6 + 10) f. "" + 6 + "+" + 10 + " equals " + 6 + 10
a. 3 > 7 b. (3 > 7) || (4 < 9) c. 135 == 100 + 35 d. (true && false) || (true || false) e. (3 > 7) || ((10 < 9) == (3 == 8)) f. false || !(3 > 7)
a. 7 / 2 b. 7.0 / 2 c. ((7 / 2) == (7.0 / 2)) d. "x = " + 6 e. 6 + " = x" f. ((6 * 3) / 80) / (35 - 7 * 5) g. 1 / 2
a. the area of a circle with radius r b. the circumference of a circle with radius r c. the perimeter of a rectangle with height h and width w d. the volume of a cylinder with radius r and height h e. the length of the hypotenuse of a rectangle with height h and width w f. the area of a right triangle with height h and width w