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

What is the cost to generate, The production costs per week for generating ...

The production costs per week for generating x widgets is given by, C ( x ) = 500 + 350 x - 0.09 x 2 ,         0 ≤ x ≤ 1000 Answer following questions.  (a) What is the c

How to adding polynomials, How to Adding Polynomials? The numerical par...

How to Adding Polynomials? The numerical part of a monomial is called the coefficient. For example, the coefficient of 5x is 5. The coefficient of -7a 2 b 3 is -7. Like

Matrices, how solve the inverse matrices using the matlab?

how solve the inverse matrices using the matlab?

Find the probability of having 53 sundays in leap year , Find the probabili...

Find the probability of having 53 Sundays in (i) a leap year                           (ii) a non leap year       (Ans:2/7 , 1/7 ) Ans:          An ordinary year has 365 da

The probability that five randomly selected 3-year old snake, The probabili...

The probability that a randomly selected 3-year old garter snake will live to be 4 years old is .54 (assume results are independent).  What is the probability that five randomly se

Hi, can i get job of teaching maths here

can i get job of teaching maths here

Sets, creative assignment about sets

creative assignment about sets

Polar coordinates - parametric equations & polar coordinates, Polar Coordin...

Polar Coordinates Till this point we've dealt completely with the Cartesian (or Rectangular, or x-y) coordinate system.  Though, as we will see, this is not all time the easie

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