Chapter 5 - Arrays Flashcards Preview

CIS 150 Final Review Ch 4-7 > Chapter 5 - Arrays > Flashcards

Flashcards in Chapter 5 - Arrays Deck (13):
1

is a series or list of variables in computer memory; all the variables have the same name and data type but are differentiated with special numbers called subscripts.

Array

2

A _________, also called an index, is a number that indicates the position of a particular item within an array.

Subscript

3

Each variable within an array has the same name and the same data type; each separate array variable

Element

4

a search in a programs from one end of a # list to another

Linear Search

5

is a variable that you set to see whether some event has occurred (frequently holds a Boolean value)

Flag

6

The connection made in the program between the dept + array.

Direct Relationship

7

Relationship between an items number and price

Indirect Relationship

8

When a subscript is used, and the range of acceptable is “out of bounds”

Out of bounds

9

Two corresponding arrays

Parrallel Arrays

10

determined by how many elements an array can hold

Size of array

11

Every Array has a finite_____.

Size

12

The______ loop is a particularly convenient tool when working with arrays because you frequently need to process every element of an array from beginning to end.

For Loop

13

As with a while loop, when you use a for loop, you must be careful to stay within array bounds, remembering that the highest usable array subscript is one _______ than the size of the array

Less