Chapter 6 - 7 Flashcards

1
Q

one of the most important structures in programming that is used to repeat a sequence of statements a number of times

A

Loops

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A repetition of a loop

A

Pass

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

repeats a sequence of statements either as long as or until a certain condition is true

A

Do Loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

the statements inside the loop are repeatedly executed as long as the condition is true

A

Do While Loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

the parameters of a loop

A

Condition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

the condition is checked at the bottom of a Do While Loop

A

Posttest

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

the condition is checked at the top of a Do While Loop

A

Pretest

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

loop that never ends

A

Infinite Loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

the type of loop used when the programmer knows exactly how many times a loop should be executed

A

For . . . Next Loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

a numeric variable declared in the For statement; it is initialized and then automatically changes after each pass through the loop

A

Counter Variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

where a For Next loop starts counting

A

Initial Value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

where a For Next loop stops counting

A

Terminating Value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

an indexed list of simple variables of the same type, to and from which Visual Basic can efficiently assign and access a list of values

A

Array Variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

a collection of variables

A

Array

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

the numbers inside the parentheses of the array variables

A

Subscripts or Indexes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

each individual variable in an array

A

Subscripted Variable or Element

17
Q

reserving space in memory to hold the values of the subscripted variables in an array

A

Declaration

18
Q

the value of the last element in an array

A

Upper Bound

19
Q

the number of elements in an array

20
Q

the data to be placed in an array are known at the time the program begins to run

A

Form Load Event

21
Q

Count, Max, Min, First, Last

A

Array Methods

22
Q

the size of the array

23
Q

the highest value (alphabetically or numerically)

24
Q

the lowest value (alphabetically or numerically)

25
the first element
First
26
the last element
Last
27
after an array has been declared, its upper bound (but not its type) can be given a value (Integer literal, variable, or expression) with this procedure-level statement
ReDim
28
a procedure-level statement that maintains all of the original array's contents after a ReDim
Preserve
29
iterate through all the elements of the array in order with no mention whatsoever of the lower or upper bounds
For Each Loops
30
a boolean value generally used to determine the outcome of an If statement
Flag Variable
31
the argument in the calling statement consists of the name of the array; the corresponding parameter in the header for the procedure must consist of an array name followed by an empty set of parentheses; entire arrays are always passed by reference
Passing an Array
32
provides a standardized way to retrieve information from data sources
LINQ | Language-INtegrated Query
33
declarative (that is, self-evident) code that describes what you want to retrieve from the array
LINQ Query
34
eliminate duplicates in a LINQ query
Distinct
35
converting the results of a LINQ query into an array
ToArray
36
gives a name to an expression and makes queries easier to read
Let
37
putting elements found by a LINQ query in aplphabetical or numeric order
OrderBy
38
placing information of different data types into a single array of a composite data type that is user defined
Structure
39
variables in a structure
Members