Help arrays computer science please Watch

sunflower69
Badges: 9
Rep:
?
#1
Report Thread starter 1 month ago
#1
What do I do (gcse)
Name:  9B3E474B-DCD1-4A13-9D48-22C5F4DE8B76.jpeg
Views: 9
Size:  155.0 KB
0
reply
winterscoming
Badges: 19
Rep:
?
#2
Report 1 month ago
#2
What problem are you having? you seem to have (almost) the right idea from the question you've answered so far.

Although it looks like you've circled the wrong '18' in that table. Arrays indexes are zero-based (i.e. 0, 1, 2, 3, etc.). so it looks like [5,2] would be Daniel's score for test 3.

So I would think the answer for (a)(1) would be print(scores[0,2]) instead to get the position of Anna's result for test 3
Last edited by winterscoming; 1 month ago
2
reply
sunflower69
Badges: 9
Rep:
?
#3
Report Thread starter 1 month ago
#3
I only saw the one 18 in the table, I think that’s what confused me. Thanks
(Original post by winterscoming)
What problem are you having? you seem to have (almost) the right idea from the question you've answered so far.

Although it looks like you've circled the wrong '18' in that table. Arrays indexes are zero-based (i.e. 0, 1, 2, 3, etc.). so it looks like [5,2] would be Daniel's score for test 3.

So I would think the answer for (a)(1) would be print(scores[0,2]) instead to get the position of Anna's result for test 3
0
reply
X

Quick Reply

Attached files
Write a reply...
Reply
new posts
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

How did your AQA A-level Chemistry Paper 3 go?

Loved the paper - Feeling positive (39)
30.71%
The paper was reasonable (61)
48.03%
Not feeling great about that exam... (13)
10.24%
It was TERRIBLE (14)
11.02%

Watched Threads

View All