7 min read
This study guide covers list operations in AP Computer Science Principles, focusing on basic operations, adding and removing elements, and looping. Key concepts include accessing elements by index, assigning values, inserting/appending/removing elements, determining list length, complete/partial traversal using for and while loops, and linear search. It also provides exam tips, focusing on common question types and high-priority topics like list traversal and modification, along with practice questions covering these concepts.
Give us your feedback and let us know how we can improve
Question 1 of 11
Given a list fruits = ['apple', 'banana', 'cherry']
, what is the output of print(fruits[1])
? 🍎
apple
banana
cherry
None