AP® Computer Science A glossary
Data set
Course: AP® Computer Science A Shows up in: Unit 4: Data Collections
A collection of specific pieces of information or data, such as a week of temperatures or a list of scores.
Appears in the course and exam description (CED): 4.2.A.14.2.A.24.2.A.34.1.C.1
A program answers a question about a data set by accessing its values one at a time and processing each one, for example adding it to a total. A table or chart of the data helps plan that algorithm. In Java, a data set is usually stored in an array, an ArrayList or a text file.