Explain fundamental of language processing.
[3 marks]Define following terms: 1) Language Migrator 2) Execution gap 3) Token 4) Handle
[4 marks]Explain with examples - expansion time variables, expansion time Statements -AIF and AGO for macro programming.
[7 marks]Apply rule to remove left recursion from following grammar. S→ A A→ Ad | Ae | aB | aC B→ bBC | f C→ g
[3 marks]Construct LL(1) parsing table for following grammar. S→ iCtSeS | iCtS | a C→ b
[4 marks]Describe following data structures: OPTAB, SYMTAB, LITTAB and POOLTAB
[7 marks]Explain and compare two variants of the intermediate code generated from multi pass assembler.
[7 marks]Compare top-down and bottom-up parser.
[3 marks]Explain inherited and synthesized attributes in detail with example.
[4 marks]Consider following assembly language program: Create equivalent machine code1
[7 marks]Compare and Contrast macro preprocessor and macro assembler.
[3 marks]Explain use and field of following tables of a macro KPDTAB, MDT, EVTAB, SSTAB
[4 marks]Consider following assembly language program: Create equivalent machine code
[7 marks]Explain DAG with example.
[3 marks]Explain design of a linker by addressing issues of relocation and linking.
[4 marks]Given a grammar, E →TA, A → +TA | ε T →VB B →*VB | ε V →id | (E) Develop an LL (1) parser table and parse following string using the parsing table. id * ( id + id) OR2
[7 marks]Discuss parameters for Activation Records
[3 marks]Explain characteristics of self-relocating programs.
[4 marks]Define Operator precedence grammar. Convert following production rules of grammar into suitable Operator precedence grammar. E → EAE | id A → - | *
[7 marks]Explain Left factoring with example.
[3 marks]List out various Code Optimization techniques used in Compiler. Explain any two techniques with suitable example.
[4 marks]Generate Quadruple, Triple, Indirect Triple for following expression: ans=a+b*c/2.0
[7 marks]Explain the terms Binding and Binding Times.
[3 marks]Explain pure and impure interpreters.
[4 marks]What is Symbol table? Explain how one can organize Symbol table using Linear Data Structure?
[7 marks]