CS21A array exercises ideas


I’ll need to give another quiz on arrays – make sure they know how to
declare, create and use arrays. They also need to pay attention to the
length part.

They also need to practice using loops to go over an array.

- Reverse an array
- Check if something is a palindrome.
- Add a number to the end of an array.
- Insert a number into the middle of an array.
- Print out every other item in an array.