Techniques for manipulating data and information Flashcards
Arrays
An array is a storage structure with multiple, numbered storage slots
Stacks
A stack is a simple, basic method of temporarily storing data, with the push command, and releasing it as needed, with the POP command. Stacks can be referred to as FILO (First In Last Out) or LIFO (Last In First Out)
Queues
Queues are often used when code or a device such as a printer cannot keep up with incoming data or commands
Sequential files
Sequential files are plain text documents that contain human-readable text data. An example of a sequential file is called CSV (Comma Separated Values). In a CSV file each line is a record, composed of fields separated by comma’s.
Random files
Random files are made up of records of identical length, with fields which must be rigidly defined in advance
GUI controls and structures
Most high-level languages have GUI’s to make programs more intuitive for users. With the GUI responsible for managing pre-packaged classes of objects, the programmers work is made much quicker and easier. GUI structures are designed for ease of use, not raw power or optimal speed and they consume far more memory and processor time than arrays, stacks and variables
Searching
Linear searching- Checks every individual item in turn to see if it matches the item for which you are searching
Binary searching- A fast and clever search which is useful when searching large data sets, especially when speed is important