| Conjecture | Integer variable (named rainfall) | An array of integers (named rainfall) |
| Holds data | ||
| Holds multiple values simultaneously | ||
| Can use = to assign to another variable | ||
| When used as a parameter, it is passed using the call by value convention | ||
| rainfall[0] is syntactically valid | ||
| Can compare to another variable using == | ||
| rainfall = {1,2,3,4,5} is legal |
| Conjecture | Integer variable (named rainfall) | An array of integers (named rainfall) |
| Holds data | True | True |
| Holds multiple values simultaneously | False | True |
| Can use = to assign to another variable | True | False |
| When used as a parameter, it is passed using the call by value convention | True | False |
| rainfall[0] is syntactically valid | False | True |
| Can compare to another variable using == | True | False |
| rainfall = {1,2,3,4,5} is legal | False | False (this is tricky since this isn't a declaration of the array; this is not valid notation in an assignment statement) |