Given the following vertical printout of an abstract syntax tree, select all of the statements that are true. 5 1110 TILO 14 ILO | [] 13 [] 10] 5 is the left subtree of the root This is the same tree drawn graphically. 5 * 4 5 is the root of the tree 3 The infix expression is 5- 4*3 5 is the right subtree of the root The infix expression is (5-4) * 3 None of these. This is the same tree drawn graphically.

icon
Related questions
Question
Given the following vertical printout of an abstract syntax tree, select all of the statements that
are true.
13
S14E
[]
[]
[]
[]
5 is the left subtree of the root
This is the same tree drawn graphically.
5
4
3
The infix expression is 5 - 4*3
5 is the right subtree of the root
The infix expression is (5-4) * 3
None of these.
5 is the root of the tree
This is the same tree drawn graphically.
Transcribed Image Text:Given the following vertical printout of an abstract syntax tree, select all of the statements that are true. 13 S14E [] [] [] [] 5 is the left subtree of the root This is the same tree drawn graphically. 5 4 3 The infix expression is 5 - 4*3 5 is the right subtree of the root The infix expression is (5-4) * 3 None of these. 5 is the root of the tree This is the same tree drawn graphically.
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer