var testScores testScores0 80 82 90 87 85 testScores1 79
var testScores = [];
testScores[0] = [80, 82, 90, 87, 85];
testScores[1] = [79, 80, 74, 82, 81];
testScores[2] = [93, 95, 89, 100, 85];
testScores[3] = [60, 72, 65, 71, 79];
This code creates a tabular structure that has
5 rows and 4 columns
4 rows and 5 columns
4 rows and 4 columns
5 rows and 5 columns
| a. | 5 rows and 4 columns | |
| b. | 4 rows and 5 columns | |
| c. | 4 rows and 4 columns | |
| d. | 5 rows and 5 columns |
Solution
Here is the given structure:-
var testScores = [];
testScores[0] = [80, 82, 90, 87, 85];
testScores[1] = [79, 80, 74, 82, 81];
testScores[2] = [93, 95, 89, 100, 85];
testScores[3] = [60, 72, 65, 71, 79];
And this will create a tabular structure that has 4 rows and 5 columns
![var testScores = []; testScores[0] = [80, 82, 90, 87, 85]; testScores[1] = [79, 80, 74, 82, 81]; testScores[2] = [93, 95, 89, 100, 85]; testScores[3] = [60, 72, var testScores = []; testScores[0] = [80, 82, 90, 87, 85]; testScores[1] = [79, 80, 74, 82, 81]; testScores[2] = [93, 95, 89, 100, 85]; testScores[3] = [60, 72,](/WebImages/36/var-testscores-testscores0-80-82-90-87-85-testscores1-79-1108350-1761587095-0.webp)