1/34
These flashcards cover key concepts related to arrays as discussed in the lecture on arrays in computer applications.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
Array
A set of values that are logically related to each other, accessed by the same name.
Element
Each individual value in an array.
Index
A positive integer value that starts from zero and is used to access an element in an array.
Dimension
The number of indices needed to specify an element in an array.
One-dimensional array
An array that uses one index, sometimes called a simple array.
Multidimensional array
An array that uses more than one index, separated by commas, up to 32 dimensions.
Jagged array
A one-dimensional array with arrays as its elements, where elements may not be of the same size.
Declaring an Array
Creating an array by specifying its name and defining its size.
Initializing Array Values
Assigning initial values to an array at the time of its declaration using array literals.
Storing Values to an Array
Assigning values to an array either by directly referencing indices or using array literals.
For-Next Loop
A loop structure used to iterate over the elements of an array.
ReDim
A keyword used to (re)specify the size of an array during runtime.
Preserve
An optional keyword used with ReDim to keep the current values of the elements when resizing an array.
LBound
Returns the smallest index of the indicated dimension of a specified array.
UBound
Returns the largest index of the indicated dimension of a specified array.
Array.Clear Method
Sets the value of an array to the default value of its data type.
Nothing
Sets the value of the array to null.
Erase Statement
Used to release array variables and reallocate their memory.
Dynamic Array
An array that can change in size during runtime.
Matrix
A type of data model used to represent an array in two dimensions.
Bitmap Image
A type of image data that can be represented using arrays.
Accessing Array Elements
Refers to retrieving specific elements using their indices.
Curly Braces in Arrays
Used to define array literals in programming.
Upper Bound
The largest index or subscript in a specific dimension of an array.
Lower Bound
The smallest index or subscript in a specific dimension of an array.
Processing Array Elements
Carrying out operations on each element of the array, often using loops.
Array Size
Determined by multiplying the lengths of each dimension and can be declared in multiple ways.
Data Type of Array
The kind of data that the elements of an array will store, such as integers or strings.
Element Access Syntax
Using the array name and the index in parentheses to reference an element.
For-Each Loop
A looping structure which processes each element of an array without using an explicit counter.
Program Structure
The format and methods used to gather input, manipulate arrays, and output results.
Visual Basic
A programming language used to create dynamic arrays and manipulate them.
Incrementing Numbers
A common pattern in populating arrays, where values are generated based on a sequence.
User Input Array
An array populated by values entered by users during program execution.
Shifting Array Elements
An operation involving moving all elements of an array to a different position.