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

3-d coordinate system - three dimensional spaces, The 3-D Coordinate System...

The 3-D Coordinate System We will start the chapter off with a quite brief discussion introducing the 3-D coordinate system and the conventions that we will be utilizing.  We

Decimals, what is 0.875 of 2282?

what is 0.875 of 2282?

Simplify compound fractions, A compound fraction is a fraction that has oth...

A compound fraction is a fraction that has other fractions inside its numerator or denominator. Here's an example: While compound fractions can look really hairy, they're r

Multiplacation, write and solve a problem of multiplacation that uses: esti...

write and solve a problem of multiplacation that uses: estimate explaning numbers picturs and another operation?

Pumping lemma for context free languages, 1. Construct a grammar G such tha...

1. Construct a grammar G such that L(G) = L(M) where M is the PDA in the previous question. Then show that the word aaaabb is generated by G. 2. Prove, using the Pumping Lemma f

One of these food groups, In a collection of 30 dissimilar birds, 15 eat wo...

In a collection of 30 dissimilar birds, 15 eat worms, 18 eat fruit, and 12 eat seeds. Accurately 8 eat worms and seeds, 8 eat worms and fruit, 7 eat fruit and seeds, and 4 eat each

Using calculus method, Sheldon as the day for the challenge gets closer wan...

Sheldon as the day for the challenge gets closer wants to enter the race. Not being content with an equal start, he wants to handicap himself by giving the other yachts a head star

What is the evaluation of angle, In a periscope, a pair of mirrors is mount...

In a periscope, a pair of mirrors is mounted parallel to each other as given. The path of light becomes a transversal. If ∠2 evaluate 50°, what is the evaluation of ∠3? a. 50°

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