about | help | code help+videos | done | prefs |
siochi@cnu.edu quizpractice
The following are more focused practice problems for the quiz.
No LoopsisEmpty determine if an array is empty
grayScale compute the grayscale value from the r, g, b values
Loops
addOneTo add one to each element in the array, using a loop
addTo add an int to each element in the array, using a loop
reverse H reverse an array
Running Sums, etc.
arrayAve H calculate the average of the elements in the array, using a loop and a running sum
findMax H find the maximum value in an int array
Creating an array
addArrays H add the corresponding elements of two arrays, using a loop and creating a new array
Copyright Nick Parlante 2017 - privacy