Chapter 4 and 7.1 Flashcards

1
Q

how many values do variables store in memory

A

a single value

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

how many values do data structures store in memory

A

multiple values

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

is an array data structure or value?

A

it is a data structure that stores values

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

what data structures have we learned

A

arrays, strings, enumerations, and objects

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

an array is characters is known as a

A

String

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

how to format an array

A

baseType[] arrayName = new baseType[length];

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

how to initialize an array

A

baseType[] arrayName = { insert stuff}

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