0

Hello I'm just wondering (In terms of computer science)

If someone gave you a task about matrix, 2D arrays to:

Assign to each of the aij, the value 1000 + i + j?

Would you assume that

the array would have:

rows = 500
columns = 500

That's the 1000 bit..

Then 2 for loops:

i = (i=0; (i < 500);
j = (j=0; (j < 500);

Would this be an adequate assumption?

Thanks :)

2
Contributors
1
Reply
2
Views
5 Years
Discussion Span
Last Post by WaltP
0

No. I would ask for clarification. Making assumptions is prone to rewrites and lost revenues. Get a complete description so you don't have to guess.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.