answersLogoWhite

0


Best Answer

Using binary tree, one can create expression trees. The leaves of the expression tree are operands such as constants, variable names and the other node contains the operator (binary operator). this particular tree seems to be binary because all the operators used are binary operators. it is also possible for a node to have one node also, in case when a unary minus operator is used.

we can evaluate an expression tree by applying the operator at the root to the values obtained by recursively evaluating the left and right sub trees.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

trees and graphs are very important data structures. they are used in compilers and in data base. compiler uses tree structures do convert data types and do calculations on booleans and variables. even the modem on your computer uses a binary tree structure called huffman encoding for data compression.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

find the minimum cost of the path to reach the desired node

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the Application of tree and graph in data file structures?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Do you need a data file to make a bar graph?

No but you do need a dataset or data range with which to to populate the graph.


What is Data remanence is?

File structures that remain after a file has been deleted


Is a data file needed to make a bar graph?

Yes.


Is a data file needed to make a bar graph Explain?

Yes because you need the data on the right and across the bottom to make the graph


What is a differences between application and file?

an application runs a series of commands. a file is data stored in some retrievable way.


What is meant by API?

An application programming interface (API) is a library of functions that a programming language provides for programmers for common tasks like file transfer, networking, and data structures.


What were the shortcomings of early file-oriented database structures?

data redundancy


What is file structures in C plus plus?

As far as C++ is concerned files do not have structures, they are simply raw data streams. It's entirely down to the programmer to determine what structures exist within the file and to interpret the data accordingly. C++ cannot do it for you.


What is the structures of the files and data bases?

I think file is a open structure. and the data base is closed structure.


How do you display data from existing SQLite file in Android application?

You don't.


How do you use Graph in data structure?

Em depends on the points your plotting on the graph. If they are evenly distributed then it's probably a linear graph.


Which Registry key contains file association data for application startup?

Hkey_Classes_Root