Criado por Andrew Lewis
quase 4 anos atrás
|
||
This appears in an array declaration and specifies the number of elements the array can hold.
To make programs easier to maintain, many programmers use these to specify the size of an array.
This is an individual storage location in an array.
This is a number that identifies a storage location in an array.
This is typically the first subscript in an array.
This is typically the last subscript in an array.
This algorithm uses a loop to step through each element of an array, starting with the first element, searching for a value. The search stops when the item is found or when then end of the array has been reached.
Many programming languages perform this, which means they do not allow a program to use an invalid array subscript. It happens typically during runtime.
This term describes two or more arrays that hold related data and the related elements in each array are accessed with a common subscript.
You typically think of a two-dimensional array as containing _____ and _____.
Tool specifically designed for storing and processing lists of data. Processing a large number of items in this tool is usually easier than processing a large number of items stored in separate variables.
A series of values separated with commas used to initialize an array is known as an _____. The values are stored in the order that they were initialized as.
Mistake that occurs when a loop iterates one time too many or one too few.
Various techniques used to locate a specific item in a large collection of data, such as an array.
Arrays that can hold only one set of data.
Arrays that can hold multiple sets of data. They are like several identical arrays put together.
True/False: Some programming languages use parentheses instead of brackets for array declarations.
Subscripts are also known as _____.
The "_____" loop can simplify array processing when your task is simply to step through an array, retrieving the value of each element.
Can you store a mixture of data types in an array?
True/False: In most languages, the size of an array be changed while the program is running.
How do you look for a partial string match when searching an array of strings for a value?
What two parameters do you assign a module/function in order to accept an array as an argument?
True/False: Unlike a one-dimensional array, a two-dimensional array requires two size declarators when being declared. One for the number of rows and the other for the number of columns.
True/False: You can do many things with arrays, but you can't pass one as an argument to a module or a function.