PPL QUESTION BANK
PPL QUESTION BANK
QUESTION BANK
UNIT 1
PART A
1. Define programming language.
2. Define syntax of LISP.
3. What is the primary use of attribute grammar?
4. What is mean by parse tree?
5. Define parsing.
6. Differentiate static from dynamic semantics.
7. List the two tasks of parser.
8. Define bottom up parsing.
9. What is syntax analysis?
10. Define lexeme.
PART B
1. Describe the difference between top-down and bottom-parsers.
2. Explain the concept of lexical analysis.
3. Explain the formal methods for describing a syntax.
4. Discuss on semantics with example.
5. Explain the concept of LL parsing.
6. Describe the concept of evolution of programming languages.
UNIT 2
PART A
PART B
1. Define blocks.
2. Distinguish between actual parameters and formal parameters.
3. List the characteristics of sub programs.
4. What are the two potential problems with the static-chain method?
5. Define subprograms.
6. Mention the two types of local variables.
7. What are the design issues in functions?
8. Define closure.
9. What is overloading?
10. Differentiate shallow access from deep access.
PART B
1. What are the design issues for subprograms? How it can be solved? Analyze.
2. Explain the parameter passing methods.
3. Explain the two methods of implementing blocks.
4. Discussion on overloaded methods.
5. Explain the implementation of sub programs with example.
6. Discuss on dynamic scoping.
UNIT 4
PART A
PART B
1. Describe the design issues for object-oriented languages.
2. Explain the concept of concurrency.
3. Explain the concept of thread with example.
4. What are semaphores? Describe the actions of the wait and release operations.
5. Describe event handling with example.
6. Discuss on exception handling.
UNIT 5
PART A
PART B