B.Tech Programming Language – Syntax and Semantics

1) Write short notes on lexemes, language recognizers and language generators.
2) Distinguish between 2 mathematical models of a language description.
3) A concise and understandable description of a programming language is essential to language’s success. Comment on this.
4) What is BNF notation? Explain with examples.
5) Give BNF notation for identifier , for loop, while loop in C. Give the corresponding syntax graph.
6) What is grammar? What is derivation? Give program of a simple grammar? Give the derivation of the above program?
7) Explain with example how operator associativity can be incorporated in grammars.
8) What purpose do predicates serve in an attribute grammar?
9) What is the use of attribute grammar? Explain.
10) What are the differences between synthesized and inherited attributes? Explain .
11) What are the difficulties in using an attribute grammar to describe all of the syntax and static semantics of a contemporary language?
12) What do you mean by static semantics? Give examples of static rules that are difficult and impossible to describe with BNF.
13) Describe the basic concepts of denotational semantics.
14) In what way do operational semantics differ from denotational semantics.
15) Define axiomatic semantics. Comment on its applicability.
16) What is the significance of mathematical logic in the context of axiomatic semantics. Explain with examples.
17) What is the significance of denotational semantics in describing the meaning of programs. Explain with examples.

B.Tech Programming Language – Important Questions

Important Questions

1) What are the reasons of studying programming languages?
2) What are the significant characteristics of programming languages?
3) What makes a language portable?
4) Explain language evaluation criteria and characteristics that affect them?
5) Explain about Von-Neumann computer architecture?
6) Explain different aspects of the cost of a programming language?
7) Compare procedure oriented and object oriented programming. Explain the object oriented features supported by C++?
8) Explain fundamental features of object oriented programming language with examples?
9) What do you mean by imperative programming language?
10) What are the differences between special purpose and general purpose programming languages?
11) A programming language can be compiled or interpreted. Give relative advantages and disadvantages of compilation and interpretation. Give examples of compiled and interpreted languages?

error: Content is protected !!