Definition: A list is a collection of elements that are ordered and can be accessed by their position. It is similar to a shopping list where items are listed in a specific order and can be referred to by their number.
Element: An element refers to an individual item or value within a list.
Index: An index is the position or location of an element within a list.
Access: Accessing refers to retrieving or obtaining the value of an element from a list using its index.
AP Computer Science Principles - 3.2 Data Abstraction
AP Computer Science Principles - 3.10 Lists
Study guides for the entire semester
200k practice questions
Glossary of 50k key terms - memorize important vocab
About Fiveable
Blog
Careers
Code of Conduct
Terms of Use
Privacy Policy
CCPA Privacy Policy
Cram Mode
AP Score Calculators
Study Guides
Practice Quizzes
Glossary
Cram Events
Merch Shop
Crisis Text Line
Help Center
About Fiveable
Blog
Careers
Code of Conduct
Terms of Use
Privacy Policy
CCPA Privacy Policy
Cram Mode
AP Score Calculators
Study Guides
Practice Quizzes
Glossary
Cram Events
Merch Shop
Crisis Text Line
Help Center
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.