Module 1 Flashcards
These are the programmatic way of storing data so it can be used efficiently
Data structures
It represents the set of operations that a data structure supports
Interface
This provides the internal representation of a data structure, as well as provide the definition of the algorithms used in the operations
Implementation
Data structures are used for specifying the collection of attributes and corresponding structures used to store records in a DBMS
Storing data
_____ resources and services are enabled through the use of data structures
Core operating system
Core operating system resources and services are enabled through the use of data structures
Managing resources and services
Data structures define the organization of information shared between applications, such as TCP/IP packets
Data exchange
These provide efficient methods of sorting objects, such as character strings used as tags; programmers can manage items organized according to a specific priority
Ordering and sorting
Data structures stored in a database such as B-trees are used to index objects
Indexing
Indexes created using binary search trees, B-trees or hash tables speed the ability to find a specific sought-after item
Searching
Big data applications use data structures for allocating and managing data storage across distributed storage locations
Scalability
This characteristic describes whether the data items are arranged in a sequential order, such as with an array, or in an unordered sequence, such as with a graph
Linear or non-linear
This characteristic describes whether all data items in a given repository are of the same type.
Homogenous or heterogenous
This characteristic describes how the data structures are compiled
Static or dynamic
These have fixed sizes, structures and memory locations at compile time
Static data
These have sizes, structures and memory locations that can shrink or expand, depending on the use
Dynamic
Why do we need data structure?
Data search
Processor speed
Multiple requests
True or false: Data can be organized in a data structure in such a way that all items may not be required to be searched, and the required data can be searched almost instantly
True
This is the scenario where a particular data structure operation takes maximum time it can take
Worst case
This is the scenario depicting the average execution time of an operation of a data structure
Average case
This is the scenario depicting the least possible execution time of an operation of a data structure
Best case
These are set of values
Data
These refer to single unit of values
Data item
Data items that are divided into sub items are called
Group items