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
2
Q
Which sort of data structure can have a string index?
A
Dictionary
3
Q
What is the name of an array that holds more arrays?
A
2 dimensional array
4
Q
What is a linked list?
A
A list where each item contains a pointer to the next item in the list
5
Q
The index of a data structure is …?
A
a number or string that refers to an individual element (item)
6
Q
In Python, which data type can be used to represent an array?
A
list