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.

Learn it properly, with a checkpoint 4.2 Introduction to Using Data Sets

Related terms

Was this page helpful?

No names are ever shown, and every public comment is checked by us first. Please do not include personal details. To get a reply, email [email protected].

↑ Top

Enlarged view of the selected figure