4.2 Fundamentals of Data structures Flashcards
1
Q
What is a ‘primitive data type’
A
A data type that can only store one value
E.g Integer
2
Q
What is a ‘Data structure’
A
A collection of data that is organised to allow efficient processing.
3
Q
What is an advantage of Dynamic data structures
A
It makes efficient use of memory
4
Q
What are the disadvantages of using Dynamic data structures?
A
A pointer is used to reference the memory location of each item
Items cannot be directly accessed by indexing.
5
Q
What data structure is a queue?
A
FIFO
First in first out