retagged by
1,828 views
1 1 vote

Consider the following SDT.

 

What is the output of the expression “10 + 4 ∗ 6”?

  • 29
  • 32
  • 30
  • 28

I Calculated I got 34 so I selected nearest answer 32. But the given answer is 30.

2 Answers

Position:
Show:

Related questions

2 2 votes
1 answers 1 answer
708
708 views
Wren Oswin asked Oct 23, 2025
708 views
Consider the following SDT:S - T RR - {printf("*")} + T {printf("*")} R {printf("+")}T - num {printf("*")}R - ε {printf("+")}How many * will be printed before the first +...
0 0 votes
0 0 answers
752
752 views
aditi19 asked Mar 29, 2019
752 views
What is the SDT to eliminate redundant parenthesis from infix expressions with * and +? what is the concept behind removal of redundant parenthesis and how to start?
0 0 votes
0 0 answers
1.1k
1.1k views
sidlewis asked Sep 2, 2018
1,125 views
Write semantic rules for the grammar below to compute the Boolean attribute A. evenx, which is true iff the sentence parsed has an even number of $x$ 's.\[\begin{array}{c...
0 0 votes
3 3 answers
2.6k
2.6k views
dixit bishwash asked Mar 28, 2018
2,638 views
Is it Possible that any SDT can be L-attributed and S-attributed both in the same question?