Activity #16: Research Definition
1. Data
Definition: Data refers to the information or raw facts that can be processed by a computer system. Data can be in various forms like numbers, characters, images, or even complex objects.
Examples:
Integer: 42
String: "Hello, World!"
Boolean:
trueorfalse
2. Structure
Definition: Structure refers to the arrangement or organization of elements, in this case, data, to enable efficient processing and utilization. In computer science, structure implies a systematic format or pattern that defines how data is stored and accessed.
Examples:
Arrays: A sequence of data elements of the same type, stored in contiguous memory.
Linked List: A collection of nodes where each node contains data and a reference to the next node.
3. Data Structure
Definition: A data structure is a specialized format to organize, manage, and store data in a way that enables efficient access and modification. Data structures allow the computer to store data in an organized way, ensuring better performance in terms of time complexity and space usage.
Examples:
Arrays [ ]: Store elements in a fixed-size sequence and allow access via index.
Stacks: Follows the Last In, First Out (LIFO) principle.
Queues: Follows the First In, First Out (FIFO) principle.
Hash Maps { }: Key-value pairs for quick lookups.