NOTE: Alternative solutions are perfectly fine. Exercise 1 ----------- Board score: 10 Board score: 20 Board score: 40 Board score: 50 User score: 20 User1 score: 10 User2 score: 20 Board score: 50 Board score: 60 User score: 10 * Each correct answer is worth 1pts Exercise 2 ---------- correct return type (double) [2pts] correct initialization for sum (sum=0) [2pts] correct assignment in for loop (+=) [2pts] correct index in array coeff (coeff[i]) [2pts] correct return statement inside method body [2pts] Correct program: public static double weightedSum(int[] arr, double[] coeff){ double sum = 0; if (arr.length != coeff.length || arr.length == 0 ){ return 0; } for(int i=0; i < arr.length; i++){ sum+=arr[i] * coeff[i]; } return sum; } Exercise 3 ---------- Line that will cause compilation error: 3 [2pts] Reason: An object of the superclass can not be assigned to a variable of the subclass type The following result will be printed to the console (after commenting out line 3): [8 pts] Calling constructor of C1 Calling constructor of C1 Calling constructor of C2 Default constructor of C2 Exercise 4 ---------- Note: Alternative correct solutions are perfectly fine. Block B: [1pts] private String position; Block C: [1pts] this.name = name; this.position = position; Block D: [2pts] this(e.name, e.position); Block E: [2pts] return this.name.equals(e.name) && this.position.equals(e.position); Block F: [2pts] return this.position + " " + this.name; Block G: [2pts] private int from; private int until; Block H: [3pts] super(e); this.from=from; this.until=until; Block I: [3pts] super("Bob Brown", "Doctor"); this.from = 1; this.until = 9; Block J: [3pts] return this.until - this.from + 1; Block K: [3pts] return day >= from && day <= until; Block L: [3pts] return super.toString() + " is on vacation from " + this.from + " until " + this.until + " of January"; Block M: [1pts] this.vacationList = vacationList; Block N: [4pts] String res=""; for(int i=0; inums[i]){min=nums[i];} } return (sum-min-max)/(nums.length-2); }