Programming Fundamentals/Arrays

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Overview[edit]

This chapter introduces arrays, which may be referred to as lists in some programming languages. Arrays are used for data structures and are able to store an arrangement of elements. Various versions of arrays will be introduced for use in different scenarios. All arrays will be the same data type and capable of working with functions and other variables, as we will learn throughout the chapter.

Chapter Outline[edit]

Learning Objectives[edit]

  1. Understand key terms and definitions.
  2. Identify static and dynamic arrays and the code structures necessary to process each type.
  3. Identify single-dimension arrays and multi-dimensional arrays and the code structures necessary to process each type.
  4. Given example pseudocode, flowcharts, and source code, create a program that uses arrays or lists to solve a given problem.