Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

2 Marks Questions Q. In two pass assembler what is the objective of First Pass? Q. Brief note on Parser Generator Q.

What is mean by Semantic Actions?

3 Marks Questions Q. What is mean by Intermediate Code? Q. What is Relocation?

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.

Is a token with two attributes.

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

You might also like