Title: Module 8 - Arrays
Course: COP 2551 Intro to Object Oriented Prog > Section: Module 8 - Arrays

Introduction

An array is a simple but powerful high-level programming language construct used to group and organize data. When writing a program that manages a large amount of information, such as a list of 1,000 names, it is not feasible to declare separate variables for each piece of data. Arrays solve this problem by letting programmers declare one variable that can hold multiple values.

In this module, you will learn the syntax and grammar of array declarations, instantiations, and manipulations. Element numbering is an important concept to master. Index bounds checking is automatic, helping prevent errors and exceptions that would stop program execution.

Objectives

Upon completion of this module, the student will be able to:

- Define and use arrays for basic data organization.
- Discuss bounds checking and techniques for managing capacity.
- Discuss the issues related to arrays as objects and arrays of objects.
- Describe the syntax and use of variable-length parameter lists.
- Discuss the creation and use of multidimensional arrays.

Readings & Resources

Chapter 8, Sections 1 - 6 Java Software Solutions: Foundations of Program Design, 8^th Ed., John Lewis and William Loftus.

Assignments and Activities

- Complete the Module 8 Ungraded Activities
- Complete the Module 8 Quiz
- Begin Programming Project 6
- Submit Programming Project 5