SP QUESTION BANK FOR UT2
Subject: System Programming
QUESTION BANK FOR UT-2
1. Discuss different kinds of parameters in macros.
2. What is lexical & semantic expansion?Explain with example,how macro & subroutine differ?
3. Explain data flow analysis is global optimization ?
4. Explain following optimization transfomations with Ex comman sub expression elimination
5. Define program flow graph. Expalin Control flow analysis in global optimization ?
6. Discuss different kind of parameters in macros.
7. Define macro & macro expansion. What is lexical & semantic expansion?
8. What are triples,quadruples & indirect triple ? Explain
9. Explain local optimization using value no. Give limitation of local optimization ?
10. Give the aspect of compilation. Explain data types & scope rules, the PL features used to implement the aspect of compilation ?
11. What is code optimization? How it is achieved? Explain optimizing compiler & give different optimizing transformation used in code optimization.
12. Write note on netsed macro call.
13. Explain constant folding and code motion techniques.
14. Explain dead code elimination with example.
15. Explain Strength reduction with example.
16. What is value number explain it with example.
17. Consider the example below and give value numbers for every symbol
A=B+8;
C=A+D;
X=M+N;
Comments
Post a Comment