

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


The fourth quiz for the course will be on Wednesday, April 29 at the beginning of the class (2:00 pm). The following list provides more information about the quiz:
The quiz will be a written quiz (no computer). Closed book, closed notes quiz. Answers must be neat and legible. We recommend that you use pencil and eraser.
The following exercises cover the material to be included in this quiz. Solutions to these exercises will not be provided, but you are welcome to discuss your solutions with the TA or instructor during office hours. You do not need to define a main() function or
function sum(array1);
The function takes a two-dimensional array of integers ( array1 ) as parameter and returns a one-dimensional array where each entry of the one-dimensional array corresponds to the sum of the values of each row of array1. For example if array1 is:
10, 20, 30 50, 40 60, 9
sum will return
60, 90, 69