Static vs Dynamic Data Structures
- when size is determined
- storage
Enumerated (definition)
In the form of a list
Arrays (2)
Lists (3)
Tuples (3)
Text Files can only store
Strings
Advantage of Text Files
They can be created, altered or prepared independently from the program
Binary Files (3)
CSV Files (4)
Types of Access of Files
- read
- write
- append
- read binary file
- write to binary file
Queues
- Acronym
- Number of Pointers
Linear Queues
- type of structure
- queue = empty if …
- disadvantage
Circular Queues
- definition
- what pointers store
Priority Queues (2 + Enqueue)
Enqueue Algorithm
Push Function + Algorithm
Stack
- type of structure
- acronym
- no. pointers
Dequeue Algorithm
Pop Function + Algorithm
Peek Function + Algorithm
Test for Empty Stack AKA + Algorithm
Test for Full Stack AKA + Algorithm
Method to Reverse the Order of a List Using a Stack
Method to Reverse the Order of a Queue Using a Stack