Learning objectives
Declare a one-dimensional array of a stated size and data type, store values in it using an index, and traverse it with a FOR loop
Declare and use a two-dimensional array, and use nested FOR loops to read or write every element by row and by column
Write programs that use an array to total, to count, to search for a given value and to find the largest and smallest entries
Write program code that opens a text file, writes a line of data to it, reads it back line by line until the end of the file is reached, and closes the file afterwards
Write a program that reads the contents of a file into an array, processes the data and writes the results back out to a file
Continue with a revision plan
These learning objectives are available to everyone. Sign in with an eligible plan to read the full note and worked examples.
