1/17
8.1; 8.2; 8.3; 8.4; 8.5; 8.6; 8.7;
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
array
a named storage location in memory, which can hold a group of values.
size declarator
the number inside array’s brackets
elements
storage locations in an array
subscript
a unique number to which each element in array is assigned
initialization list
the series of values separated with commas
bounds checking
when programming language do not allow a program to use an invalid array subscript. Typically happens during runtime
off-by-one error
error which occurs when a loop iterates one time too many or one time too few
For Each loop
a specialized version of the “For” loop that is known for simplifying array processing when your task is to step through an array, retrieving the value of each element
search algorithms
is a techniques that have been developed to locate specific item in a larger collection of data, such as an array
sequential search algorithm
an algorithm that uses a loop to sequentially step through an array, starting with the first element. It compares each element with the value being searched for and stops when the value is found or the end of the array is encountered.
total
accumulator variable in the algorithm
index
loop counter variable in the algorithm
get the total of the values
the first step in calculating the average of the values in an array is to…
subscript
by using ______, it is possible to establish relationship between data stored in two or more arrays
parallel arrays
are two or more arrays that hold related data, and the related elements in each array are accessed with a common subscript
one dimensional arrays
an arrays that can hold only one set of data
two-dimensional arrays, 2D arrays
an arrays that can hold multiple sets of data
element
this is an individual storage location on an array