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

Example of negative number, Q. Example of negative number? If you take ...

Q. Example of negative number? If you take an elevator 8 stories  down , what would be the opposite of this? The opposite would be that you take the elevator 8 stories  up .

Solve by factorization, Solve by factorization X 2 +(a/a+b + a+b/a)x+...

Solve by factorization X 2 +(a/a+b + a+b/a)x+1 = 0 X 2 +(a/a+b + a+b/a)x+1 =>  X 2 +(a/a+b x a+b/ax + a/a+b .a+b/a) =>  X[x+a/a+b] +a+b/a[a+a*a+b]= 0 =>  X= -a

Geometry, two sides of an equilateral triangle have lengths 3x-1 and 3x-1. ...

two sides of an equilateral triangle have lengths 3x-1 and 3x-1. Which of 27-x or 2x-4 could be the length of the third side?

integral 0 to pi e^cosx cos (sinx) dx, Let u = sin(x). Then du = cos(x) dx...

Let u = sin(x). Then du = cos(x) dx. So you can now antidifferentiate e^u du. This is e^u + C = e^sin(x) + C.  Then substitute your range 0 to pi. e^sin (pi)-e^sin(0) =0-0 =0

Exercise of concrete operational stage, Which of the following statements d...

Which of the following statements do you think are true about children? Indicate with 'T' for true and for false. Give reasons for your choice. a) Most primary school children a

Coming to grips with mathematics, Coming To Grips With Mathematics :  How ...

Coming To Grips With Mathematics :  How does a child acquire mathematical concepts? Can any concept be presented to a child at any stage in such a manner that the child gets some

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