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

For this 1331 exam, 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) TWO sheets of scratch paper is allowed (make sure to show both front and back in recording when prompted)

Given the code below, what will be the value returned from t…

Given the code below, what will be the value returned from the method invocation shown? public static int mystery(int a, int b) {   if (a == 1 || b == 1) {        return 1;    } else {       return b + mystery(a / 4, b * 3);    }} int value = mystery(64, 3);