Professional Documents
Culture Documents
2 Marks Questions
2 Marks Questions
5 Marks Questions
vuzs
Q. What are the components of CFG Q. Aik question Ambiguous Grimmer ka tha.
8)The attribute of a number token contains Its type Its value Its variable \ \ u u e e 0 9)<num, 31> 0 0 is a token without attribute. 0 0 0 is a token with one attribute.
2)Compiler Construction concerns about: \ u e 0 0 0 Design of programming languages \ u e 0 0 0 Design of translator systems for language \ u e 0 0 0 Building converter for programs 3) LL1 languages: \ u e 0 0 0 are good for top down parsing \ u e 0 0 0 needs more than one token lookahead \ u e 0 0 0 work good with left recursion
3)Ambiguity Allows more than one meaning of one expression Is well suited together with predicted parsing It should not be avoided