Unit 1 lesson 2 Flashcards
(11 cards)
Abstract data type
A blueprint for organizing and working with data that defines what operations can be performed on the data without specifying how they are implemented.
Array
A collection of items stored in a contiguous memory block, each identified by an index number, allowing for efficient access to elements based on their position.
Composite variable
A variable that can hold multiple pieces of data, often grouped together under a single name.
Container
A data structure that holds a collection of elements, providing methods to add, remove, and access items within it.
Data structure
A way of organizing and storing data in a computer’s memory designed to facilitate the efficient retrieval, insertion, and deletion of data.
Linked list
A sequence of elements where each element points to the next one, forming a chain.
Linked structure
Any structure composed of elements connected by links or pointers, enabling dynamic relationships among data elements.
List
A collection of items arranged in a linear sequence, allowing for easy access to and the insertion and deletion of elements.
Queue
A data structure that follows a first-in, first-out (FIFO) order where elements are added to the back and removed from the front.
Record
A data structure that groups related pieces of information under a single name, typically consisting of multiple fields or attributes.
Stack
A data structure that follows a last-in, first-out (LIFO) order where elements are added and removed from the same end, known as the top.