Loops_and_Arrays Flashcards

1
Q

Array

A

Is a data structure consisting of a series of values of the same data type that are held together in a wrapper and can be treated as a single thing.

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

Arrays implementation

A

An array is created using the new keyword and they are a fixed size. The number of items the array will contain must be set when the array is created and cannot be changed after it is set.

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

Array Elements

A

Elements are the values of an Array.

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

Variable Scope

A

Defines a part of a program, where the variable is valid or can be referenced. When code execution reaches a point where the variable can no longer be referenced, then the variable is out of scope.

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

Loop

A

Is a programming structure that repeats a sequence of instructions until a specific condition is met.

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

Array Indexes

A

An index is a numeric value that starts at 0 and provides a way to identify a specific element in the array.

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