Question 1

Given:

What is the result?
  • Question 2

    Given:

    What is the result?
  • Question 3

    Given the formula to calculate a monthly mortgage payment:

    and these declarations:

    How can you code the formula?
  • Question 4

    Given:

    You wants to make the reduction operation parallelized.
    Which two modifications will accomplish this?
  • Question 5

    Given:
    public class X {
    }
    and
    public final class Y extends X {
    }
    What is the result of compiling these two classes?