INTRODUCTION Flashcards
defines a particular data with the
following characteristics
DATA
refer to the data that a variable can hold in
a programming language.
Data Object
3 CRITERIAS OF DATA OBJECT
ATOMIC
TRACEABLE
ACCURATE
definition should be defined a
single concept
ATOMIC
should be able to
mapped to some data element
TRACEABLE
should be
unambiguous and understandable.
ACCURATE
Specialized format to store and organize data in a computer’s memory or disk
DATA STRUCTURES
Collection of variables, possibly of several different data types connected in various ways.
DATA STRUCTURES
TYPES OF DATA STRUCTURES
ARRAY
LINKED LIST
STACKS
TREES
SORTING
HASH TABLES
BASIC OPERATIONS OF DATA STRUCTURES
TRAVERSING
SEARCHING
INSERTION
DELETION
SORTING
MERGING
All data structures can be classified as
primitive or aggregate
simple kind of data structure stores single data items.
PRIMITIVE
Many data structures are capable of
storing multiple data items.
AGGREGATE
data structures in which data elements are arranged sequentially or linearly,
LINEAR
HAS A FIXED MEMORY SIZE
Static