B.TECH - Semester 6 principles of programming languages Question Paper 2019 (jun)
Practice authentic previous year university questions for better exam preparation.
Sample Questions
- Differentiate between compiled and interpreted languages. Give an example for each.
- What is the role of preprocessing in language implementation?
- List the typical information contained in a stack frame.
- What are the commonly found control structures in high level languages? What among them constitutes a minimal set?
- What is meant by parameter passing? List the major types of parameter passing mechanisms.
- Suggest some limitations of logic programming languages.
- How can the side effects associated with I/O be avoided?
- Explain the scope resolution rule adopted by a typical scripting language such as Python.
- What is the use of virtual machine concept?
- What is meant by re-entrant code? Answer any one full questions from each Module.
- (a) Explain the different binding times and their implications on the design of a programming language.
- (b) What are the issues related to storage management and object life time?
- Discuss the issues related with expression evaluation, with emphasis on precedence and associativity. How are they resolved?
- Write short notes on (a) Exception handling
- Write short notes on (b) Co routines
- Write short notes on (c) Static and dynamic linking
- (a) List and describe and 4 fundamental features that support object orientation in a programming language.
- (b) Why are higher order functions not common in imperative languages.
- Bring out the innovative features found in scripting languages in comparison with high level languages, with proper examples.
- List and explain different methods of thread synchronization.