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

Spurious correlations, Spurious Correlations - in several rare situati...

Spurious Correlations - in several rare situations when plotting the data for x and y we may have a group indicating either positive correlation or negative (-ve) correlation

Quantitative Techniques, The following table given the these scores and sal...

The following table given the these scores and sales be nine salesman during last one year in a certain firm: text scores sales (in 000''rupees) 14 31 19

Prove that sinx+cosx=? , Multiply and divide by root2, then root2/root2...

Multiply and divide by root2, then root2/root2(sinx+cosx) = root2(sinx/root2 + cosx/root2) = root2(sinx cos45+cosx sin45) = root2(sin(x+45))

How many miles required to be driven for both services cost, Easy Rider tax...

Easy Rider taxi service charges a pick-up fee of $2 and $1.25 for each mile. Luxury Limo taxi service charges a pick-up fee of $3.25 and $1 per mile. How many miles required to be

Set builder notation, For inequalities we contain a similar notation.  Base...

For inequalities we contain a similar notation.  Based on the complexity of the inequality the solution set might be a single number or it might be a range of numbers. If it is jus

Two consecutive positive integers whose product is 90, What is the lesser o...

What is the lesser of two consecutive positive integers whose product is 90? Let x = the lesser integer and let x + 1 = the greater integer. Because product is a key word for m

Triangles, The sides of a triangle are x^(2 )+x+1, 2x+1,x^2-1, prove that t...

The sides of a triangle are x^(2 )+x+1, 2x+1,x^2-1, prove that the largest angle is 120 degrees, and find range of x. Ans) The biggest side is x^(2) + x + 1 so findout the angl

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