Cp7203 Principles of Programming Language
Cp7203 Principles of Programming Language
in
www.examquestionpaper.in
UNIT - 1
2 MARK QUESTIONS:
1. Why is it useful for a programmer to have some background in language design, even
though he or she may never actually design a programming language
2. How can knowledge of programming language characteristics benefit the whole
computing community?
3. What language was the first to support the three fundamental features of object-oriented
programming
4. What are the three fundamental features of an object-oriented programming language
5. Define Syntax and Semantics.
6. Who are language descriptions for?
7. Describe the operation of a general language generator.
8. Describe the operation of a general language recognizer.
9. What is the difference between a sentence and a sentential form?
10. What the primary use of attribute grammars?
11. Describe the two levels of uses of operational semantics.
12. On what branch of math is axiomatic semantics based?
13. What is the use of the WP function? Why it is called a predicate transformer?
14. Give the difference between total correctness and partial correctness.
www.examquestionpaper.in
www.examquestionpaper.in
15. What are the design issues for names?
16. What is an Alias
17. . What is the l value of a variable?
18. What is the r value .What is Block
19. What are the advantages of named constant?
20. What is Bottom up parsing
16 MARK QUESTIONS:
1. What are the formal methods of describing the syntax? Explain the Grammar.
2. What are the rules of EBNF. Explain in detail the advantage and disadvantage of EBNF
.Compare the BNF with EBNF
3. Explain Dynamic semantics
4. What is Parsing problem? What are the two parsing algorithms What are the
complexities of Parsing process
5. What is Lexical Analyzer .What are the approaches for building a lexical analyzer.
Implement using an example using state diagram
6. Explain Attribute Grammar
7. Explain life time .What is Referencing environment
8. Explain Semantics .What are the various methods
9. What is recursive Parsing
10. What is bottom Parsing
UNIT - 2
2 MARK QUESTIONS:
www.examquestionpaper.in
www.examquestionpaper.in
16 MARK QUESTIONS:
www.examquestionpaper.in
www.examquestionpaper.in
UNIT- 3
2 MARK QUESTIONS:
16 MARK QUESTIONS:
www.examquestionpaper.in
www.examquestionpaper.in
UNIT-4
2 MARK QUESTIONS:
16 MARK QUESTIONS:
www.examquestionpaper.in
www.examquestionpaper.in
Unit-5
2 MARK QUESTIONS:
www.examquestionpaper.in
www.examquestionpaper.in
16 MARK QUESTIONS: