go to previous page   go to home page   go to next page

Answer:

Yes.

Table of Student Grades

StudentWeek
01234
0 99 42 74 83 100
1 90 91 72 88 95
2 88 61 74 89 96
3 61 89 82 98 93
4 93 73 75 78 99
5 50 65 92 87 94
6 43 98 78 56 99
gradeTable

Imagine a class of 7 students that have a quiz every week for 5 weeks. The instructor records the grades in a table. A particular cell of the table is designated by student number and week number. For example:

A compact notation for specifying a cell uses the row and column indexes like this:

gradeTable[ row ][ col ]

For example:

QUESTION 2:

What is:

gradeTable[ 0 ][ 0 ]
gradeTable[ 1 ][ 1 ]
gradeTable[ 3 ][ 4 ]
gradeTable[ 5 ][ 2 ]