wk1

 0    11 flashcards    up804653
mp3 indir Baskı oynamak kendini kontrol et
 
soru English cevap English
Datastructures consist of 2 parts what are they?
öğrenmeye başla
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
öğrenmeye başla
Unique predecessor and unique successor. EG Stacks, Queues
Describe Hierichical structure
öğrenmeye başla
unique predecessor AND many successors eg Family tree
Describe Graph Structure
öğrenmeye başla
many predecessors and many successors eg Railway man, computer network
Describe set structure
öğrenmeye başla
no predecessors AND no successors, eg class of students
What are the steps to pick a data structure?
öğrenmeye başla
1) Analyse the problem 2) Determine the basic operations needed 3) Select the most efficient data structure
What is an Abstract Data Type (ADT)?
öğrenmeye başla
An ADT is a collection of data and associated methods stored as a single module.
An ADT ______ be directly access
öğrenmeye başla
An ADT __can not__ be directly access
What does an ADT consist of?
öğrenmeye başla
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
öğrenmeye başla
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
öğrenmeye başla
The methods of the ADT specify _WHAT_ you can and cant do without being specific about _HOW_ its is achived

Benzer Flashcards'a bakın:

wk5&&6 (LinkedLists)

Yorum yapmak için giriş yapmalısınız.