wk1

 0    11 flashcards    up804653
download mp3 print play test yourself
 
Question English Answer English
Datastructures consist of 2 parts what are they?
start learning
Elements each of which is either a data type Collectionor another data structure AND A set of associations or relationships (the structure) involving the collection of elements
Describe a Linear Structure with examples
start learning
Unique predecessor and unique successor. EG Stacks, Queues
Describe Hierichical structure
start learning
unique predecessor AND many successors eg Family tree
Describe Graph Structure
start learning
many predecessors and many successors eg Railway man, computer network
Describe set structure
start learning
no predecessors AND no successors, eg class of students
What are the steps to pick a data structure?
start learning
1) Analyse the problem 2) Determine the basic operations needed 3) Select the most efficient data structure
What is an Abstract Data Type (ADT)?
start learning
An ADT is a collection of data and associated methods stored as a single module.
An ADT ______ be directly access
start learning
An ADT __can not__ be directly access
What does an ADT consist of?
start learning
The data structure. The access methods. Modifier methods. internal methods
An ADT describes _____ information is stored ____ being specific about ____ the information is stored or organised
start learning
An ADT describes_WHAT_ information is stored _WITHOUT_ being specific about _HOW_ the information is stored or organised
The methods of the ADT specify _____you can and cant do without being specific about ____ its is achived
start learning
The methods of the ADT specify _WHAT_ you can and cant do without being specific about _HOW_ its is achived

See related flashcards:

wk5&&6 (LinkedLists)

You must sign in to write a comment