Throughout this course, you've learned to create arrays, access items with first
and last
properties, add items with .append()
, remove items with .removeFirst()
and .removeLast()
, and count items with .count
.
Let's combine all these skills to become a true array master!
Engagement Message
Ready to demonstrate your comprehensive array abilities?
Type
Fill In The Blanks
Markdown With Blanks
A program manages a playlist. Complete the operations to create a playlist, add a song, and check the total number of songs:
Suggested Answers
- "Stairway to Heaven"
- append
- count
- first
Type
Sort Into Boxes
Practice Question
Sort these array operations into the correct categories based on what they do:
Labels
- First Box Label: Modify Array
- Second Box Label: Access Info
First Box Items
- .append()
