Lowcode: Extending Smalltalk with C Types to Improve Performance
Questions
1. 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.
2. 8)The attribute of a number token
contains
Its type
Its value
Its variable
9)<num, 31>
u e 0 0 0 is a token without attribute.
u e 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