Lesson 1 - Introduction to Data Structures and Algorithms Flashcards
specialized format to store and organize data in a computer’s memory or disk and a collection of variables, possibly of several different data types connected in various ways.
DATA STRUCTURE
Types of Data Structures…? (5)
- Arrays
- Linked Lists
- Stacks
- Trees
- Hash Tables
data that a variable can hold in a programming language.
DATA TYPES
specification of a set of data and set of operations performed in a data.
ABSTRACT DATA TYPES
finite set of instructions that specify a sequence of operations to be carried out.
A recipe for solving a problem.
ALGORITHMS
Every Algorithm must satisfy the following criteria… (5)
- Input
- Output
- Definiteness
- Finiteness
- Effectiveness
____ are the data items presented to the algorithm.
INPUTS
____ are the data items presented to the outside world as the result of the execution of a program based on the algorithm.
OUTPUT
____ can be used to encapsulate parts of an algorithm by localizing in one section of a program all the statements relevant to a certain aspect of a program.
essential tool in a programming that generalizes the notion of an operator.
PROCEDURE
____ is an input to a computer and an algorithm is used to transform this into a refined data
RAW DATA
textual representation of a flowchart.
could be translated into a program.
PSEUDOCODE
The process by which a programmer refines an initial data to a problem’s solution into more specific terms.
STEPWISE REFINEMENT