What is data structure?
A data structure is a
way of organizing data that considers not only the items stored, but also their
relationship to each other. Advance knowledge about the relationship between
data items allows designing of efficient algorithms for the manipulation of
data.
List out the areas in which
data structures are applied extensively?
· Compiler Design,
· Operating System,
· Database Management
System,
· Statistical analysis
package,
· Numerical Analysis,
· Graphics,
· Artificial Intelligence,
· Simulation
What are the major data
structures used in the following areas : RDBMS, Network data model and
Hierarchical data model?
RDBMS =
Array (i.e. Array of structures)
Network data model
= Graph
Hierarchical data
model = Trees
What is the data structures
used to perform recursion?
Stack. Because of its LIFO (Last In First Out)
property it remembers its 'caller' so knows whom to return when the function
has to return. Recursion makes use of system stack for storing the return
addresses of the function calls. Every recursive function has its equivalent
iterative (non-recursive) function. Even when such equivalent iterative
procedures are written, explicit stack is to be used.
What are the notations used
in Evaluation of Arithmetic Expressions using prefix and postfix forms?
Polish and Reverse
Polish notations.
Convert the expression ((A +
B) * C - (D - E) ^ (F + G)) to equivalent Prefix and Postfix notations.
Prefix Notation: -
* +ABC ^ - DE + FG
Postfix Notation:
AB + C * DE - FG + ^ -
List out few of the
Application of tree data-structure?
The manipulation
of Arithmetic expression,
Symbol Table
construction,
Syntax analysis.
List out few of the
applications that make use of Multilinked Structures?
Sparse matrix,
Index generation.
No comments:
Post a Comment