CodeWorkout Sample Exam - Arrays

Score: 0 / 16.0

Sample APSCA Exam-style, hidden feedback.


Exercises

0 / 2.0

Given two int arrays a and b, each with two elements, return a new array with four elements containing all the elements of a followed by...

0 / 2.0

Return the centered average of an array of ints, which we'll say is the mean average of the values, except ignoring the largest and...

0 / 2.0

Given an array of ints, return true if the sum of all the 2's in the array is exactly 8.