Data structures Flashcards

1
Q

What is special about an array data structure?

A

It has a numerical index - a number for each item in the array

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

Which sort of data structure can have a string index?

A

Dictionary

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

What is the name of an array that holds more arrays?

A

2 dimensional array

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

What is a linked list?

A

A list where each item contains a pointer to the next item in the list

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

The index of a data structure is …?

A

a number or string that refers to an individual element (item)

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

In Python, which data type can be used to represent an array?

A

list

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