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

A

Size

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

A

Count

23
Q

the highest value (alphabetically or numerically)

A

Max

24
Q

the lowest value (alphabetically or numerically)

A

Min

25
Q

the first element

A

First

26
Q

the last element

A

Last

27
Q

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

A

ReDim

28
Q

a procedure-level statement that maintains all of the original array’s contents after a ReDim

A

Preserve

29
Q

iterate through all the elements of the array in order with no mention whatsoever of the lower or upper bounds

A

For Each Loops

30
Q

a boolean value generally used to determine the outcome of an If statement

A

Flag Variable

31
Q

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

A

Passing an Array

32
Q

provides a standardized way to retrieve information from data sources

A

LINQ

Language-INtegrated Query

33
Q

declarative (that is, self-evident) code that describes what you want to retrieve from the array

A

LINQ Query

34
Q

eliminate duplicates in a LINQ query

A

Distinct

35
Q

converting the results of a LINQ query into an array

A

ToArray

36
Q

gives a name to an expression and makes queries easier to read

A

Let

37
Q

putting elements found by a LINQ query in aplphabetical or numeric order

A

OrderBy

38
Q

placing information of different data types into a single array of a composite data type that is user defined

A

Structure

39
Q

variables in a structure

A

Members