Lesson 12: Array Structure Flashcards

1
Q

a data structure that consists of a collection of elements, which are stored in a
specific order.

A

array

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

the simplest form of an Array in which the elements are stored
linearly and can be accessed individually by specifying the index value of each element stored in the array.

A

One-Dimensional Array

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

Every array must be declared before use like other variables.

A

Declaring One - Dimensional Array

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

a built-in function in Java that allows you to convert a string into a character array.

A

toCharArray() method

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

a convenient way to split a string into an array of substrings based on a specified delimiter. It is a widely used method for converting a string to an array.

A

The split() method

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

When creating an array, each item of the series is referred to as _____

A

a member of the array.

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

Once the array variable has been declared , each one of its members is initialized with

A

a 0 value.

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

refers to the data type of elements in the array.

A

data_ type

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

is an identifier which represents the array name.

A

name size

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