Arrays group similar data together
It saves you DIM DIM DIM DIM
e.g. DIM NAMES(10) as STRING
Initialising means Create or Blank an array.
Initialising
Creating is NAME + SIZE + DATA TYPE (3 marks)
or
Blanking is:
For Slot = 1 to end
Array(slot) = 0
Next
Creating is NAME + SIZE + DATA TYPE (3 marks)
or
Blanking is:
For Slot = 1 to end
Array(slot) = 0
Next
A FOR loop will go from beginning to end for 3 marks in the exam
A DO WHILE loop allows you to report on a full array or a search being successful for 5 marks in the exam
No comments:
Post a Comment