Define an ordered rooted tree, Mathematics

Assignment Help:

Define an ordered rooted tree. Cite any two applications of the tree structure, also illustrate using an example each the purpose of the usage.  

Ans: A  tree is a graph like that it is connected, it has no loop or circuit of any length and number of edges in it is one less as compared to the number of vertices.

1498_Define an ordered rooted tree 1.png

If the downward slop of an arc is taken as the direction of the arc after that the above graph can be considered as a directed graph. In degree of node + is zero and of all other nodes is one. There are nodes such as 3, 4, 5, 2 and 5 without degree zero and all other nodes comprise out degree > 0. A node with in degree zero in a tree is known as root of the tree. Each tree has one and just only one root and that is why a directed tree is as well known as a rooted tree. The position of each labeled node is fixed, any change in the position of node will modify the meaning of the expression denoted by the tree. Such kind of tree is called ordered tree.

A tree structure is utilized in evaluation of an arithmetic expression (parsing technique) The other common application is search tree. The tree presented is an instance of expression tree. An instance of binary search tree is shown below.

1685_Define an ordered rooted tree 2.png


Related Discussions:- Define an ordered rooted tree

Study market, what toold we need to study market

what toold we need to study market

Calculus, using 5 rectangles what is the area under a curve using the funct...

using 5 rectangles what is the area under a curve using the function f(x)=3x+4 and boundries [0,2]

Shares and dividend, A man invests rs.10400 in 6%shares at rs.104 and rs.11...

A man invests rs.10400 in 6%shares at rs.104 and rs.11440 in 10.4% shares at rs.143.How much income would he get in all??

Calculate the area and perimeter of a square, Calculate the area and perime...

Calculate the area and perimeter of a square: Calculate the area and perimeter of a square with w = 5´ and l = 6´.  Be sure to involved units in your answer. Solution:

Round 468.235 to the nearest hundredth, Round 468.235 to the nearest hundre...

Round 468.235 to the nearest hundredth ? The hundredths place is the second digit to the right of the decimal point (3). To decide how to round, you must like as at the digit t

Multiplication and division should be learnt intermeshed, E1) Do you agree ...

E1) Do you agree that multiplication and division should be learnt intermeshed with each other, or not? Give reasons for your answer.  E2) How would you explain to children wh

Parametric equations and curves - polar coordinates, Parametric Equations a...

Parametric Equations and Curves Till to this point we have looked almost completely at functions in the form y = f (x) or x = h (y) and approximately all of the formulas that w

Solve 2 ln (x) - ln (1 - x ) = 2 single logarithm, Solve 2 ln (√x) - ln (1 ...

Solve 2 ln (√x) - ln (1 - x ) = 2 . Solution: Firstly get the two logarithms combined in a single logarithm. 2 ln (√x) - ln (x  - l) = 2 ln ((√x) 2 ) ln (1 - x ) = 2

Show that the height h of the tower, The angle of elevation of the to...

The angle of elevation of the top of a tower from a point on the same level as the foot of the tower is α. On advancing 'p' meters towards the foot of the tower, the angle of eleva

Payoff Matrix, A farmer grows apples on her 400-acre farm and must cope wit...

A farmer grows apples on her 400-acre farm and must cope with occasional infestations of worms. If she refrains from using pesticides, she can get a premium for "organically grown"

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd