Instructions
Complete the following questions to practice your understanding of arrays and division. Write your answers in the spaces provided.
1. Given the array [12, 20, 15, 18], divide each element by 3 and list the results.
2. Create an array of 5 numbers and divide each number by 2. Show your work and include the original array and the resulting array.
3. If you have an array [24, 30, 36] and you divide each element by 6, what will the new array be?
4. Explain how dividing an array of numbers by a common factor affects the mean of the array.
5. Application Problem: You have an array representing exam scores [85, 90, 75, 95]. If you want to normalize these scores by dividing each by 5, what would the new scores be? Why might you want to do this?
6. Challenge Question: Write a short algorithm in pseudocode that takes an array of numbers and divides each element by a given divisor. Include error handling for division by zero.
Thank you for completing this worksheet! Take a moment to review your answers and ensure they are accurate.