Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
15 Cards in this Set
- Front
- Back
Lists and tables of values can be stored in _____________.
|
arrays
|
|
An array is a group of ___________ (called elements) containing values that all have the same _____________.
|
variables, types
|
|
The ____________ statement allows you to iterate through the elements in an array without using a counter.
|
foreach
|
|
The number that refers to a particular array element is called the element’s _______________.
|
index (or position number)
|
|
An array that uses two indices is referred to as a(n) ____________ array.
|
two-dimensional
|
|
Use the foreach header ____________ to iterate through double array numbers.
|
foreach (double d in numbers)
|
|
Command-line arguments are stored in _____________.
|
an array of strings, conventionally called args
|
|
Use the expression _____________ to receive the total number of arguments in a command line. Assume that command-line arguments are stored in string[] args.
|
args.Length
|
|
Given the command MyApplication test, the first command-line argument is _____________.
|
test
|
|
A _____________ in the parameter list of a method indicates that the method can receive a variable number of arguments.
|
params modifier
|
|
One-dimensional array p contains four elements. The array access expressions for elements are _____________ , _______________ , _____________ and ______________.
|
p[ 0 ], p[ 1 ], p[ 2 ] and p[ 3 ]
|
|
Naming an array’s variable, stating its type and specifying the number of dimensions in the array is called ____________ the array.
|
declaring
|
|
In a two-dimensional array, the first index identifies the _______________ of an element and the second index identifies the _____________ of an element.
|
row, column
|
|
An m-by-n array contains ______________ rows, ____________ columns and ______________ elements.
|
m, n, m x n
|
|
The name of the element in row 3 and column 5 of jagged array d is _______________.
|
d[3][5]
|