(Emailed to me by Saturday November 17th, 2007...each day late is a letter grade down!)
- What is an array?
- Why would you need to declare an array?
- How do arrays and loops work together?
- Use pseudocode to define an array with 50 elements. Make each element equal to 0.
- Use pseudocode to define an array of 10 elements. Put the names of three cities from Miami-Dade inside the first three positions of the array.
- Use pseudocode to loop through an array of 10 elements and determine whether or not each position in the array is bigger than 5.
- Arrays start at what position? (0? 1? 2? etc)
- Use pseudocode to create an array with 10 elements. Put 2 in the first, 4 in the second element and so on. The array should only contain even numbers that are multiples of 2 (last number will be 20).
- Use pseudocode to create an array with 5 student's scores on an exam. Using a loop and a logical comparison, sort the scores from smallest to largest.
- Use pseudocode to create an array with 5 student's scores on an exam. Using a loop and a logical comparison, sort the scores from largest to smallest.

No comments:
Post a Comment