Q1. What do you mean by intermediate representation (IR)? List all the desirable properties of the IR.
Q2. List out and state the four categories of the language processors.
Q3. Assume that the free list comprises of two areas say area1 and area2 of around 500 words and 200 words, correspondingly. Assume that the allocation requests for 100 words, 50 words and 400 words occur in the system. Explain how will first fit and least-fit method allocate the memory?
Q4. List out all the four tasks performed by the analysis stage of an assembler.
Q5. Define the term parsing. Illustrate the role of a parse tree?
Q6. Write down the fundamental difference between the single pass assembler and two pass assembler.
Q7. Construct a DFA which can recognize only string 0120 on the input symbols {0,1,2}.