Sunday, December 27, 2009

How do parallel arrays affect programming efficiency?

To understand this, you need to understand that an array is a simple data type, meaning that it can ONLY store ONE type of data within it, even though it can store multiple values.





An array is basically like a list, of the same items. You can have a two dimensional list as well, but they still MUST be the same type of item.





A parallel array comes in to play when you CANT use a two dimensional array to store values, like when you need to store related information that IS NOT the same data type. For example, I have a list of names of cars, and how many cars I have total, these are different datatypes so I cant make a two dimensional array with them, but they are still related, so I will make a parallel array.





Therefore it is an idea that would make things that are otherwise almost impossible, possible, and because hard coding values is time consuming and sucks.How do parallel arrays affect programming efficiency?
Parallel is faster.How do parallel arrays affect programming efficiency?
u mean jumper system, dont do that u just making mistakes the standard devices going burning the elements

No comments:

Post a Comment