Unit-i (2 & 3 Marks questions)



Download 14.99 Kb.
Date27.01.2017
Size14.99 Kb.
#8767
UNIT-I

(2 & 3 Marks questions)

  1. What is readability of language?

  2. Define language expressivity?

  3. What is writability of language?

  4. What is simplicity & orthogonality?

  5. Define aliasing?

  6. Define type checking?

  7. Define inheritance?

  8. What is parse tree?

  9. Define ambiguity?

  10. What is BNF& EBNF?

  11. What is PDA?

  12. What is Attribute grammar?

  13. What is grammar?

  14. What is a derivation?

  15. What is regular expression?

  16. Describe syntax tree?

  17. Difference between machine language and assembly language?

  18. Write two differences between compiler and interpreter?

  19. What is context free grammar?

  20. Define syntax and semantic?

  21. Define pure interpreter?

  22. What is Hybrid implementation?

  23. What is compiler implementation?

(5-Marks questions)

  1. What are the potential benefits of studying programming language concepts?

  2. Discuss about various programming domains and their associated languages?

  3. Briefly discuss the list of criteria for language evaluation?

  4. What are the major influences on language design?

  5. Discuss about the basic concepts of denotational semantics?

  6. Discuss the three fundamental features of an OOP language?

  7. Explain phases of compilation with diagram?

  8. Discuss about the axiomatic semantics?

  9. Explain briefly :

a) Context-free grammar b) Parsing

UNIT-II

(2 & 3 Marks questions)

  1. Define template. Give example?

  2. What is meant by static and dynamic allocation?

  3. Write two advantages of activation records?

  4. Write three features of object-oriented programming languages?

  5. Define dynamic binding?

  6. Explain type equivalence and type compatibility?

  7. Define public, private and protected members?

  8. Write the rule for conditional statements?

  9. Define constructor and destructor?

  10. Explain iteration control structure?

  11. Give example for arrays, records with syntax?

  12. Define records, unions and pointers?

  13. What is Boolean expression?

  14. Define relational expression?

  15. Define stack dynamic?

  16. Define keyword & reserword?

  17. Define static binding?

  18. What is type coercion?

  19. What is static length string?

  20. Explain string operations?

  21. Define binding?

  22. Define name type compatibility?

  23. Define scope?

  24. Define static scope?

  25. Define dynamic scope?

(5-Marks questions)

  1. What are design issues of character string types?

  2. Define a class stack and explain PUSH and POP operations?

  3. Explain the usage if activation records?

  4. Write short notes on :

a) Sequencing b) Selection c) Iteration

  1. What are “with” statements? Give an example?

  2. Explain equality testing and assignment?

  3. Describe how to construct an EBNF grammar from a syntax tree?

  4. Explain the context free grammar with example?



UNIT-III

(2 & 3 Marks questions)

  1. Explain about function?

  2. What is dynamic global variable?

  3. Distinguish between scope, life time of a variables?

  4. Explain call-by-value?

  5. Explain call-by-reference?

  6. Explain call by text?

  7. What is overloaded subprogram?

  8. What is polymorphism?

  9. What is static and dynamic scope?

  10. Define scope of the variable?

  11. What is coroutine?

  12. What is subprogram or block?

  13. What is call by result?

  14. What is call by value result?

  15. Define actual parameters?

  16. Define formal parameters?

  17. What is local variable?

  18. What is global variable?

  19. What is semantic model of parameter passing?

(5-Marks questions)

  1. What are the general characteristics of subprogram?

  2. What are the different semantic models of parameter passing?

  3. Compare the various parameter passing mechanisms?

  4. Explain design consideration for parameter passing?

  5. Explain corotines in detail?

  6. Discuss with suitable example about the class templates in c++?

  7. Discuss user defined overloaded operators?

  8. Explain with example call by value?

  9. Explain with example call by reference?

  10. Write on genetic subroutines?

  11. Discuss user defined overloaded operators?

  12. Explain overloaded subprogram with example?

  13. Explain design issues of function?

  14. Explain about generic functions?

UNIT-IV

(2 & 3 Marks questions)



  1. Define ADT?

  2. What is Smalltalk?

  3. What is concurrency in ADA?

  4. Define Monitors?

  5. Define message passing?

  6. Define Abstraction?

  7. Define encapsulation?

  8. What is exception?

  9. What is exception handling?

  10. What is semaphores?

  11. Define data structures in prolog?

  12. Differentiate between constructor and destructor?

  13. What is Functor?

(5-Marks questions)

  1. Explain about name encapsulation?

  2. Define ADT? Explain the design issues for ADT?

  3. Explain abstract data in ADA?

  4. Explain how information hiding is provided in ADA package?

  5. What type checking is done in Smalltalk when does it take place?

  6. Explain design issues of exception handling?

  7. Explain uses of logic programming?

  8. Discuss about the inheritance mechanism in ADA?

  9. Explain concurrency mechanism in Ada?

  10. Explain applications of logic programming language?

  11. Explain basic elements of prolog?

  12. What are Exceptions? Explain the exception handling and propagation mechanism in java?

  13. Define abstract data type? Explain C++ parameterized data types?

  14. Explain in detail about monitors?

  15. Discuses about exception handling in C++?

UNIT-V

(5-Marks questions)

  1. Explain data types and structures of LISP?

  2. Explain applications of functional languages?

  3. Explain LISP interpreter in detail?

  4. Discuss briefly about expressions in ML?

  5. Write a detail note on functions in ML?

  6. Explain the concept of binding in functional and imperative languages?

  7. Comparison of functional programming language with imperative programming language?

  8. Write exceptions in ML?

  9. What is type inference used in ML?

  10. Explain features of imperative languages?

  11. Explain about Python?

  12. Explain about Python modular library?

  13. Discuss various data type supported in Python?



Download 14.99 Kb.

Share with your friends:




The database is protected by copyright ©ininet.org 2024
send message

    Main page