Question 23: List Elements

Collecting Snacks for a School Picnic

  1. View the Current Snacks

    • Start with a list of snacks the students have already brought: apple, banana, carrot sticks, sandwich, juice box.

  2. Add More Snacks

    • Decide to add more snacks to the list, such as granola bar, cookies, and water bottle.

  3. Access Specific Snacks

    • Show a specific snack from the list (for example, the 3rd snack) to check what’s available.

  4. Remove Snacks

    • Remove the last snack added because it is no longer needed.

    • Remove another snack from the end to simplify the sharing plan.

    • Remove a specific snack from the middle of the list if it’s too messy to carry.

  5. Update Snacks

    • Change one of the snacks in the list (for example, replace carrot sticks with grapes) because the students prefer it.

Write what you are looking for, and press enter to begin your search!