For this 1331 exams, I understand that: It is a closed book…

For this 1331 exams, I understand that: It is a closed book exam No notes are allowed No restroom breaks allowed No handheld calculator allowed No headphones are allowed (unless you have documented accommodations with disability services) No hats are allowed I cannot take the exam in a public area There should not be excessive background noise My face must be clearly visible (i.e. use of face coverings are not permitted during the exam) ONE sheet of scratch paper is allowed (make sure to show both front and back in recording when prompted)

Complete the Javadoc comments for the following method:    …

Complete the Javadoc comments for the following method:     1     Computes the number of hours it will take to prepare   all the orders.     2   orders The list of all orders     3   Method returns number of hours it will take to prep */ public double restaurant(String[] orders) {     double total = 0;     for (String s : orders) {          total += calculateTime(s); //calls private method     }     return total; }    1   : [1]   2   : [2]   3   : [3]